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. At October 2026 prices, moving the coding half of a feature from Opus 5.5 to Haiku 5.5 cuts its cost by about 77 percent, or 39 percent if you move it to Sonnet 5.5. The peer-reviewed RouteLLM framework reached 85 percent savings at roughly 95 percent of frontier quality.
What is the cheapest AI model for coding?
As of October 2026, Claude Haiku 5.5 and GPT-6 Luna, both at $0.10 per million input tokens and $0.50 per million output. Haiku 5.5 bills 5x once a prompt passes 100,000 tokens, so it is cheapest for short tasks and subagents. For writing full features, Sonnet 5.5 or GPT-6.1 Sol at $2 and $10 are the better value.
Which model should I use for planning versus writing code?
Use your best model, such as Claude Opus 5.5 or GPT-6 Astra, for planning: understanding the codebase, choosing an architecture, and writing a detailed spec. Then hand that spec to Sonnet 5.5, GPT-6.1 Sol, or Haiku 5.5 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, and you can pin subagents to a cheaper model, but it does not route the main conversation 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, across the last 7 and 30 days. Route your execution to a cheaper model, then confirm the per-model spend actually drops over the following week instead of assuming it did.