Your product sends every request to the flagship model (the provider's top model), because the demo used it and the feature was approved on the strength of that demo. Months after launch, someone finally pulls a week of production traffic for a routing review, a check of which model handles which requests. Most of the traffic turns out to be short, routine work: order status lookups, one-line rewrites, questions the help center already answers. You rerun a sample through a model priced at a small fraction of the flagship rate, put the answers side by side, and your own graders cannot tell them apart. You needed the flagship for maybe a tenth of the volume, the long, tangled cases that really need it, and for everything else you were paying a large multiple for an identical answer.
Match the model to the request, not to the demo
The requests real users send are never all alike. A support bot gets "where is my order" in the same queue as a refund dispute that involves three policies, an email assistant fixes a typo in one message and drafts a delicate renewal negotiation in the next, and a research tool answers a definition lookup right before a question that needs it to reconcile many sources. If you serve all of that with one model, you either overpay on the easy requests or underserve the hard ones, and if you send everything to the flagship by default, you overpay.
If you worked through Economics: what a fleet costs and when it pays, you have already made this kind of match once, giving a fleet's simple jobs to cheap models and the judge job to the strongest model. With routing you make the same match for live product traffic, one request at a time, and software you design makes each choice instead of a person assigning roles.
Send every request to the cheapest model that passes your quality bar, and use your eval results, not your impressions, to find out which model that is.
Three ways to build the router: rules, cascades, and retries
A router is the software that sits in front of your models and picks one model for each request. The industry has settled on three designs, and most production systems combine all three.
- Rules. A rule picks the model from facts you can check before any model runs: the request type, its length, the feature it came from, the customer's plan. Rules are the cheapest and most predictable design, since checking a rule costs nothing per request and the same input always goes to the same model. Their limit is that they cannot tell how hard a request is when that depends on what the text says, because a short request is not always an easy one.
- Cascades. A cascade sends each request to the small model first and escalates it, meaning it sends the request on to a stronger model, when the answer looks weak. "Cascade" is the industry's word for exactly this design. What triggers escalation is the escalation gate: a check on a confidence score attached to each answer, which estimates how likely the answer is to be good enough. The score comes from the model's own uncertainty signals (for example, how much probability the model gave the words it chose) or from a separate cheap checker, the same kind of judge you set up in Graders: deterministic, judges, and humans. Cascades respond to real difficulty, because the small model's failure is itself the evidence that the request is hard, but you pay twice for every escalated request.
- Retry on failure. This is the safety net behind the other two designs. When an answer fails a strict check later in the process (malformed output, a failed tool call, a grounding check that finds no source supporting the answer), the product retries on a stronger model instead of returning the failure. Retries are mainly there to catch what rules and cascades missed, not to save money.
In the diagram, titled THE CASCADE, requests arrive in the inbox and most pass through the small model straight to the answer. The few that the escalation gate scores as below your quality bar are escalated to the flagship (1 in 10 in the drawing, where the 1x and 10x labels are illustrative cost multiples, not current prices). A typical routing plan uses rules for the rough split (contract-analysis requests go straight to the flagship, while the high-volume simple requests go into a cascade), the cascade to handle most of the traffic cheaply, and retries as the backstop under everything.
Use your evals to choose which model serves which traffic
The dangerous sentence in any routing discussion is "the small model seems fine." It seemed fine on the requests someone happened to read, and a handful of requests picked by chance, not chosen to cover every kind of request, is too small a sample to trust. The test for routing is "passes your evals." A model gets a slice of traffic (a group of requests of one kind, such as order-status questions) only after it passes your eval cases for that slice, judged against the bar you wrote in The quality bar: decide what good means. If the small model passes your cases for order-status questions and fails your cases for refund disputes, it gets the order-status slice and not the refund slice, and no one should override that because of a demo.
The same rule applies to changes. Sending a slice to a cheaper model swaps the model for every user in that slice, so the change goes through The regression gate: no change ships blind like any other change to how the product behaves.
Cascades save money only while escalation stays rare
For an escalated request you pay for the small call plus the flagship call, which is slightly more than you would pay to send the same request straight to the flagship, and the user also waits for two models, one after the other. So whether a cascade saves money depends entirely on how often requests are escalated.
When the small model passes the large majority of traffic, your blended cost (the average cost per request across all traffic) falls toward the small model's rate, and that is the saving the team in the opening scene was missing. As escalation becomes more frequent, your cost moves toward flagship rates plus the small model's cost on everything, with the extra wait on top, and that is a worse deal than having no cascade at all. The exact price ratio between a provider's small models and its flagship changes with provider pricing, and the Price Sheet keeps the current numbers. What stays true is that small models cost a small fraction of flagship rates, so the arithmetic favors a cascade whenever most of your traffic is easy, and a routing review like the one in the opening scene is how you find out whether yours is.
You pay for two models on every escalated request, so a cascade saves money only while escalation stays rare, and you measure how often it happens before you count a cascade as a saving.
The escalation rate (the share of requests the cascade sends on to the flagship) stays useful long after launch. If it climbs, something changed: the traffic mix shifted toward harder requests, a prompt change made the small model's answers worse, or the scores behind the escalation gate drifted. Keep the rate on the same dashboard as your cost per task, because if you never measure a cascade again, you are only guessing that it still saves money.
Try it now
In this drill you build a two-model cascade and test it on your own eval cases, on paper or in a notebook, and you finish with the number this chapter depends on: your escalation rate.
Get your cases. Pull thirty cases from your existing eval suite, the set your quality bar is defined against.
Run the small model. Send all thirty through a small model, the cheapest model your provider offers.
Judge every answer. Grade each answer against your bar, pass or fail, using the graders you already have: deterministic checks where they exist, a judge pass (a call to a second model that grades the answer) where they do not.
Escalate the failures. Send only the failing cases to your flagship and grade those answers too.
Do the arithmetic. Write down the cascade's quality (cases passing after escalation) and its cost (thirty small calls plus the escalated flagship calls), then put both next to the quality and cost of sending everything to the flagship (thirty flagship calls, graded once if you want to compare quality). The share of cases that escalated is your escalation rate, and it tells you whether a cascade belongs in your product.
Scale it down: run ten cases instead of thirty and use a single judge pass for all the grading.
Chapter Summary
- Real traffic mixes easy and hard requests, so if you use one model for everything you either overpay or underserve, and sending everything to the flagship by default means overpaying.
- Send every request to the cheapest model that passes your quality bar; it is the same match you made for the roles in a fleet, now made for each request in live traffic.
- Rules pick a model from facts you can check before any model runs, and they are the cheapest and most predictable design.
- Cascades try the small model first and escalate to a stronger model when an answer fails the escalation gate because its confidence score is too low; a cascade responds to real difficulty, but you pay twice for every escalated request.
- Retry on failure is the safety net that catches what rules and cascades miss.
- A model gets a slice of traffic only by passing that slice's evals, never by seeming fine on a handful of examples.
- Every routing change swaps the model for the slice you rerouted, so it goes through the regression gate.
- Measure the escalation rate before you count a cascade as a saving, and keep watching it after launch.
- Routing lowers the price of the requests you send, and in Caching: never pay for the same thinking twice you cut out the requests you never needed to send at all.
Sources
- Chen, L., Zaharia, M., & Zou, J. (2023). FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance. arXiv.
- Ding, D., Mallick, A., Wang, C., et al. (2024). Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing. ICLR 2024.
- Ong, I., Almahairi, A., Wu, V., et al. (2024). RouteLLM: Learning to Route LLMs with Preference Data. arXiv.
- Anthropic, OpenAI, and Google model tier documentation and pricing pages (last verified July 2026).
- The dated Price Sheet for current per-tier rates.