No shell changes
Auto writes to each CLI’s settings file, not to your shell profile, and runs no local proxy. So a CLI routes the same in every terminal app and every window.
Coding agents in your terminal route the same way as their apps. Turn each one on in the Auto Mac app and pick Auto in its model picker. Nothing to export and no API keys.
~/api ❯ claude
| Auto in Terminal How to pick AutoRouter in each CLI it works with. | |
|---|---|
| Claude Code |
/model, or
claude --model auto-claude-route.
Setup
|
| Codex CLI |
/model, or codex -m autorouter.
Setup
|
| OpenCode |
/models, or
opencode -m autorouter/autorouter.
Setup
|
| Pi |
/model, with no restart.
Setup
|
| Plans | The Claude, ChatGPT, Grok and Gemini plans you connect in Auto, used first |
| Cost per turn | Every turn shows its model, what it cost and why |
| Terminals | Terminal, iTerm2, Ghostty or any other, on macOS 14 or later |
Last updated November 20, 2026. See every supported app.
Four steps on your Mac. The app writes each CLI’s own settings, so there is nothing to paste.
Each CLI’s own settings file. Turning a CLI off in Auto puts its file back.
Auto writes to each CLI’s settings file, not to your shell profile, and runs no local proxy. So a CLI routes the same in every terminal app and every window.
~/.claude/settings.json~/.codex/config.toml, shared with the
Codex app
~/.config/opencode/opencode.json
~/.pi/agent/models.jsonThe first time, Auto becomes each CLI’s default model and remembers the one it replaced. A model you pick later stays yours. Turning a CLI off puts your old default back.
What people ask about Auto in the terminal.
Claude Code, the Codex CLI, OpenCode and Pi. Turn each on in the Auto Mac app and pick AutoRouter in its model picker.
Any of them, including Terminal, iTerm2 and Ghostty. Each CLI reads Auto from its own settings file, so the terminal it runs in doesn’t matter.
No. Auto writes each CLI’s settings file for you and adds nothing to your shell profile, so there is nothing to export or paste.
The plans you connect in Auto: Claude, ChatGPT, Grok and Gemini. Claude Code and Codex also keep their own sign-ins. Free connects two subscriptions and Pro connects any number. Models no plan covers run on credits.
No. Both read ~/.codex/config.toml, so turning
Codex on in Auto covers the app and the CLI.
Start a new session after you turn a CLI on. OpenCode 2.x reloads on its own, and Pi needs no restart.
Not yet. Auto is a Mac app for macOS 14 or later.
Routing across your plans is free. Paid models bill at the provider’s price plus 10%. See pricing.
Three steps to get started.
How did you hear about us?
It runs on macOS today. Leave your email and we’ll tell you when Windows is ready.