Model routing
Updated 2026-10-28
Questions this answers
- What is model routing in AI?
- What does "Auto" mean in the model picker, and should I leave it on?
- Our AI credits run out before the end of the month. What do I change first?
- Do I really need the most expensive model for every task?
- Can IT limit the expensive models to the people who need them?
The Fix
Model routing sends each AI request to the model that suits it, instead of sending everything to one model. A router looks at the task and picks a small, cheap model for easy work and a large one for hard work, so you pay for the big model only where it changes the answer.
You probably use a router already. The Auto option in ChatGPT and in
Microsoft Copilot's model picker reads your prompt and picks the model for
you; OpenAI introduced it with GPT-5 as a
real-time router between a
fast model and a reasoning model. OpenRouter's
Auto Router
does the same across providers: a small classifier sorts each prompt into one
of about 30 task types, then picks a model in the cost band you set. In
Claude Code, the opusplan setting uses Opus while you plan and switches to
Sonnet to write the code, and a subagent can run on a smaller model than the
main session with one model: line in its definition.
The rule we teach in trainings: leave Auto on, and step in for three cases.
- High-stakes work, such as an account plan or a research brief that goes to leadership. Pick the top model yourself and raise the effort level. Auto aims for a good answer at a fair price, and here you want the best answer.
- Credits running out. Move routine work, such as email edits and reformatting, to a smaller model at lower effort. The overruns we see in sessions usually trace to one scheduled task that runs every day on a large model, so move that one first.
- The same task many times a day. Route it by hand once. Run it on a smaller model for a week, and keep the smaller model if the output holds up.
Trainees also ask whether IT can keep the expensive models for the people who
need them. Often it can: Claude Code, for example, has an availableModels
setting that limits which models people can pick. Ask your admin what your
tool allows.
The Pragmatic Engineer reported a mid-size software company that cut costs by about 30% just by changing its default model to a cheaper one, with no loss of momentum.
When to Use It
Look at routing when your AI bill or credit use grows faster than the value, or before you roll a workflow out to a whole team, where the cost multiplies by the number of people. Don't bother on a personal project where the spend is trivial.
Check quality as you go: route down until the output slips, then go one step back up. Keep the big model for the steps where a mistake is expensive, like the review step in a critique loop or the planning step of an agent. If you're not sure which models count as small or large today, choosing a model has how we sort the current ones. Model and effort choices are part of every AI training we run.
Best Practices
Pragmatic Engineer: token spend breaks budgets
newsletter.pragmaticengineer.com
The write-up on how changing the default model cut costs ~30%, plus the spend-measure-adjust framing.
OpenRouter
openrouter.ai
A single interface for routing tasks across many models and providers so you can pick by cost and fit.
Claude Code: model configuration
code.claude.com
The model aliases, `opusplan`, per-subagent models, and the `availableModels` setting admins use to limit choices.