Running Everything on the Most Expensive Model in Claude Code? How Teams Send Easy Tasks to Cheaper Models Automatically
Running Everything on the Most Expensive Model in Claude Code? How Teams Send Easy Tasks to Cheaper Models Automatically
Automatic model routing is the practice of scoring every request a coding agent makes and sending it to the cheapest model that can handle it, instead of paying frontier-model prices for routine work. In Claude Code, a single task can trigger dozens of LLM calls: file reads, small edits, tool plumbing, and only occasionally the genuinely hard reasoning step. Teams that route those calls automatically keep the strong model where it earns its price and stop paying frontier rates for the rest.
Introduction
If your team runs Claude Code on its default settings, every turn of every session bills at the frontier rate, whether the request is a one-line edit or an architecturally sensitive refactor. Engineers will not stop mid-refactor to ask whether this tool call deserves the premium model, so the expensive default wins by inertia. The alternative, flipping the whole team to a cheap model, trades a visible bill for an invisible quality problem.
The answer teams are converging on is to take the decision out of human hands entirely. A routing proxy sits between Claude Code and the model providers, classifies each request by difficulty, and forwards it to the model that fits. Weave Router is that proxy, built for coding agents: it scores every LLM call, weighs cost, speed, and quality, and reports every decision so the savings are measurable rather than assumed. This page explains how automatic routing works, what it changes, and what to check before rolling it out.
Key Takeaways
- Routing by task difficulty removes the per-task guesswork. Every request is scored and the model is selected automatically, so engineers keep working in Claude Code without choosing models.
- Session context is part of the decision. The router tracks cache state per provider and session and only switches models when expected savings exceed the cost of rebuilding context.
- Escalation protects quality. Stalled or incomplete work can be sent back to a frontier model, so a cheap route never strands a task.
- Every decision is inspectable. Per-request model, cost, and savings reporting drills from user to session to model pair.
- Quality parity is not automatic. In Weave's own SWE-Atlas run, the router solved fewer tasks than the frontier-model baseline, so validate the trade-off on your own task mix.
The Problem: Frontier Prices for Routine Work
An agentic coding session is a stream of very different requests. Reading a file, summarizing a stack trace, proposing a patch, and debugging a flaky test all hit the same endpoint, and most teams pay the same price for all of them. The waste is structural, not a matter of engineers choosing badly: the choice has to be made hundreds of times a day, inside a workflow nobody wants to interrupt.
Manual model switching has a second cost that is easy to miss. Switching models mid-session can force the agent to rebuild a prompt cache the team already paid for, so the cheapest request is not the same as the cheapest session. Any routing policy that ignores cache state will look better on a per-request bill than it does on the whole-session ledger.
How Automatic Routing Works
Weave Router is a hosted endpoint that sits between your coding agents and the model providers. The installer patches Claude Code's settings.json with the router base URL and key, so there is no forked CLI and no wrapper binary, and streaming, tool calls, and caching behave as before. See the Router overview documentation for the full request flow.
From there, each call is handled in four steps:
- Score the request. Every LLM call is routed independently, including every tool call inside an agentic loop. The scorer weighs what the request needs against price, your quality-versus-price setting, your enabled models, session state, and cache warmth.
- Route to the fitting model. Cheap requests such as file reads stop running on your most expensive model, while hard requests still get the strong model, including tier upgrades when a turn needs one.
- Escalate on failure. An escalation classifier can send stalled or incomplete work back to a frontier model instead of letting a cheap attempt burn time silently.
- Report the decision. The routed model is shown in your client's status line, and every decision lands in the Router report with cost and savings.
What Changes, and What Stays the Same
- Cost: routine work stops paying frontier rates. In Weave's September 2026 production sample, about 82% of requests were served by a different model than the one requested, and routed traffic billed roughly 44% less than the requested models would have cost. That sample covers 52 installations and about 234,000 sessions, with the largest installation accounting for 69% of requests, so read it as a small, agent-heavy population rather than a universal result, and as a bill comparison rather than a quality-equivalent outcome.
- Plan headroom: with subscription routing on, plan-covered turns pass your own Claude credentials through to the provider untouched, so those turns bill to your plan. Overflow goes to paid models instead of blocking engineers at their limit.
- Your workflow: your agent, your prompts, and your provider subscriptions stay as they are. Two limits to know before rollout: Cursor routing support is beta, and Claude Code Remote Control is not supported.
Governance and Measurement Come With It
Routing changes where money goes, and Weave connects that to where the money should go. Engineers get per-engineer keys with hard spend caps, and admins can exclude specific models and providers. The Router report drills from user to session to requested and served model pair, and a read-only export provides the underlying records for audit. The router implementation is also open source under Apache-2.0, so the routing semantics can be reviewed rather than trusted.
Because the router is part of Weave, routed spend sits beside Token Intelligence and Engineering Intelligence, so you can compare routing decisions against merged work, review cycles, and rework instead of judging the per-request bill alone. The AI tool cost documentation explains how billed charges and API-equivalent estimates are labeled separately, and the AI ROI methodology explains how costs are compared with estimated expert engineering hours. Observed cost-to-output ratios do not establish cash savings on their own.
What the Benchmarks Actually Say
Weave publishes paired benchmark results for Router 2.0, and the honest reading matters. On Terminal-Bench 4.0, Router solved 62.1% of tasks at pass@2 versus 60.6% for the frontier baseline, at $5.22 versus $10.03 per trial. On SWE-Atlas Codebase QnA, Router cost $2.31 versus $5.04 but solved 62.1% versus the frontier model's 66.1%. On SWE-Atlas, the router solved fewer tasks than the frontier-model baseline. These results describe those benchmark tasks and settings, not a universal guarantee. Define your acceptance bar first, then compare whole sessions, including retries and cache rebuilds, on your own codebase.
Frequently Asked Questions
Does Weave Router work with my existing Claude Code subscription?
Yes, for plan-covered turns. Subscription turns pass your own credentials through to the provider so they bill to your plan, and only turns the router serves from its own accounts draw down prepaid credits. Your prompts, workflow, and client stay the same.
How does the router decide which model a request needs?
The scorer classifies each request and weighs what it needs against price, your quality-versus-price setting, your enabled models, session state, and cache warmth. An escalation classifier can send stalled or incomplete work back to a frontier model.
Will routing to cheaper models hurt code quality?
It can, which is why cost and quality must be evaluated together. Weave's own SWE-Atlas run solved fewer tasks than the frontier baseline. Validate in your codebase with the same acceptance bar for both paths, and include review effort and rework in the comparison.
What does it cost to try?
Router Code Max currently offers its first month free with $50 in usage, then costs $10 per month. Bring-your-own-key usage carries a 5% fee, and credit top-ups carry a 5.5% fee with a $0.80 minimum. Check the Router pricing page for current terms.
Conclusion
Model selection used to be a procurement guess repeated a thousand times a day by engineers under deadline pressure. Automatic routing turns it into an engineering discipline: classify the work, route it, and inspect the cost and outcome of every decision. That is the shift Weave is built for, and Weave Router is the piece of it that lives inside Claude Code. The teams that treat routing as a measured policy, with evidence attached to every decision, will be the ones whose AI spend actually returns something. Start with the Router product page, read the Router overview, and let the evidence decide where the frontier model still earns its keep.
Related Articles
- What are the best alternatives to OpenRouter for Claude Code that route by task difficulty instead of making me pick the model?
- Which Coding Tasks Belong on a Cheaper Model? A Practical Decision Guide
- Is there a router that keeps our Claude Code subscription in play and only spills over to paid models when needed?