What a published router chart actually measures
A vendor router chart plots one point per router, with quality on one axis and cost on the other. Before reading the position of the point, read the definitions. OpenRouter's router benchmarks page is a concrete example because it states them: the quality score is accuracy relative to the best router on each benchmark, on a 0–10 scale, averaged across benchmarks, and a single-model baseline that beats every router is capped at 10. Cost is the recorded cost per evaluated task, on a log scale.1
That is a relative, averaged score on the publisher's tasks. The page lists coding, agentic and multimodal benchmarks (Deep SWE, SWE Atlas QA, Terminal Bench 4.0, Tau3 Banking, MMMU Pro Vision).1 If your traffic is support replies, extraction or summarisation, none of those tasks resemble it, and a score of 9 out of 10 tells you nothing about your pass rate.
A note on scope: this article does not quote any Not Diamond figure, because those pages were not read for it. The checks below apply to any vendor's quality-versus-cost chart, and OpenRouter's is used because its definitions are public.
What the published numbers leave out
Reading the OpenRouter page against its own tables shows the kinds of gaps to look for in any router chart.
- Which model answered. The page says it lists route and baseline models only, and that router model choices are unavailable.1 You see the router's score but not its mix, so you cannot tell whether it won by sending easy tasks to a small model or by calling a top model on most of them.
- Uneven coverage. The benchmark matrix shows dashes where a row was not run on a benchmark.1 An average over different benchmark subsets is not comparable between rows. Check the number of cells behind every point.
- Failed runs. Some rows are flagged "Failed" in the results table, and one shows a cost of $0.000 beside a 76.5% quality figure.1 A zero cost on a scored row is a reporting artefact, not a free model.
- Overhead. Routers run a decision step. OpenRouter's Auto Router has a fast decision model rate each request before the pick.2 The overview says routers add no routing fee and you pay the serving model's price, but judge-backed Switchyard requests also bill a separate judge call.3 Whether a chart's cost per task includes such calls is something to confirm with the publisher, not assume.
- Your rates. A chart prices tokens at some rate. Your contract may differ, and the ranking between a large and small model can move with it.
- Drift. The latest run on the page is dated Nov 29, 2026, and the overview says runs repeat periodically.3 A router's pool and policy change; a chart is a snapshot.
The baseline decides the cost story
The same router can look like a large cost reduction or none, depending on the fixed model it is compared with. Here are four rows from the Deep SWE results on OpenRouter's page.1
| Row | Quality | Cost per task |
|---|---|---|
| Auto Code (router) | 74.3% | $1.98 |
| Pareto (router) | 74.3% | $0.19 |
| GPT-6.1-Sol (medium), fixed | 72.6% | $0.30 |
| Claude Opus 5.5, fixed | 70.5% | $7.76 |
Against the Opus row, Auto Code's cost per task is about a quarter. Against the GPT-6.1-Sol (medium) row, it is higher for a 1.7-point quality gain. Nothing about the router changed; the baseline did. The same pattern shows in the averaged frontier: Auto (Medium tier) is listed at 9.3 for $0.58 per task, while Kimi K3.1 Pro (high) is listed at 9.6 for $0.50.1 On those figures a single model sits at or above the router on both axes, with the caveat about uneven coverage above.
For a router that is built to pick by benchmark score, the selection logic is also public. The Pareto Router picks a coding model by FrontierCode-AA 2.0 score, groups the shortlist into three tiers, and takes the cheapest available model in your chosen tier.4 That is a deterministic, inspectable policy. If your tasks are not coding, its score is the wrong signal for them.
Rebuild the claim on your own prompts
The check has five steps. Each answers one thing the chart cannot.
- Build a prompt set from real traffic. Sample logged requests across features and difficulty, not just the common case. Keep the long, odd and high-risk ones. INFRO datasets can be built from logged requests, uploaded as JSONL or CSV, or sent from code, up to 10,000 items per dataset; only requests whose prompt was logged can be added.5
- Define pass or fail per task type before running anything. A schema check, an exact match, a test, or a rubric-based judge. Calibrate a judge against human labels first (see the linked post on calibrating graders).
- Pick the baselines. At least two: the model you run today, and the lowest-priced model you believe could pass. Pin snapshots so the baseline does not move mid-test.
- Replay every prompt through every arm. Same prompts, same parameters, same grader. For the router arm, record the model that answered each prompt. OpenRouter's response carries a
modelfield, and theX-OpenRouter-Metadata: enabledheader addsopenrouter_metadatawith the strategy, the attempt number and the candidates considered.6 - Record cost per call from the usage the provider reports, then price it at your own rates, not list rates.
If the router sits behind a gateway you control, each request's model and estimated provider cost are already in the request log. If not, write them to your own table.
{"prompt_id":"p-0142","arm":"router","served_model":"<from response.model>","passed":true,"input_tokens":1840,"output_tokens":412,"overhead_cost":0.0007,"cost":0.0123}
{"prompt_id":"p-0142","arm":"baseline","served_model":"<pinned model>","passed":true,"input_tokens":1840,"output_tokens":455,"overhead_cost":0.0,"cost":0.0191}Compute the cost reduction against a fixed baseline
Use cost per successful task, not cost per request. A route that fails more often and is retried or escalated costs more per success even when each call is small.
cost_per_success(arm) = sum(cost + overhead_cost over all prompts) / count(passed)
cost_reduction = 1 - cost_per_success(router) / cost_per_success(baseline)
quality_delta (points) = pass_rate(router) - pass_rate(baseline)Include in cost every call the arm made for a prompt: retries, escalations to a stronger model, and any judge or decision call. Then bootstrap over prompts, pairing the arms, to get an interval for both numbers.
import random
def paired_bootstrap(base, router, n=5000, seed=7):
# base, router: lists of dicts {"ok": 0/1, "cost": float}, same prompt order
rng = random.Random(seed)
idx = range(len(base))
q, c = [], []
for _ in range(n):
s = [rng.choice(idx) for _ in idx]
b_ok = sum(base[i]["ok"] for i in s)
r_ok = sum(router[i]["ok"] for i in s)
b_cost = sum(base[i]["cost"] for i in s)
r_cost = sum(router[i]["cost"] for i in s)
if b_ok == 0 or r_ok == 0:
continue
q.append((r_ok - b_ok) / len(s))
c.append(1 - (r_cost / r_ok) / (b_cost / b_ok))
q.sort(); c.sort()
lo, hi = int(0.025 * len(q)), int(0.975 * len(q))
return (q[lo], q[hi]), (c[lo], c[hi])Decide from the result, not the chart
Three outcomes are common.
- Router clears the quality floor on your prompts and costs less per success than your pinned baseline. Adopt it for that workload, with a cap on the pool and logging of the answering model. Re-run when the router's policy or the models in its pool change.
- Router matches a fixed lower-priced model. The router adds a moving part for no gain. Pin the model.
- Router is worse on one task type. Split the traffic: send that type to a fixed route and let the router handle the rest. The earlier posts on quality-aware routing and on when to let a router choose cover the eligibility rules and logging.
Re-run the replay on a schedule or when the vendor announces a change; a router's choices can shift without any change to your code.
Running the replay on INFRO
INFRO's experiments run a dataset through up to six variants (a model, an alias or a route, a prompt version, settings), judge each answer with your evaluators, and compare the results. A dry run first shows the request count and estimated provider cost per variant and in total, and a started experiment stops at the spend cap you set.7 Every call goes through the gateway on your own provider accounts, so it is priced at the rates you entered rather than list rates. INFRO does not rank models by price: its legacy routing.policy values such as cheapest have no effect, and you pick targets through named routes.8 To test a router that lives outside INFRO, export the dataset and replay it yourself with the script above.
