The Alternatives Issue For tool owners Sign in

Model router

A model router picks which language model handles each request based on cost, latency, or task type — the standard production pattern in 2026.

In more detail

What it means

Single-model deployments are now the exception. Production stacks route: GPT-4o-mini for cheap classification, Claude for code, Gemini Pro for long context, an o-series or Claude with extended thinking for hard reasoning. The router can be rule-based ('if task=code → Claude'), embedding-based ('embed the query, route by nearest cluster centroid'), or LLM-based ('ask a small model to pick'). Openrouter, Portkey, Vellum, and Martian provide hosted routing; many teams roll their own. Routing decisions usually optimise cost-per-success, not raw quality. Effective routers log the routing decision with the outcome, review cost-per-success rather than raw accuracy, and keep a safe default route, because misrouted hard queries erase the savings from correctly routed easy ones.

Part 1 of 2

When to use it, and when not

Use it for

  • Any production app with diverse query types.
  • Cost-sensitive workloads.

Part 2 of 2

Common mistakes

  • Routing without evals — quality drift goes unnoticed.
  • Over-engineering for traffic that's small enough for a single model.

FAQ

Questions readers ask.

What is model router?

A model router picks which language model handles each request based on cost, latency, or task type — the standard production pattern in 2026.

When should you use model router?

Any production app with diverse query types. Cost-sensitive workloads.

What are the common mistakes with model router?

Routing without evals — quality drift goes unnoticed. Over-engineering for traffic that's small enough for a single model.

Last updated: 2026-09-18. Raw markdown: https://promtable.com/glossary/model-router.md. Found a mistake? Tell us.