Download

Auto for OpenCode

Turn OpenCode on in the Auto Mac app and pick Auto in OpenCode’s model picker. Each turn goes to the model that fits it, on the AI subscriptions you already pay for first. No API keys.

Auto in OpenCode What you get once OpenCode is turned on.
Pick it Auto, under the Auto provider in /models. It starts as OpenCode’s default model.
Plans The Claude, ChatGPT, Grok and Gemini plans you connect in Auto, used first
Models Auto, which picks a model for each turn, plus Auto’s other models to choose yourself. Images attach as they do today.
Rules Your plain-English rules decide a turn first
Cost per turn Every turn shows its model, what it cost and why
Your providers OpenCode’s own providers, sign-ins and models keep working beside Auto
Works in The OpenCode CLI (1.x and 2.x) and OpenCode Desktop, on macOS 14 or later

Last checked November 19, 2026, with OpenCode 1.19.5, 2.3.0 and OpenCode Desktop 2.2.7. See every supported app.

Set up OpenCode

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

In Auto

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

In OpenCode

  1. Pick Auto Start a new session, run /models and choose Auto. Or start with opencode -m autorouter/autorouter.
  2. Keep building OpenCode 2.x picks up the change on its own. Restart OpenCode 1.x or OpenCode Desktop once.

What changes in OpenCode

One provider in OpenCode’s config. Turning OpenCode off in Auto takes it out again.

One provider, nothing else

Auto adds an autorouter provider to ~/.config/opencode/opencode.json and lists Auto first among its models. The rest of the file stays yours. A config kept in a dotfiles folder is written through its link.

No key in your config

The provider names a key file that only your Mac account can read, so a config you share or commit holds no secret.

Your default comes back

The first time, Auto becomes OpenCode’s default model and remembers the one it replaced. A default you pick later stays yours. Turning OpenCode off, signing out or uninstalling puts your old default back.

Limits

  • Mac only, macOS 14 or later.
  • An opencode.json with comments can’t be edited safely, so Auto leaves it alone and Settings says why.
  • It sometimes misjudges how hard a task is. Rate the pick, or choose a model yourself.

Questions

What people ask about Auto in OpenCode.

Does Auto work with OpenCode?

Yes. Turn OpenCode on in the Auto Mac app and choose Auto 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 Auto under the Auto provider, or start OpenCode with -m autorouter/autorouter. Auto 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 Auto: 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. Auto adds one provider. OpenCode’s own providers, sign-ins and models work as before, and only Auto’s models go through Auto.

What does Auto change in my config?

It adds an autorouter provider to opencode.json and makes Auto 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. Auto 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 OpenCode

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

Download Auto for Mac