← All articles

When a coding agent's model picker is enough

Compare a fixed model, native Auto and a separate router. Test cache cost, retries and task success in the coding clients your team uses.

By Sammy TouraniGTM Engineer at Weave
Published Read Time: 6 min
On this page

A model picker can be enough when your team uses one coding client, the same default model works across most of its tasks, and engineers can switch when the work gets hard. Consider a separate router when model choice needs to happen inside a run or when you need a common routing policy across several clients. Compare it with the manual choice or automatic mode the team actually uses today.

Some clients already make this decision automatically. Cursor Auto can route requests in supported modes, for example. Weave Router takes a similar decision outside the client so compatible tools such as Claude Code and Codex CLI can use it. Both the client's own Auto mode and the separate router belong in a test if each is a real option for your team. Cursor's routing guide · Weave Router for Claude Code · Weave Router for Codex CLI

Follow one task through the decision

Say an agent is debugging an integration test. It reads a log, inspects the test fixture, traces a breaking change and patches the code. The first two steps might be routine. The third is why an engineer chose a stronger model in the first place. A model picker lets the engineer make that call. In automatic routing, the decision can happen on an upstream request while the task is running.

Switching has a cost. If the new model cannot use the previous model's prompt cache, it may have to read the accumulated context at a fresh-input or cache-write rate. A cheaper model can make that request more expensive. Compare a deliberate switch after a failure with the cost of keeping the current context warm. Weave Router's session report records input, output, cache creation and cache reads, along with the configured comparison cost. Weave Router reporting · Weave's cache-read analysis

Scroll horizontally if needed →

What you have todayCheapest test to run firstWhat would justify a separate router
Claude Code or Codex CLI with a default modelKeep the usual default and let engineers use the normal overrideBetter cost or completion on your task mix after retries and cache cost
Cursor with eligible native AutoCompare your normal Auto mode with a named model in that clientControl or visibility the native option doesn't provide in your setup
Several compatible coding clientsRecord the baseline and paying account separately for each clientA common model or provider policy with measurable results in each client

What the paired benchmark shows

Weave published paired tests of Weave Router 2.0 and a fixed GPT-6 Astra setup in the same Codex harness. The tests used the same tasks within each benchmark and allowed two attempts.

On Terminal-Bench 4.0 (66 tasks), Router solved 62.1% at $5.22 per trial. Astra solved 60.6% at $10.03. On SWE-Atlas Codebase QnA (124 tasks), Router solved 62.1% at $2.31 per trial. Astra solved 66.1% at $5.04. Router solved one more terminal task and five fewer codebase questions within two attempts. Weave's paired coding-agent evaluations

What changed with routing?

Same Codex harness. Solve rates count tasks passed within two attempts.

Terminal-Bench 4.0

66 tasks

Weave Router

Tasks solved
62.1%
Cost per trial
$5.22

GPT-6 Astra

Tasks solved
60.6%
Cost per trial
$10.03

SWE-Atlas Codebase QnA

124 tasks

Weave Router

Tasks solved
62.1%
Cost per trial
$2.31

GPT-6 Astra

Tasks solved
66.1%
Cost per trial
$5.04
Cost per trial uses Router catalog billing for Weave Router and direct vendor list price for GPT-6 Astra. Paired evaluation and methodology.

Bring the codebase result to the buying discussion. Lower cost can be a good trade on work where a human can quickly catch and fix a missed answer. It can be the wrong trade for a task where a miss creates expensive follow-up. These comparisons used a fixed model baseline. To answer whether you should switch, compare against your own team's native mode where available.

Run the test in the client you already use

Choose comparable work in each bucket you care about. Use recently completed tasks when you can strip out the answer and keep the original acceptance check. Preserve the client version, repository snapshot, available tools and time limit. Compare results separately by task class and client so a fast run on simple work doesn't hide repeated failures on a hard class.

  • Use the current workflow as the baseline. Allow the same manual override engineers actually use. Record who switched, when, and what happened next.
  • Track the outcome for every assignment. Record whether it passed, whether a person had to rescue it, how long it took, and what both successful and failed attempts cost. Report cost per accepted assignment alongside pass rate and human time.
  • Track two views of money. Use request costs to understand what routing changed. Use the actual bills to see whether it reduced what you pay. A session routed away from an included seat allowance can add spend even if the routed API rate looks low.

Weave reports 40% average token-spend savings with Router. A platform team can check its own result through the user, session and model-pair drill-down. The comparison value prices observed work under a reference model. The controlled pilot measures what happens when the whole task runs in each setup. Published Weave Router results · Router cost reporting

Keep the existing picker where it meets the team's needs. Expand routing for the clients and task classes where it reduces the cost of accepted work and preserves the outcomes you need. Run Weave Router in a pilot

Route your coding work with Weave

Route coding requests in Claude Code, Codex and other supported tools.

Try Weave Router