Skip to content

Multi-file implementer work on sonnet cost 53% less, and every hidden test still passed.

Implementer multi-file eval, mean cost per run and hidden tests passed
ArmModelCost/runHidden tests
0.17 implementersonnet$0.2093 / 3
0.16 multi-file triggeropus$0.4453 / 3

What it does ​

model-routing picks the agent, model and effort for each subagent dispatch that you, a repo policy or another skill (Superpowers, workflows) decided to make, so the dispatch does not inherit the expensive session model. Since 0.17 it adds no dispatches of its own. No proxy, no gateway, nothing extra in the request path.

AgentTierEffortTakes
scoutsonnetlowRead-only exploration: conclusions and file:line refs come back, file dumps stay out
surveyorhaikumediumBreadth sweeps: enumerate, list, trace a chain end to end
implementersonnetmediumOne task from a plan, multi-file work included; model=opus only for security, money, migrations, concurrency or a retry
revieweropushighFinal, whole-branch, high-risk and pre-PR review
task-reviewersonnethighPer-task reviews inside a plan loop (Superpowers SDD)
test-runnerhaikulowRun tests, builds and linters, report failures compactly
e2e-runnersonnetmediumPlaywright and E2E scenarios, failure interpretation

Filled discs show the tier: one for haiku, two for sonnet, three for opus. How the tiers and efforts were chosen.

Install ​

text
/plugin marketplace add AqueGen/model-routing

Then enable the plugin:

text
/plugin install model-routing@model-routing

Requirements and other options are on the install page.

Will it save you money? ​

It depends on how you work, and the evals measured both halves.

A subagent is not free. It starts with an empty context, so everything it reads is a cache write, while your main session pays cache read for what it already has. That bill lands whether or not this plugin is installed. What the plugin changes is the price per token.

  • You already dispatch subagents (Superpowers, workflows, any delegation-heavy practice): it saves, roughly a sixth on the one measured workload - $1.68 with the tier routed down, against $2.01 for the same subagent work repriced at your session's tier.
  • You work mostly in one session and rarely delegate: since 0.17 it adds no dispatches, so what remains is an always-on surcharge of about 588 tokens of context per session (a claude plugin details projection; the 1.9k cache-write tokens measured up to 0.20 included the SessionStart text 0.21 removed). Up to 0.16 it pushed dispatches that would not otherwise have happened, and on one workload that cost roughly a fifth.
  • Sending a multi-file task to sonnet instead of opus cost 53% less with every hidden test passing.

One workload, three runs an arm: read the direction as solid and the exact percentage as not. The full section has the table, the caveats and the token charts.

MIT License.