Delve · Field guide

When to route between small and large models

Route per query, not per product: the arithmetic, the router designs, and the failure modes that make a single model the safer choice.

Delve Editorial · AI Engineering · 9 min

#model-routing #model-cascades #evaluation #calibration #reliability

The short answer

Route a query to the large model only when its expected quality gain on that specific query is worth more than the added price and latency. That makes routing a bet on three things: that query difficulty is uneven in your traffic, that a router can detect the unevenness better than chance, and that hard queries are rare enough or cheap enough to escalate.

The router is itself a model with its own error rate, so the decision is rarely "small model first, confidence threshold at 0.7." Frame it as a threshold on calibrated probability of correctness, weighted by the business cost of a wrong answer for that intent, and re-derive it per domain, per model pair, and per traffic mix. When you cannot measure escalation lift on your own queries, a single mid-sized model is the lower-variance choice.

01 · The mechanism

Routing is an arbitrage on a per-query quality gap

A larger model earns its price only where it produces a materially better answer. Where the two models agree, you paid a premium for nothing. The decision variable is therefore not "which model is better" but "how much better is it on this request, and what is a better answer worth here."

That framing produces an explicit inequality. Escalate when the probability the small model is wrong, multiplied by the business cost of that particular error, exceeds the price and latency delta plus the router's own cost. The multiplication carries real weight: a wrong delivery date and a wrong refund decision are not the same error, and a router that treats all errors as equal spends its budget in the wrong place .

The empirical shape of the gap is uneven, and it is smaller than model-size ratios suggest. Across 18 multiple-choice benchmarks, a two-tier cascade committed the large majority of easy queries to the small model at no accuracy cost, with gains concentrated on reasoning-heavy benchmarks where the small model's failures clustered . A cascade pairing a small model with a large one on reasoning tasks cut cost by 21.5% on out-of-domain math and 16.8% on non-math, with under 2% absolute pass@1 loss . Both are results for specific model pairs on specific benchmarks, not a general law: the exploitable gap is a property of your queries.

The corollary is uncomfortable for procurement. Uniformly hard traffic means the small model wins nothing and the router is pure overhead. Uniformly easy traffic means you never needed the large model. Value lives in the middle.

Routing is not a discount on the large model; it is a bet that your traffic is bimodal.

02 · The precondition

Averages hide the only thing a router can exploit

A small model scoring 78% against a large model's 88% could be wrong on a random 22% of traffic — nearly unroutable — or wrong on a 22% slice concentrated in one intent, which you route statically without any router at all. Aggregate accuracy tells you nothing about which case you are in.

The quantity that matters is escalation lift: how much more likely a query is to be escalated when the small model would actually fail than when it would succeed. High lift catches most errors at a low escalation rate. Lift near 1 means the router is a random sampler; it buys accuracy only in proportion to traffic sent upstream, which requires no model at all.

Lift requires a signal correlated with correctness rather than with fluency. Verbalized confidence is the cheapest option and the weakest: self-reported confidence is poorly calibrated and drifts as the traffic mix shifts, so a threshold tuned at launch degrades silently . Better signals are indirect — agreement across sampled answers, prediction-set size under conformal calibration , a small classifier over the query and cheap-model output, or simply the query's intent and length where those correlate with observed failure.

There is a hard floor. If the small and large models fail on the same queries, no router helps. Routing needs errors that are partly different and partly separable.

Check separability before choosing a router design: if the small model's errors are not predictable from anything you can observe before or after its call, routing cannot recover them.

03 · The machinery

Cascades, pre-routers, and calibrated gates fail differently

A cascade runs the small model first and escalates on low confidence. Its cost shape is favorable because the small call happens anyway: total cost is roughly c_small + e·c_large, where e is the escalation rate, which stays below c_large for any e under 1 − c_small/c_large. Quality is the real constraint and it lives entirely in the non-escalated set. The weakness is serial latency: escalated queries wait for two calls, and those are the queries where users are most likely to give up.

