Skip to content
Eldan.ai
Glossary

Model routing

Model routing sends each request to the model best suited to it, usually a cheaper, faster model for easy cases and a stronger one for hard cases.

It can cut cost and latency a lot, but only if you can measure quality per route and know how often the cheap model is good enough.

The router can be rules, a small classifier or the cheap model itself deciding when to escalate. Whatever it is, it is a component that can be wrong, so it needs its own eval.

Common mistake. Routing by a hunch and reporting overall accuracy, which hides a collapse on the hard slice.

In practice. Tag cases by difficulty, score each route separately, set an escalation rule, and watch the share of traffic that each route takes in production.

  • Prompt caching

    Prompt caching is a provider feature that reuses the work done on the unchanging beginning of a prompt, so repeated prefixes are billed at a lower rate and answered faster. It only helps when stable content such as instructions and examples comes first and varies last. Minimum lengths and lifetimes differ between providers.

  • Eval

    An eval is a repeatable test for software that uses a model. It has a set of inputs, a way to run your feature on them and a grader that scores each output, and it returns a rate instead of a pass or fail. Run it on every change to a prompt, model or retrieval setting.

  • Observability

    For AI systems, observability means recording enough about every request to explain it later: the prompt version, the inputs, the retrieved passages, each tool call, the output, token counts, latency and cost. Traces turn a vague user complaint into something you can read, and failed traces become new test cases.

Cite this page

Eldan Abdrashim. "Model routing." Eldan.ai, 23 November 2026. https://eldan.ai/glossary/model-routing.

The date you read it is added when you copy.

BibTeX

@online{abdrashim2026model,
  author = {Eldan Abdrashim},
  title = {Model routing},
  organization = {Eldan.ai},
  date = {2026-11-23},
  year = {2026},
  month = nov,
  url = {https://eldan.ai/glossary/model-routing},
  langid = {english}
}

All terms

Section: Cost and operations. Last updated 23 Nov 2026.