Discord Download

AutoRouter for Pi

Turn Pi on in the AutoRouter Mac app and pick AutoRouter with /model. Each turn goes to the model that fits it, on the AI subscriptions you already pay for first. No API keys and no restart.

AutoRouter in Pi What you get once Pi is turned on.
Pick it AutoRouter, under the AutoRouter provider in /model. It starts as Pi’s default model.
Plans The Claude, ChatGPT, Grok and Gemini plans you connect in AutoRouter, used first
Models AutoRouter, which picks a model for each turn, plus AutoRouter’s other models to choose yourself
Rules Your plain-English rules decide a turn first
Cost per turn Every turn shows its model, what it cost and why
Your providers Pi’s own providers and /login sign-ins stay Pi’s. AutoRouter doesn’t read or use them.
Works in Pi 0.62 or later in any terminal, on macOS 14 or later

Last checked November 19, 2026, with Pi 1.5.2. See every supported app.

Set up Pi

Four steps on your Mac. The app writes Pi’s config, so there is nothing to paste.

In AutoRouter

  1. Install the Mac app Download AutoRouter, signed and notarized by Apple. Sign in or create a free account, then connect your plans.
  2. Turn on Pi Click Enable on Pi’s row, in setup or in Settings, under Apps.

In Pi

  1. Pick AutoRouter Run /model and choose AutoRouter. Pi reloads its models each time /model opens, so a running session sees it.
  2. Keep building New sessions start on AutoRouter. Save another default with /model any time.

What changes in Pi

One provider in Pi’s config. Turning Pi off in AutoRouter takes it out again.

One provider, nothing else

AutoRouter adds an autorouter provider to ~/.pi/agent/models.json, or the folder PI_CODING_AGENT_DIR names. Every other provider in the file stays yours. The file holds this Mac’s AutoRouter token, so AutoRouter keeps it readable only by your account.

Kept current

AutoRouter refreshes the provider as its model list changes, so new models show up in /model.

Your default comes back

The first time, AutoRouter becomes Pi’s startup model in settings.json and remembers yours. A default you save later stays yours. Turning Pi off puts your old default back.

Limits

  • Mac only, macOS 14 or later.
  • A models.json that isn’t plain JSON is left alone, and Enable says why.
  • Two Pi sessions in one terminal window, or Pi inside tmux, still route, but the menu bar can’t tell which session is in front.
  • It sometimes misjudges how hard a task is. Rate the pick, or choose a model yourself.

Questions

What people ask about AutoRouter in Pi.

Does AutoRouter work with Pi?

Yes. Turn Pi on in the AutoRouter Mac app and choose AutoRouter with /model. It works with Pi 0.62 or later, on macOS 14 or later.

How do I pick AutoRouter in Pi?

Run /model and choose AutoRouter under the AutoRouter provider. AutoRouter is also Pi’s startup model after you turn it on. Choosing another model sends turns straight to it.

Which plans can I use in Pi?

The plans you connect in AutoRouter: Claude, ChatGPT, Grok and Gemini. Free connects two subscriptions and Pro connects any number. Models no plan covers run on credits, and no subscription is needed to start.

Does AutoRouter use my Pi sign-ins?

No. Sign-ins you made with Pi’s /login stay Pi’s, and its own providers work as before. Only AutoRouter’s models go through AutoRouter.

What does AutoRouter change in my config?

It adds an autorouter provider to models.json and makes AutoRouter Pi’s startup model the first time. Turning Pi off removes the provider and puts your old default back.

Do I need to restart Pi?

No. Pi reads its models again each time /model opens.

Does it work on Windows or Linux?

Not yet. AutoRouter is a Mac app for macOS 14 or later.

What does it cost?

Routing across your plans is free. Paid models bill at the provider’s price plus 10%. See pricing.

Pick AutoRouter in Pi

Install the Mac app, turn Pi on and keep building.

Download AutoRouter for Mac