A pre-router classifies difficulty before generating anything, paying one cheap call and sending a single request upstream. It avoids the double call on hard queries but discards the small model's answer as evidence, and its misclassifications are unrecoverable.

A calibrated gate replaces raw confidence with a statistical acceptance test. Thresholds can be chosen by multiple hypothesis testing to hold a finite-sample bound on misalignment risk against expert judgment , or by conformal prediction set size so a query is accepted only when the calibrated set collapses to a single answer, yielding a distribution-free accuracy guarantee . Both trade throughput for an auditable error rate, which is what makes routing defensible in regulated workflows.

Learned variants optimize the same trade-off directly, updating thresholds by gradient descent against an objective that includes a human-abstention tier .

Cascades are cheap in tokens and expensive in tail latency; pre-routers are the reverse.

04 · The limits

Five conditions that make a single model the better call

Latency SLOs. A serial cascade adds a full small-model round trip before the large model starts. If p95 latency is contractual, the escalated tail — the traffic that matters most — blows the budget. Speculative parallel execution recovers the latency but gives back much of the saving, because you pay both models on every query.

Confident failure. A router keyed to the small model's confidence inherits its blind spots. The model that is wrong and certain is exactly the query routing exists to catch, and no threshold on a miscalibrated score finds it .

Traffic shift. Thresholds are tuned to a mix; when the mix changes, fixed thresholds drift off their operating point while calibration-aware policies hold it . Conformal guarantees are distribution-dependent too: they hold marginally over an exchangeable calibration set, not after the product ships a new intent.

Metacost. The router is another model to build, monitor, and recalibrate per domain and per model pair , plus a labeled evaluation set that needs refreshing. At modest volume that engineering exceeds the inference savings.

Auditability. Some workflows need a per-answer error bound, not an average. Only gated designs offer one, and they cost throughput.

The honest alternative is often a single mid-sized model: one latency profile, one failure mode, one thing to monitor.

Evidence on total cost of ownership is thin. Published savings report inference spend; almost none report the engineering and labeling cost of maintaining router calibration.

05 · The rule

Do the napkin arithmetic, then let quality veto it

A cascade costs c_small + e·c_large per query against c_large for the large model alone, so it is cheaper whenever the escalation rate stays under 1 − c_small/c_large. With a small model at a tenth of the price, that ceiling is about 90%: the price argument survives almost any escalation rate, which is why the binding constraint is quality on the non-escalated set rather than the bill.

Quality is where the napkin fails. The escalated set must be enriched for small-model errors, and the residual error rate on everything else must be acceptable for that intent. Neither is knowable from vendor benchmarks; both come from a paired evaluation on your own traffic.

The pattern that works in support workflows is a hybrid with three exits: static intent routing where difficulty is known and stable (order status to the small model, refund disputes to the large one), confidence-gated escalation for the ambiguous middle, and human abstention when both tiers are uncertain . A telecom deployment of exactly that shape — efficient model for routine queries, capable model for complex cases, human experts only when needed — selected thresholds by multiple hypothesis testing to hold a finite-sample bound on misalignment with expert judgment . That is the version of routing you can put in front of a compliance reviewer.

Then treat the escalation rate as a monitored service indicator. A sustained climb means the traffic changed and the thresholds are now wrong.

Price sets a generous ceiling. Quality on the non-escalated set is what actually decides.

Four router designs and how each one breaks

The right design follows from which failure you can afford, not from which is most accurate on a benchmark.

Router designDecision signalCost shapeDominant failure
Confidence cascadeSmall model's self-reported confidenceSmall call on all traffic, large call on escalatedMiscalibrated; confident errors slip through
Difficulty pre-routerClassifier over the query aloneOne cheap call per queryMisroutes are unrecoverable
Calibrated gatePrediction-set size or MHT thresholdSmall model plus calibration overheadNeeds per-domain calibration; assumes exchangeability
Intent-based splitStatic map from intent to tierDeterministic, near-zero router costBrittle when intents or model versions change

