Docs

Methodology

Routing savings

The Routing savings section on the Router's Routing activity page estimates how much money routing saved by sending requests to cheaper models. It compares each request with the most expensive model auto considered for it that your rules allowed, and shows the saving against your own baseline model on a second line. It is an estimate, not an invoice, and usually larger than what you would really have saved. This page explains how it is worked out and what it does not claim.

Related guide: Token Meter vs OpenRouter and LiteLLM

Before you start

  • You need to be an Owner or Admin of the workspace to open Router (including Routing activity) and Router defaults. To reach Routing activity, open Router in the sidebar and click Activity (or the Savings tile).
  • Traffic must go through the router. Calls metered only by the SDK or a provider import have no routing decision to compare.
  • Requests sent to auto need no setup: the router records the priciest model auto considered for each one. If you use tiered routing, or want the second line against your own baseline, set a baseline model (steps below). Until you do, tiered requests, and auto requests with no recorded priciest model, show as unpriced.

The calculation

For each finished routed request, Token Meter takes the tokens it used and prices them twice, at the prices in force when the request ran:

  • once on the priciest model, the most expensive model auto considered for that request that your rules allowed (for a request that named a model, the model it named), and
  • once on the model that actually answered.

Every kind of token counts: input, output, cache reads, cache writes, reasoning, and any non-token units. Both prices use the request's own split of cached and uncached tokens, and your workspace's rates, so a negotiated rate wins over the list price.

Saving = priciest model cost − cost of the model that answered. A request that cost more than the model it is compared with is a negative saving. It is never rounded up to zero.

Worked example

A request sent to auto uses 1,000 input and 200 output tokens. The priciest model auto considered costs $15 per million input tokens and $75 per million output tokens: 1,000 × $15 / 1M + 200 × $75 / 1M = $0.030. The model that answered costs $1 and $5 per million: $0.002. The saving is $0.028, which is 93.3% of the priciest model's cost.

The headline, Savings, the saving against the priciest model, adds up the savings of every priced request in the window. The percentage is that total divided by what the priciest models would have cost for the same requests. Requests that ran on the model they are compared with are included with a saving of zero, so a workload that is mostly unchanged shows a small percentage. The Priciest model and served model table breaks the headline down by pair, for the requests that ran on another model or in a batch. Its % of priciest column is each pair's saving as a share of what the priciest model would have cost.

Under the headline, vs your baseline measures auto and tiered requests against the baseline model your workspace declares instead, priced the same way. A request that named a model is still measured against that model. The line covers the requests it can price that way, so its count of priced requests can differ from the headline's. With no baseline declared it says No baseline model declared instead of a number.

Prompt caching

Providers charge much less for prompt tokens they read from their cache, often a tenth of the normal price. A cache belongs to one model. When routing moves a conversation to another model, the new model starts with nothing cached and pays full price for the prompt, while the priciest model might have read most of it from its cache.

The figure does not count that lost cache. The priciest model is priced with the same cached and uncached tokens as the request that actually ran, so for conversations that routing moves between models the figure leans high. The dashboard shows this single figure and no longer shows a low end. Requests that stayed on the same model are not affected.

A conversation routing moves to Claude through /v1/chat/completions has nothing cached on Claude unless the router marks the prompt for caching. With Prompt caching on Claude turned on (Gateway › Router), its later turns read the conversation from Claude's cache, and the actual cost counts those cheaper tokens.

Worked example

A conversation is moved to a cheaper model. Its next request sends a 10,000-token prompt, none of it cached, and gets 200 output tokens. The priciest model charges $15 per million input tokens, $1.50 per million cached tokens and $75 per million output tokens. The cheaper model charges $1 and $5 per million and costs $0.011. The priciest model is priced on the same tokens, full price for the prompt: $0.165, and the page shows a saving of $0.154. Had the conversation stayed on the priciest model, it might have read the whole prompt from its cache for $0.030, a real saving of only $0.019.

What each request is compared with

  • You sent auto: the request is compared with the priciest model auto considered. The router records it when it decides. It looks at auto's candidates for that request (the live models on its ladder, the strongest live models when it took that path, and the model it picked), keeps the ones your governance rules and the request's model lists allowed, and takes the most expensive. It does not check whether that model fits the request's size, tools, vision or cost cap, so it can be a model that could not have answered this request. It ranks them by the cost per request auto expects when every candidate has one, otherwise all of them by output price.
  • You named a model (say gpt-4o): the request is compared with the model you named. If that model answered, the saving is zero. If routing sent the request elsewhere, the saving compares what you asked for with what answered.
  • A tiered policy picked the model, or the request went to auto and the router recorded no priciest model (it ran before the router recorded one, or none of the allowed candidates had a price): the request is compared with the baseline, the premium model your workspace sets under Router defaults (the Defaults link on Router › Rules). If none is set, those requests stay unpriced. They are never guessed.
  • Dated model names and their short names count as the same model (for example a -2024-07-18 version and its plain name).

The baseline also gives the vs your baseline line under the headline. The baseline list only offers models that have a capability record in your workspace. Auto routing alone does not create one, so a workspace that only sends auto must add the baseline model first. To set the baseline:

  1. Open Router › Providers, expand Advanced, and check the premium model you want to compare against is listed under Model capabilities.
  2. If it is not, click Add capability, pick it in Provider model, fill in its limits and features, and click Save capability. The router docs walk through each field.
  3. Open Router, click the Rules tab, then Defaults at the top right. Below the batch switch, find Savings measured against. If it says no model yet, go back to step 2.
  4. Pick the model from the list (entries read provider / model; Not set clears the baseline).
  5. Click Save changes. Routing savings on Routing activity now show the vs your baseline line and price tiered requests that were unpriced before.

