Summary
Model routing and model cascading both send work to different models, but they make the decision at different points. A prompt-time router selects a model before generation. A response cascade starts with one model, evaluates its answer, and may pay to run another model. Both can reduce spend for a workload, but neither guarantees lower total cost or unchanged quality: measure the trade-off on your own requests.
Routing versus cascading
- Prompt-time routing scores the request and chooses a model before an answer is generated. A learned router may estimate which model is more likely to win for that prompt; this score is not the cheaper model's confidence in an answer it has not produced yet.
- Post-response cascading runs an initial model, then evaluates the generated answer. A task-specific verifier, a second model acting as judge, or a deterministic check can trigger another attempt when the answer fails the acceptance policy.
RouteLLM is an example of prompt-time routing. Its routers estimate the strong model's win rate for a prompt and compare that value with a configurable threshold. This differs from a cascade that judges a completed answer. See the RouteLLM paper for its preference-data approach.
How it works
- Define the decision point -- choose prompt-time routing when the request itself is enough to select a model; choose a response cascade when answer checks can detect a failure after generation.
- Set up tiers and policy -- record each model's cost, latency, and measured task quality. For a cascade, define answer acceptance checks and an escalation budget. For a learned router, choose the router score and threshold.
- Calibrate on representative traffic -- replay a held-out sample of real requests, including difficult and high-risk cases. Sweep thresholds or acceptance rules and inspect the resulting quality, cost, escalation, and latency. RouteLLM specifically advises calibration on queries representative of the workload because traffic mix changes routing rates.
- Escalate with a bounded policy -- in a cascade, send failed or uncertain answers to the next tier only when the expected benefit justifies another call. Set a maximum number of attempts and a clear fallback. In prompt-time routing, select the stronger model when the router's score crosses the calibrated cutoff.
- Monitor and recalibrate -- track outcomes as the request mix, model versions, prices, and latency change. Keep a safe route for tasks where an incorrect low-tier answer has a high cost.
Tiers
- Lower-cost tier: Candidate for constrained, well-evaluated tasks such as classification or extraction. Confirm quality on your data before routing production work here.
- Default tier: The model that meets the workload's normal quality and latency requirements.
- Fallback tier: A more capable model for requests that fail validation or receive a high router score. Reserve it based on measured results, not an assumption that every difficult-looking prompt needs it.
These are operational roles, not universal capability rankings. Evaluate the actual model versions and prompts you plan to run.
Metrics
- Cost per request: Average cost across all tiers, weighted by request distribution.
- Quality at a fixed evaluation set: Task-specific pass rate or rubric score, reported alongside cost so savings cannot hide degraded answers.
- Escalation or strong-model rate: Percentage of requests that trigger another tier in a cascade, or are routed to the stronger model before generation.
- Latency: P50 and P95 end-to-end latency, including verifier and escalation time.
- Failure and fallback rate: Requests that exhaust the escalation budget, time out, or require a safe fallback.
Compare systems on the same held-out requests. Report the cost-quality curve across thresholds rather than presenting one favorable operating point as a general savings claim. Recalibrate when the workload or model pair changes.