Canonical: https://weaveos.com/router/benchmarks/methodology

[Results](https://weaveos.com/router/benchmarks) [Router Index](https://weaveos.com/router/benchmarks/router-index) [Weave Test](https://weaveos.com/router/benchmarks/weave-test) [Methodology](https://weaveos.com/router/benchmarks/methodology) [Changelog](https://weaveos.com/router/benchmarks/changelog)

Methodology

# How Weave measures router performance

Every Weave benchmark claim names its client, tasks, attempts, cost and source. Here is exactly how those numbers are produced.

[Try Weave Router free](https://weaveos.com/router/quickstart) [See all results](https://weaveos.com/router/benchmarks)

## Key takeaways

- Weave reports Pass\@1, the strictest common coding metric, and cost per solved task, the number that matches your bill.
- Claude Code and Codex results are always reported separately.
- Costs use API list prices from router telemetry, including cached tokens.
- Every result has a run ID, and the harness is public so anyone can rerun it.

## The two numbers that matter

### Pass\@1: did it solve the task on the first try?

Each Terminal-Bench 4.0 task ships with hidden tests. An attempt passes only if every test passes. Pass\@1 is the share of attempts that pass. Weave runs each task twice per client and reports the average across both attempts, so one lucky run cannot inflate the score.

Some vendors report Pass\@2 or Pass\@5, which count a task as solved if any attempt passes. Those numbers are always higher. Weave labels every metric and never compares a Pass\@2 number against a Pass\@1 number.

### Cost per solved task: what does a success cost?

Cost per attempt looks cheap when a router picks weak models, because failed attempts are cheap too. Cost per solved task divides cost per attempt by Pass\@1, so failures count against the router.

Here is the arithmetic for Weave Router in Codex on Terminal-Bench 4.0: $0.94 per attempt at 42.4% Pass\@1 is $2.21 per solved task. Ramp Router costs $1.09 per attempt in Vals’ rows, but at 32.3% Pass\@1 that becomes $3.37 per solved task.

## Why the client matters

Claude Code and Codex send different system prompts, expose different tools and manage context differently. A router sees different traffic in each, so it makes different choices and produces different results.

That is why Weave publishes both. In Claude Code, Weave Router solved 54.5% of Terminal-Bench 4.0 tasks at $9.74 per solved task. In Codex, it solved 42.4% at $2.21. Pick the row that matches your team’s client.

Vals ran its six routers in its own harness. Weave’s comparison places Weave’s Claude Code score and Codex cost next to Vals’ rows on the same 66 tasks, and labels the different harness every time.

## Rules every benchmark page follows

- Harness

  Claude Code and Codex are reported separately and never blended.

- Task set

  Benchmark name, task count and grader sit beside every score.

- Attempts

  Pass\@1 and Pass\@2 are labeled and never swapped.

- Cost

  API list price from router telemetry. Cost per solved task is cost per trial divided by Pass\@1.

- Uncertainty

  Wilson 95% intervals are shown when a run publishes them.

- Comparability

  Paired comparisons are called paired. Others name the differences.

## Who ran the test

Every row is labeled by who produced it.

- Independent

  An outside evaluator ran the router.

- Academic

  A university or open benchmark with verified submissions.

- Operator-run

  The router's operator published its own run.

- Vendor-run

  A vendor evaluated its own router against others.

- Weave-run

  Weave's own runs, always labeled.

Provenance is the first thing to check on any benchmark. A vendor that picks its own tasks and runs its own product can make almost any router look good. Weave labels its own rows as Weave-run and publishes the harness so the result can be checked.

## Sources

- [Vals AI Router Index ↗](https://www.vals.ai/benchmarks/vals_router_index)Independent · read 2026-11-03
- [OpenRouter model routing benchmarks ↗](https://openrouter.ai/benchmarks/routers)Operator-run · read 2026-11-21
- [AIMultiple LLM Router Benchmark ↗](https://aimultiple.com/llm-router)Independent · read 2026-11-26
- [AutoBench Router Benchmark ↗](https://huggingface.co/blog/PeterKruger/router-benchmark-2026-10)Academic · read 2026-10-26
- [RouterArena ↗](https://github.com/RouteWorks/RouterArena)Academic · read 2026-11-27
- [Baseten Router evaluation ↗](https://www.baseten.co/blog/introducing-baseten-router/)Vendor-run · read 2026-11-04

Weave's own runs come from the public router repository. [Inspect the harness ↗](https://github.com/weave-os/router/tree/main/bench)

## Questions

How does Weave calculate cost per solved task?

Cost per solved task is the average cost of one attempt divided by Pass\@1. Cost is the API list price of every input, cached and output token the router served, taken from router telemetry. On Terminal-Bench 4.0 in Codex, Weave Router averaged $0.937 per attempt at 42.4% Pass\@1, which is $2.21 per solved task.

What is Pass\@1 and why does Weave lead with it?

Pass\@1 is the share of attempts that pass on the first try. It is the strictest common coding metric, because a retry cannot hide a failure. Vals reports routers on Pass\@1, so Weave uses the same metric for its comparison.

Why are Claude Code and Codex reported separately?

The client changes the prompts, tools and context the router sees, so the same router scores and costs differently in each. Weave Router solved 54.5% of Terminal-Bench 4.0 tasks in Claude Code and 42.4% in Codex, at $9.74 and $2.21 per solved task. Blending them would describe neither.

Where does the 40% savings figure come from?

40% is the average token-spend savings Weave reports for teams that route through Weave Router. Benchmark pages use cost per solved task, which anyone can reproduce from the public harness.

Can I reproduce Weave's results?

Yes. The task manifests, graders and reporting code are in the public Weave router repository, and every result lists its run ID and router build.