Changing the baseline restates history

The baseline model is applied each time the figures are shown, not saved with each request. Setting or changing it updates every past figure in the window, including requests that were unpriced before. Each change is recorded in the activity log (Governance › Activity log) with the old and new value. The priciest model the router saved with an auto request does not move. Tiered requests, and auto requests with no saved priciest model, are measured against the baseline in the headline too, so for them a change moves the headline.

What counts as a saving

  • Model switch. A policy, tiering or auto sent the request to a different model than the one it is compared with. Counted.
  • Batch pricing. The router ran the request through a provider batch at the batch price. The model it is compared with is priced at the normal price. Counted.
  • No change. The model that answered is the one it is compared with. Counted with a saving of zero, so it lowers the percentage.
  • Evaluation canary. A live evaluation campaign sent the request to a candidate model. It is compared with the model the policy would otherwise have used and shown separately. Not counted: it is an experiment, not a routing choice.
  • Fallbacks. The first model failed and a fallback answered. Shown separately. Not counted: that is resilience, not a routing choice.
  • Budget downgrades. A monthly budget cap forced a cheaper model. Shown separately. Not counted as a routing saving.

Headline and estimated lines. The headline only counts requests whose baseline provider was known for certain: recorded when the request was routed, or taken from your declared baseline. Older requests, from before the provider was recorded, rely on a provider guessed from the model name. They appear on a separate estimated line and are never added to the headline.

What is excluded or unpriced

Some requests cannot be priced. They are left out of the dollar figures and never treated as free. The headline shows its coverage beside it (for example “44 of 48 priced (92%)”), the team table shows priced/total per row, and Routing activity lists the reasons under Why N decisions are not priced:

  • No baseline model is set, for a request picked by tiering, or sent to auto when the router saved no priciest model (before it started, or when none of auto's allowed candidates had a price).
  • The model it is compared with has no price in the catalog, or no price for a kind of token the request used. The common case is cache writes: a request answered by one provider is compared with another provider's model that has no cache-write price.
  • The model that answered has no price in the catalog.
  • An evaluation canary whose campaign no longer exists, so its baseline is unknown.
  • The usage was partial, for example a stream that was interrupted.
  • The usage has not settled yet.

The two counts cover different requests. The headline's coverage, and its N not priced, count only the requests in the headline. The N in Why N decisions are not priced counts every routed request in the window without a saving against the priciest model, including fallbacks, budget downgrades, evaluation canaries and the estimated line. So it can be larger.

Not counted at all: the router's own background calls (its classifier, guardrails and judges), answers served from a cache (no provider spend, so no model price to compare), and requests that failed or were refused.

Quality evidence

A cheaper model is only a saving if it did the job. Beside the figure, the page compares the success rate of requests where routing changed the model with requests left on the model asked for. It uses the outcomes you report against routed requests. A request counts as successful when every success outcome linked to it is true.

Both groups are defined against your declared baseline, not the priciest model (a request that named a model is grouped against that model). An auto or tiered request is in a group only when it is priced against your baseline. With no baseline declared, auto and tiered requests are in neither group, so a workspace that only sends auto sees no quality evidence even while the headline shows a saving.

The page always shows what share of requests carry any outcome. Below 30 labelled switched requests, it says the saving is unproven. The two groups are not like for like: routing sends easier work to cheaper models, so the switched group is expected to succeed more often even if the cheaper model is worse. Only a controlled comparison, such as an evaluation campaign, shows whether a cheaper model is as good.

What this does not claim

This is an estimate of something that did not happen

Nobody sent these requests to the priciest model, so its cost is worked out, not observed. The figure assumes it would have used the same tokens. It is usually larger than what you would really have saved. It compares with the most expensive option, and you might have run a cheaper model anyway. It also leaves out the prompt cache a moved conversation loses. The vs your baseline line measures against the model you picked as your baseline instead.
  • Agent traffic, such as Claude Code, can be badly overstated. On a cheaper model an agent often takes more steps and uses more tokens to finish the same task than the priciest model would have. The figure prices the priciest model on those extra tokens too, so it counts them as money saved. This is a known limitation, seen in our own replays of agent benchmarks.
  • It does not count the prompt cache a conversation loses when routing moves it to another model, so it leans high for those conversations.
  • It does not measure output quality. The quality evidence above is the only check, and it is often sparse.
  • It prices at your current catalog and negotiated rates. A rate correction changes past figures.
  • It is not an invoice and does not match provider billing. Metered spend and provider-billed spend are kept separate.
  • Requests that auto ran on Token Meter's provider keys are priced at catalog rates, as if they ran on your own key. They are not charged to your provider account, so their saving is a comparison, not money off your provider bill.
  • It leaves out the optional token savers (concise-output instruction, log compression, Recall). Those are reported separately, in tokens, because their dollar effect depends on prompt caching. The concise-output instruction adds input tokens to every request; that cost is shown, but its benefit is not measured.
  • Team breakdowns group teams with fewer than 5 attributed people into “Other (small teams)”, so a figure cannot identify one person. A team with no member attribution is grouped the same way.

Where the numbers come from

The figures come from metered usage and the price catalog, over whole UTC days. The selected window ends today. Each request's prices are worked out once and reused only while its usage, the baseline and the price catalog are unchanged. So a corrected price or a newly set baseline shows up right away. Usage that has not settled yet stays unpriced until it does.

The formal definition is also on the metric definitions page in the dashboard (you need to be signed in).