/login command/login in any project channel. Kimaki walks you through a short flow:/login │ ▼ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ provider │ ───▶ │ method │ ───▶ │ auth │ │ (anth/ │ │ (OAuth/ │ │ (modal) │ │ openai) │ │ key) │ │ │ └──────────┘ └──────────┘ └──────────┘
/login at all./login provider list. Pick it and Kimaki asks which subscription to add, then adds it to a shared pool. Log in as many times as you like, to as many providers as you like.model: subrouter/default │ ▼ anthropic/claude-opus-4-6 ──429──▶ second Claude account ──429──▶ openai/gpt-5.5 │ exhausted ──────┴──▶ xai/grok-4.6
429 honors retry-after or retry-after-ms when the provider sends one, including zero. Without a usable retry delay, the fallback is five minutes. A 402 (balance exhausted) waits six hours./model and choose subrouter/default.subrouter CLI. Kimaki does not wrap it; run it directly.123456789# everything at a glance: accounts, presets, cooldowns npx -y @subrouter/cli status # accounts and their cooldown state npx -y @subrouter/cli account list npx -y @subrouter/cli account remove anthropic <n|email> # stop waiting on cooldowns and retry everything now npx -y @subrouter/cli cooldown clear
npm i -g @subrouter/cli if you use it often.provider/model entries, and every preset shows up as a model named subrouter/<preset>.1234# try Opus first, fall back to Grok npx -y @subrouter/cli preset create fast --models 'anthropic/claude-opus-4-6,xai/grok-4.6' npx -y @subrouter/cli preset list npx -y @subrouter/cli preset remove fast
default preset ranks the newest model of every provider you are logged in to. Create a preset named default to override it. New presets appear in /model after the OpenCode server restarts.anthropic/claude-opus-4-6, hit a limit, swap to your second Claude account, keep the same model. That still works and is still the path used by plain anthropic/*, openai/*, and xai/* model ids./login, pick Subrouter, and authorize it again.kimaki multioauth commands12345678910# List all stored Anthropic + OpenAI accounts (active one marked) kimaki multioauth list # Per-provider management kimaki multioauth anthropic list kimaki multioauth anthropic remove <index-or-email> kimaki multioauth openai list kimaki multioauth openai check # test all accounts for usage limits kimaki multioauth openai remove <index-or-email>
/model — choose provider, model, and (if supported) a thinking-level variant. Store it per session, per channel, or globally./<name>-agent command. This is faster than the /model menus when you switch often./login method step and paste it. You can also set the model directly in your project's opencode.json:123{ "model": "anthropic/claude-sonnet-4-20250514" }
provider/model-name, for example openai/gpt-5.3-codex or google/gemini-3-pro-preview.