Tiered LLM Routing: Balancing Performance and Cost
Lower token prices do not automatically translate into cheaper LLM workloads. This article explains how model capability, reasoning effort, and task complexity shape cost per task, then outlines a practical routing strategy that combines rules, lightweight models, standard models, and flagship models. It also shows how task-level evaluations, bounded retries, cost monitoring, and caching can turn model upgrades into measurable savings.
1. Why New Models Require a Fresh Cost Analysis
After a recent flagship model release, third-party evaluations revealed two seemingly contradictory findings:
- At medium-to-high reasoning effort, the new flagship achieved roughly the same task scores as the previous flagship at maximum effort, at about half the cost per task.
- At maximum reasoning effort, however, the new flagship cost more than twice as much per task as its predecessor running at maximum effort.
Together, these findings point to a central lesson: lower cost is conditional. A newer model may be more capable and have lower token prices, yet still produce a larger bill if configured poorly.
The practical question is not simply whether to adopt the latest model. It is how to allocate models and reasoning effort across different workloads.
2. Where Task Costs Come From
Start with pricing. A new model generation may reduce standard API input and output token prices by around 20% compared with its predecessor. But a 20% price reduction cannot, by itself, explain a 50% reduction in task cost.
The larger factor is improved capability at a given level of reasoning effort. On coding and reasoning benchmarks of comparable difficulty, a newer model may achieve at moderate effort what an older flagship could accomplish only at its highest setting.
A simplified cost model is:
Cost per task ≈ Token price × Tokens consumed to complete the task
Lower pricing affects the first factor. Reasoning effort strongly influences the second. Higher settings generally allocate more computation to reasoning and verification, potentially multiplying token consumption.
This changes how models should be compared:
- Price per million tokens provides only part of the picture.
- The more useful metric is the cost of completing a particular task type at a particular reasoning setting.
Running a stronger model once at a lower setting can have very different cost, latency, and success-rate characteristics from repeatedly retrying a weaker model at a higher setting.
The right unit of evaluation is therefore model × reasoning effort × task type, not token price alone.
3. Reasoning Effort: An Often-Overlooked Optimization Lever
Many teams configure a fixed set of parameters when integrating an LLM and rarely revisit them. Yet reasoning effort can be one of the most important levers for controlling cost.
Its impact has three dimensions.
Token consumption generally increases with effort
Higher settings typically allow more internal reasoning and verification, increasing token consumption. For straightforward tasks such as format conversion, rewriting, or extraction, much of that additional effort may provide little value.
Quality gains are nonlinear
Complex tasks—such as multistep refactoring, system design, or diagnosing difficult bugs—can benefit substantially from increased reasoning effort. Simple tasks may see almost no improvement.
The goal is to identify the cost-performance sweet spot for each task category rather than apply one setting everywhere.
Higher effort affects latency and operational reliability
More reasoning generally takes longer. It can also increase exposure to timeouts and retries, making the trade-off especially important for interactive applications.
A practical starting point is a reasoning-effort evaluation matrix. Select representative tasks from real workloads, run them at low, medium, and high settings, and record success rate, average token consumption, and execution time. Then choose settings according to business priorities.
| Task type | Suggested effort | Rationale |
|---|---|---|
| Text cleaning and extraction | Low | Limited reasoning is needed; low effort may already meet requirements. |
| Single-file code changes | Medium | Some contextual understanding is required, making medium effort a useful cost-performance starting point. |
| Multistep refactoring or migration | High | Failed attempts and retries are expensive, so spending more tokens upfront may be worthwhile. |
| Reconciling data definitions and calculations | High | Low error tolerance makes correctness more important than minimizing token usage. |
These settings should be validated against the team’s own evaluation results rather than treated as universal defaults.
4. Where Flagship Models Matter Most: Long-Horizon Tasks
Cost optimization has a prerequisite: the selected model must be capable enough to complete the work.
Beyond benchmark scores, reported industry examples illustrate where flagship-level capabilities can matter:
- Quantitative research and strategy development: Models formulate questions, write code, create plans, and coordinate subtasks, reducing manual parameter tuning and task assignment.
- Technical research and solution analysis: Models gather relevant material while also challenging the framing of a problem and identifying potentially misleading assumptions in the original requirements.
- Hardware design assistance: Reported workflows have produced manufacturable multilayer circuit-board designs for multiple devices within a day, with limited human intervention.
- Engineering migration: A reported migration of a critical production service from Python to Rust improved startup speed by tens of times.
These examples share a common pattern: long task chains, many intermediate states, and a need for the model to decide what to do next.
The model must break down goals, preserve context, plan subtasks, and correct errors as execution progresses. This is where flagship models can distinguish themselves from less capable alternatives—not necessarily in the fluency of a single answer, but in the success rate of extended, multistep tasks with limited supervision.
The first principle of tiered model routing follows from this distinction:
Classify tasks by workflow length and the cost of failure, not simply by how complicated they appear.
5. A Practical Tiered Routing Strategy
A useful routing framework has three layers.
Tier 1: Rules and Lightweight Models
Use rule-based processing or lightweight models for highly predictable tasks, including format validation, keyword extraction, and template-based rewriting.
These tasks rarely justify a flagship model, and their processing cost can be very low.
Tier 2: Standard Models at Low or Medium Effort
Route frequent, routine workloads to standard models with controlled reasoning effort. Examples include:
- Everyday code completion
- Documentation generation
- Focused questions and answers
- Routine reviews
The objective is efficient throughput at an acceptable quality level.
Tier 3: Flagship Models with Adaptive Effort
Reserve flagship models for long-horizon work such as architecture design, cross-module refactoring, and difficult troubleshooting.
Adjust reasoning effort according to the cost of failure. Tasks that can be retried may start at medium effort. Tasks where another attempt is not feasible may justify high effort from the outset.
Support this framework with four engineering practices:
1. Routing:Select the model and reasoning effort automatically from task labels,keeping routing decisions separate from business logic.2. Bounded retries and escalation:After a defined number of failed attempts, escalate to a higherreasoning setting where available rather than retrying indefinitely.3. Cost observability:Track costs by task type × model × reasoning effort.Reevaluate regularly to detect shifts in the cost-performance sweet spot.4. Caching and deduplication:Cache results for semantically equivalent requests to avoid payingrepeatedly for the same work.
The purpose is not to minimize the cost of every individual API call. It is to select the combination of model and reasoning effort that completes each class of task efficiently and reliably.
6. Treat Every Model Upgrade as a Routing Review
The savings offered by new model generations are real, but realizing them requires more than replacing an old model with a new one.
Lower token prices shift the cost-performance sweet spot. Improved capability allows some tasks that previously required maximum reasoning effort to run successfully at lower settings. Together, these changes make every flagship-model release an opportunity to reassess the model-calling architecture.
For developers, the most valuable habit is to maintain a representative task evaluation set and continuously measure reasoning effort, success rate, and cost per task.
That turns a model upgrade into measurable cost optimization—not just a change in the model name used by the application.
