opencode-model-router
Route OpenCode tasks to cheaper or stronger model tiers
What it is
Delegates each task to a fast, medium or heavy tier so simple work uses a cheaper model. The fast tier is read-only, limited to reads, greps and safe git inspection.
Good for
- Cut cost on simple tasks
- Send hard tasks to a stronger model
Install or run
npm install -g opencode-model-routerCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
OpenCode and configured models for each tier
Worth knowingGPL-3.0 licensed; it adds a few thousand characters to the system prompt.
Sources
- https://github.com/marco-jardim/opencode-model-router (project README, read 13 Nov 2026)
- https://api.github.com/repos/marco-jardim/opencode-model-router (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.