Does AutoRouter work with OpenCode?
Yes. Turn OpenCode on in the AutoRouter Mac app and choose
AutoRouter in /models. It works in the OpenCode
CLI, 1.x and 2.x, and in OpenCode Desktop, on macOS 14 or
later.
How do I pick AutoRouter in OpenCode?
Run /models and choose AutoRouter under the
AutoRouter provider, or start OpenCode with
-m autorouter/autorouter. AutoRouter is also
OpenCode’s default model after you turn it on. Choosing
another model sends turns straight to it.
Which plans can I use in OpenCode?
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.
Do my other OpenCode providers still work?
Yes. AutoRouter adds one provider. OpenCode’s own providers,
sign-ins and models work as before, and only AutoRouter’s
models go through AutoRouter.
What does AutoRouter change in my config?
It adds an autorouter provider to
opencode.json and makes AutoRouter the default
model the first time. Turning OpenCode off removes the
provider and puts your old default back.
Do I need to restart OpenCode?
Not on OpenCode 2.x, which reloads its config when it
changes. OpenCode 1.x and OpenCode Desktop read it when they
start, so restart them once.
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.