FAQCommon questions
Short, direct answers to the things people ask most about this.
What is model routing?
Model routing is the practice of sending each task to the cheapest AI model that can handle it, rather than paying frontier prices for every request. Easy work like edits, file navigation, and writing code from a clear spec goes to a cheap model; hard work like architecture and planning goes to a top model.
How much can model routing actually save?
Realistically 40 to 70 percent from routing alone, and up to about 85 percent when you also stack prompt caching and lower reasoning effort. The peer-reviewed RouteLLM framework reached 85 percent savings at roughly 95 percent of frontier quality. The 90 percent figure in some headlines is a best case that needs execution-heavy work, a wide price gap, and caching on top.
What is the cheapest AI model for coding?
Claude Haiku 4.5 is the cheapest capable coding model, at roughly $1 per million input tokens and $5 per million output, and it is more than twice as fast as larger models. It handles quick edits, file navigation, and subagent work well. For writing full features from a spec, Sonnet 4.6 or Cursor's Composer offer more capability at still-low cost.
Which model should I use for planning versus writing code?
Use your best model, such as Opus 4.8 or GPT-5.5, for planning: understanding the codebase, choosing an architecture, and writing a detailed spec. Then hand that spec to a cheaper model like Sonnet, Haiku, or Composer to write the code. The expensive reasoning happens once during planning, and execution runs cheap.
Does Claude Code have automatic model routing?
Not automatically. Claude Code lets you switch models manually with /model and control the thinking budget with /effort and MAX_THINKING_TOKENS, but it does not route between models on its own. Cursor's Auto mode does route automatically, often to its cheap in-house Composer model. For full automatic routing on the API, use OpenRouter's Auto Router, Martian, or RouteLLM.
How do I know model routing is actually saving me money?
Measure your spend per model before and after. Tokens 4 Breakfast shows your real cost broken out by model and project, live in the Mac menu bar, with a month-end forecast. Route your execution to a cheaper model, then confirm the per-model spend actually drops over the following week instead of assuming it did.