How model routing turns into a structural lever for LLM cost control
Model routing classifies each request and sends easy ones to a cheap small model and hard ones to the frontier model, exploiting a 10 to 30 times price gap that no discount could match.
Imagine you run a help desk and every question comes in through one queue. A senior expert costs you a lot per minute; a junior costs ten times less. Most of the questions are simple lookups, so handing everything to the senior is wasteful. You install a triage clerk at the front who reads the question, sends the simple ones to the junior, the medium ones to the regular agent, and only the hard ones to the senior. The clerk is fast and cheap. Your bill drops sharply because most of the work was overkill before. The catch is that when the clerk mis-triages a hard question to the junior, the user gets a bad answer. So you keep watching the clerk's accuracy on a test set and retrain it when it slips.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Cost in LLMOps is unlike cost in classic web ops. A single API call can cost more than thousands of typical web requests. The cost line on the dashboard is dominated by which model answered, not by how many requests were served. That makes model routing the single highest-leverage cost lever in the stack, and the one a cost-aware team implements first.
This explanation works through the intuition behind why routing dominates discounts, the three common router architectures, the escalation cascade that bounds the worst case, and the eval discipline that keeps the router from silently regressing.
Why the structural lever beats the discount lever
Provider price lists are not smooth. Within a single provider, the small tier and the frontier tier sit at roughly an order of magnitude apart. In 2026 numbers, Claude Haiku is around $0.25 per 1M input tokens; Claude Opus 4.5 is around $15. gpt-4o-mini is $0.15; gpt-4o is around $2.50. Gemini Flash is similarly an order of magnitude below Gemini 2.5 Pro.
A volume discount or committed-use contract might shave 20 to 30 percent off list price. Moving the request itself from a $15 tier to a $0.25 tier is a 60x reduction. The two levers compose multiplicatively if you can negotiate on the cheap tier too, but the structural one is the only one that scales with traffic instead of with negotiation leverage.
The corollary is that routing 70 percent of requests to the cheap tier roughly halves the bill, even if the request mix means the expensive tier still answers some of the calls. That kind of impact is impossible to extract from a discount conversation.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- LiteLLM Router with a fallback chain (Haiku then Sonnet then Opus) is the canonical implementation in 2026.
- Vercel AI Gateway exposes routing rules by token-budget and latency-budget per request.
What an interviewer would ask next. Try answering before peeking at the approach.
QWalk through how you would build the escalation cascade so a mis-triage gets caught and retried on the next tier up.
Cheap tier answers first; a fast self-check (regex on output shape, a small judge model scoring confidence or faithfulness, or a structured-output schema validator) decides accept or escalate. On escalate, the request re-runs on the next tier with the original input. Track escalation rate per intent; rising escalation is a router-drift signal that triggers retraining.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Treating the router as build once forget. It is its own model with its own failure modes (mis-triage to the cheap tier on a hard request), and it needs an eval gate just like the prompts it routes.
60 second bullets to scan on the way to the call.
The order of magnitude price gap between small and frontier tiers in 2026
Three router architectures: rules, classifier, LLM as router
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.