What Is Model Routing (Cascades)?
How model routers and cascades send each AI request to the right model, what they save, and where they go wrong, for your AI interview.
In short
Model routing sends each request to the model that suits it: easy work to a small, cheap model and hard work to a large one. A cascade is one version, where the small model answers first and only weak answers move up to the large model.
12 min readIntermediateVery common · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
Model routing means sending each request to the model that suits it. Easy work goes to a small, cheap model, and hard work goes to a large one. A cascade is one version: the small model answers first, and a check sends only weak answers on to the large model. The catch is that a router can guess wrong, and a cascade pays for two calls when it escalates. So I measure quality and cost on real prompts before real customers see it.
A model router reads each request and picks the model that should answer it. Easy requests, like a password reset, go to a small and cheap model. Hard requests, like a disputed card charge, go to a large and expensive one. The customer sees one answer, and the bill drops because most requests never touch the big model.
A cascade is a close cousin. It always tries the small model first, then checks the answer. If the check says the answer is reliable, it is sent. If not, the large model answers. The FrugalGPT paper from 2023 described this approach, and on its tests it could match the best single model at a much lower cost.
The catch is in the trade-offs. A router can guess wrong on a request it has not seen, and a wrong guess gives a weak answer that nobody notices. A cascade pays for two calls whenever it escalates, and the customer waits for both. Before going live, compare the setup with your current model on your own prompts, for quality, cost and speed.
In short: route by how hard the request is, measure the misses, and keep the large model as the safe default where a wrong answer costs real money.
What is model routing, in plain words?
A model router is a small decision step that sits in front of your AI models. It reads each request and sends it to the model that should answer it. Easy work goes to a small, cheap model. Hard work goes to a large, costly one. The user still gets one answer.
Think of a hospital triage nurse. A sore throat goes to the walk-in clinic, and chest pain goes straight to the emergency doctor. The nurse decides in seconds from what the patient says. A router does the same job for AI requests.
Here is a real case. A bank's support assistant gets 100,000 messages a month. Branch hours and password resets can go to a small model. A disputed card charge, with money and legal risk, should go to a large one. Sending every message to the large model pays for power the job does not need.
Key words
- Router
- The step that picks which model answers a request.
- Cascade
- A setup that tries the small model first and escalates only the weak answers.
- Escalate
- To pass a request on to a bigger, more capable model.
- Quality check
- A test that decides whether an answer is good enough to send.
What is the difference between a router and a cascade?
Both send work to more than one model, so people mix them up. The difference is when the choice is made.
- Router
Chooses before any answer
It picks one model from the request alone, and that model answers once.
- Cascade
Tries the small model first
The small model answers, a check reads the answer, and only a weak one moves on to the large model.
- Fallback
Switches after an error
A backup model takes over only when the first one fails, such as a timeout, or a cap on how many requests you may send per minute.
Microsoft's model router is the first kind. Its docs say it judges how demanding each request is and sends it to the model best suited to answer it. Simple prompts go to small, fast models, and prompts that need deep reasoning go to the biggest, most capable models.
Anthropic's December 2024 guide to building agents describes routing as a sorting step: it classifies an input and sends it to a specialised follow-up task. AWS's Bedrock prompt routing (Bedrock is AWS's AI model service) works within one model family, and it predicts how good each model would be for each request before it routes.
A router picks one model up front
Customer message
one request, nothing checked yet
Router
judges how hard the request is
Small model
cheap, for easy requests
Large model
costly, for hard requests
One answer sent
nothing is checked after
- 1The request arrives at the router.
- 2Easy requests go to the small model.
- 3Hard requests go to the large model.
- 4The small model's answer goes out.
- 5The large model's answer goes out too.
How does a cascade work, and what does it cost?
A cascade is a chain. The cheap model goes first, and a check decides whether its answer is kept. Think of a junior claims clerk who drafts a reply and a senior clerk who reads it before it goes out. Only the drafts that fail move up to the senior clerk.
“LLM cascade sends a query to a list of LLM APIs sequentially.”
FrugalGPT paper (2023)
The 2023 FrugalGPT paper describes a cascade that learns which models to try for different queries. On its tests, it could match the best single model with up to 98% cost reduction. The paper also says the cost falls when the first models are cheap and mostly reliable.
A cascade tries the small model first
Customer message
one request
Small model answers
always tries this one first
Answer passes check?
a rule or a scoring step
Send small answer
the cheap answer is good enough
Large model answers
only weak answers reach it
- 1The request goes to the small model first.
- 2Its answer is passed to the check.
- 3An answer that passes is sent as it is.
- 4A weak answer is escalated to the large model.
Tip
The catch is the escalations. On a weak answer you pay for two model calls, and the customer waits for both. The saving shrinks as more answers escalate. With the made-up prices above, it is gone only when about 93% escalate.
Does routing really save money in a worked example?
Here is a made-up support desk with 100,000 tickets a month. The small model costs 1 cent a ticket, and the large model costs 15 cents. The prices are invented to keep the sums simple.
# A made-up support desk: 100,000 tickets a month.
# Made-up prices: a small model costs 1 cent a ticket, a large model 15 cents.
TICKETS = 100_000
SMALL = 1
LARGE = 15
def dollars(cents):
return f"${cents / 100:,.2f}"
# Option 1: every ticket goes to the large model.
all_large = TICKETS * LARGE
# Option 2, router: it picks first. 80% of tickets are easy, 20% are hard.
easy = TICKETS * 80 // 100
hard = TICKETS - easy
router = easy * SMALL + hard * LARGE
# Option 3, cascade: the small model answers first.
# The check rejects 30% of its answers, so those tickets also go to the large model.
escalated = TICKETS * 30 // 100
cascade = TICKETS * SMALL + escalated * LARGE
print("All large:", dollars(all_large), "a month")
print("Router:", dollars(router), "a month")
print("Cascade:", dollars(cascade), "a month")
print("Router saves", dollars(all_large - router), "a month")
print("Cascade pays for both models on", escalated, "tickets")Output
All large: $15,000.00 a month Router: $3,800.00 a month Cascade: $5,500.00 a month Router saves $11,200.00 a month Cascade pays for both models on 30000 tickets
The router cuts the bill from $15,000 to $3,800, because 80% of tickets never touch the large model. The cascade lands at $5,500. It still saves money, but it costs more than the router for two reasons: every ticket pays for the small model's call, and 30% of tickets also pay for the large one, more than the router's 20%.
Here is the break-even point. With the made-up 15 to 1 price gap, a cascade costs as much as the large model alone only when about 93% of tickets escalate. So the bill rarely decides the design. A wrong answer that nobody measured does more damage.
Published tests show real but partial gains. Hybrid LLM, a 2024 paper, routes each query by its predicted difficulty and reported up to 40% fewer calls to the large model with no drop in response quality. RouteLLM, also from 2024, reported costs cut by over 2 times in certain cases, without compromising the quality of responses. Treat paper numbers as a starting point, since your own prompts decide the result.
What goes wrong with routing?
A hard question gets a weak answer
If the router sends it to the small model, the answer looks fine but is wrong, and nothing alerts you.
The router sees only the request
It guesses difficulty from the text, so a short, dangerous question can look easy.
A cascade pays twice
A rejected small-model answer is still paid for, and the customer waits for the second call.
Savings hide quality loss
The bill falls on the dashboard, but a drop in quality can stay hidden until customers complain.
“Treat your first configuration as a starting point. Before you move production traffic, compare model router with your current model on your own prompts for quality, cost, and latency.”
Microsoft, model router docs
The fix is measurement. Log which model answered each request. Microsoft's router, for example, names the model that answered in each response, so you can check it against your own quality results.
Tip
Asked how you would start? Say: a small model for the easy group, a check on every answer that goes out, and a weekly sample of hard tickets read by a person.
What does the interviewer want to hear?
A strong answer covers
- A plain definition: pick a model per request, based on how hard it is.
- The difference between a router, a cascade and a fallback.
- The saving, with the numbers from a worked example.
- The risk: a wrong pick gives a weak answer that nobody sees.
- The cascade's cost: two calls on every escalated request.
- Measuring quality and cost on your own prompts before real traffic.
Common traps
Trap"Always send the request to the biggest model."
BetterIt is safe but expensive. Route the easy group to a small model, then measure the quality first.
Trap"A router is the same as a fallback."
BetterA router picks before any answer exists. A fallback switches only after an error. Real systems can do both: Microsoft's router also fails over to the next-best model automatically. Name the one you mean.
Trap"A cascade always saves money."
BetterOnly while the escalation rate stays below the break-even point, which depends on the price gap. Many escalations mean two calls per request.
Can you spot the risky setup?
Spot the risky setup
Which routing setup is most likely to fail quietly for a bank's support assistant?
Quick check
A support bot runs a cascade. The small model's answer fails the check. What extra cost does that ticket add?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
- Q323Small vs large model: how do you choose?11 min
- Q324How do you estimate token cost for a feature?11 min
- Q334How do you cut cost on a cloud-hosted LLM workload?Coming soon
- Q340How do reasoning tokens affect cost and latency?Coming soon
- Q343Multi-provider fallback?Coming soon
Last updated on 26 November 2026
Building an AI feature where the bill keeps growing?
I design and build AI products and agents, including the UI and the system behind them. Book a short call and tell me what you need.