Common misconceptions

  • Routing always cuts cost. It cuts cost only while the escalation rate stays below 1 − c_small/c_large and the router is cheap. A near-price-parity small model plus heavy router overhead produces a cascade that costs more than the large model alone.
  • The model's confidence score tells you when it is wrong. Verbalized confidence is poorly calibrated, drifts with traffic mix, and is least reliable exactly where the model is confidently wrong. It needs per-domain calibration, and often a non-confidence signal beside it.
  • A larger model is uniformly more accurate, so any escalation improves quality. Gains concentrate on reasoning-heavy queries. On easier traffic the two models agree, so escalation spends money for no measurable accuracy change [S4].
  • Once tuned, the threshold stays valid. Fixed thresholds tuned to a launch sample lose their operating point under traffic shift, while calibration-aware policies hold theirs [S2].

Decide with numbers from your own traffic

Four measurements settle the question faster than any benchmark comparison.

Build a paired evaluation set

Sample 300-500 real queries stratified by intent, run both models on every one, and score per query. Report small-model accuracy, large-model accuracy, and the fraction where the small model fails and the large one succeeds — that third number is the recoverable upside.

Measure escalation lift, not router accuracy

Rank queries by your proposed routing signal and compute the small model's error rate in the top-k slice against the base rate. If escalation catches errors at close to the base rate, the router has no lift and you should stop.

Set thresholds from error cost, not defaults

Derive the target escalation rate from the asymmetry between error types in each intent, then pick the threshold that hits it. Route high-cost-of-error intents statically and skip the classifier for them.

Canary in shadow mode

Log routing decisions without acting on them for two to four weeks, then replay the logs against actual outcomes before shifting traffic. Watch the escalated tail's p95 latency separately from the median.

Instrument escalation rate as an SLI

Dashboard the escalation rate per intent with alerting on drift. A climb precedes quality regressions and is your earliest signal that the calibration no longer matches the traffic.

What would change my mind: A paired evaluation on your own traffic showing that escalation catches small-model errors at close to the base rate — no lift — or a measured p95 penalty on escalated queries that breaches the SLO even at a low escalation rate.

Recall check

A cascade uses a small model priced at one-eighth of the large model, with negligible router overhead. At what escalation rate does the price advantage disappear?

  1. 12.5%
  2. About 87.5%
  3. 50%
  4. Price never breaks even for cascades

Cost is c_small + e·c_large, so the cascade matches the large model alone when e = 1 − c_small/c_large = 1 − 0.125. Price tolerates a high escalation rate; the binding constraint is quality on the queries that are not escalated.

Which router error most directly damages answer quality?

  1. Escalating an easy query to the large model
  2. Adding 40ms of router overhead per call
  3. Leaving a hard query at the small model because its confidence was high
  4. Recalibrating thresholds every quarter

A false negative keeps a query the small model would have failed, with no second chance. A false positive wastes money and latency but the answer is still produced by the stronger model.

A conformal cascade advertises a distribution-free accuracy guarantee. What does that guarantee not cover?

  1. Two-tier cascades
  2. Multiple-choice benchmarks
  3. Black-box API models with no weights access
  4. Traffic that has shifted away from the calibration distribution

The guarantee is marginal over an exchangeable calibration set. A new intent or a changed traffic mix breaks that assumption, so the bound no longer describes the queries actually being served.

Open questions

  • How much escalation lift survives real traffic drift over months? Thresholds tuned on a launch sample are the most plausible cause of silent quality regressions, and long-horizon drift measurements are scarce.
  • Does routing work as well on open-ended generation as on multiple-choice scoring? Most published router results use answer-matching or multiple-choice scoring; generation needs an answer-clustering step that is still treated as open work .
  • What is the full cost of routing once evaluation and recalibration are counted? Reported savings measure inference spend, so the break-even point for a small team may sit far higher than the published percentages imply.

Sources

Browse all public guides