You have a cheaper model in front of you and a real decision to make: move production traffic, add it as a fallback, or leave the current stack alone. The price per million tokens looks compelling. It is also the wrong number to use by itself.
A model is cheaper only when it lowers the cost of an accepted business result. That calculation has to include unsuccessful attempts, agent loops, fallbacks, review time, latency, plan limits, and failure recovery. Once you measure that unit, the model decision becomes much less ideological and much more operational.
Token price is not your unit economics
Token prices describe one input to your system. Your customer buys an outcome: a resolved support case, a correct extraction, an approved code change, a completed workflow, or an analysis someone can safely use. The distance between model output and that outcome is where apparent savings disappear.
One OpenRouter leaderboard snapshot showed high usage for models priced at roughly $0.065 to $0.20 per million input tokens. Yet Claude Opus 5, priced at $5 per million input tokens in the same snapshot, returned to the top ten after its usage rose 61% in one week. That snapshot does not prove how every workload behaves. It does show why there is no universal race to the cheapest endpoint: buyers tolerate very different prices when they expect different levels of output quality.
For a stable, high-volume task with deterministic validation, the low input price may dominate the decision. For an ambiguous task whose errors are difficult to detect, one avoided failure can matter more than a large difference in token rates. Neither route is inherently more disciplined. The disciplined choice is the lowest-cost configuration that still clears your quality, latency, capacity, and risk requirements.
Start with this run-rate equation:
Cost per accepted result = (inference + tool execution + retries + fallbacks + human review and rework + observed remediation cost) / accepted results.
Keep one-time expenses separate. Prompt adaptation, evaluation design, integration work, security review, and migration effort are adoption costs. They still matter, but mixing them into the recurring number makes it hard to see whether the new route will become efficient at scale.
When the candidate produces a positive run-rate saving, calculate the payback volume:
Payback volume = one-time adoption cost / saving per accepted result.
If the saving per accepted result is zero or negative, a lower token rate has not created an economic win. It has merely moved cost to another line.
Build the scorecard before you test the model
A model evaluation becomes unreliable when the team decides what counts as good after seeing the outputs. Write the acceptance contract first. It should describe what the result must contain, which errors are material, what tools may be used, how long the workflow may take, and which actions require a human.
| Scorecard field | What to record | Decision it supports |
|---|---|---|
| Task cohort | A named, repeatable class of production work with normal cases, edge cases, and difficult cases kept visible | Prevents easy tasks from hiding failures on expensive ones |
| Acceptance condition | The exact checks required before the output can be used | Creates a stable denominator for cost per accepted result |
| First-pass outcome | Pass, assisted pass, or fail before any retry | Reveals how much work the model completes cleanly |
| Inference and tool spend | Every call in the run, including failed attempts, validation calls, and fallback calls | Captures the full machine cost instead of the final call |
| Human effort | Review and rework minutes multiplied by the appropriate loaded labor rate | Shows whether cheap inference is creating expensive operations |
| Attempts and fallbacks | Retries, repair loops, escalations, and the reason each occurred | Identifies workflows whose apparent savings depend on hidden repetition |
| Latency | End-to-end time for accepted results, including queues and review | Stops a lower bill from masking a slower product |
| Failure impact | Observed remediation work and the class of action that failed | Separates harmless formatting misses from consequential errors |
| Plan constraints | Quota, refresh window, peak pricing period, and fallback price when capacity is unavailable | Tests whether the route works at production volume |
Use three outcome labels consistently:
- Pass: the result meets the predefined acceptance checks without material correction.
- Assisted pass: the result becomes acceptable after human or model rework. The correction cost stays attached to that result.
- Fail: the result is abandoned, blocked, or escalated to a different route. Its spend still belongs in the cohort total.
Do not compare a polished production route with an unconfigured candidate and call it a model test. For a technical comparison, holding the prompt and tools constant can help isolate model behavior. For a purchasing or routing decision, compare the best deployable configuration you can reasonably maintain for each model. Charge the effort required to create and maintain model-specific prompts to adoption or operating cost.
Run both configurations against the same representative cases. Repeat cases where output variability could change the decision. Hide model names from reviewers where practical, and preserve every failed run rather than rerunning until the candidate looks good. For consequential workflows, use shadow mode: let the candidate generate results without taking the production action, then score those results against the live route.
Your dashboard should report at least first-pass acceptance rate, fallback rate, human minutes per accepted result, end-to-end latency, and fully loaded cost per accepted result. Report the distribution as well as the average. A route that is inexpensive most of the time but occasionally enters a long repair loop can create a tail-cost problem that the mean conceals.
Route work by the economics of an error
The same model should not automatically handle every step of a product. Build routes around detectability, reversibility, and consequence. These properties tell you whether a cheap first attempt is sensible and when escalation should happen.
- Automatically verifiable and reversible: use the cheapest model that passes the evaluation. Good candidates have correctness checks tied to authoritative data, deterministic tests, or a controlled set of allowed outputs. A valid schema alone is not proof that the content is correct.
- Detectable failure with inexpensive recovery: use a lower-cost primary model and escalate when an external validator fails, a required field is absent, a tool call errors, or the retry limit is reached.
- Judgment-heavy but reviewable: compare a strong-model-first route with a cheap-draft-plus-review route. Measure reviewer time carefully; this is where inference savings often reappear as labor.
- Difficult-to-detect and consequential: favor the configuration with the strongest demonstrated acceptance rate, then retain an appropriate human checkpoint. Premium inference does not remove accountability for legal, financial, customer, or production actions.
Task labels alone are too broad. Customer support drafting and issuing a refund may sit in the same workflow but have different error economics. Summarizing a proposed code change is not the same action as modifying a production system. Route at the decision or action level, not merely at the application level.
A practical router applies gates in a fixed order:
- Classify the task and the action it is allowed to take.
- Exclude configurations that miss the acceptance, latency, capacity, privacy, or risk requirement.
- Among the remaining configurations, select the one with the lowest measured cost per accepted result.
- Escalate only on explicit signals such as failed validation, missing evidence, tool failure, exhausted attempts, or a required reviewer decision.
- Log the route and escalation reason so that product, engineering, operations, and finance can inspect the same evidence.
This policy also protects you from model-fashion decisions. A cheap model can earn more traffic when it clears the gates. A premium model can retain expensive work when its higher acceptance rate or lower review burden pays for the difference. Both routes remain open to new evidence.
Connect the router to the product promise. If customers pay for a completed outcome, gross margin should be measured on completed outcomes. A route that reduces cost while increasing unresolved cases, approval delays, or customer corrections has not improved the product’s economics.
Control agent loops, plan limits, and model handoffs
Put a budget around the whole agent run
Single-call estimates break down when an agent can read files, invoke tools, validate its own work, repair failures, and try again. In one documented example, an overnight Codex run expected to cost about $20 exceeded $300 as validation continued. That is one experience, not a universal benchmark. The mechanism is the useful part: an unattended loop can keep buying inference after it has exceeded the amount someone had in mind.
Set limits at the run level, not only at the API-request level:
- Spend ceiling: stop or require approval when cumulative model and tool cost reaches the budget for the job.
- Attempt ceiling: limit repair cycles for the same failed state. Repeating a strategy is not progress.
- Wall-clock ceiling: prevent a queued tool, unavailable dependency, or validation loop from consuming the entire operating window.
- External completion check: define completion through tests, required artifacts, or another observable result rather than the agent’s declaration that it is finished.
- Escalation rule: specify whether the next step is a stronger model, a human, a deferred queue, or a clean failure.
- Recoverable execution: use checkpoints, isolated environments, branches, or equivalent controls before an agent edits consequential systems. A hard stop should not leave an unrecoverable partial change.
Choose each ceiling from the value and risk of the task. A single global token limit is easy to administer but usually too generous for routine jobs and too restrictive for valuable complex ones. Budget by task class, then investigate runs that repeatedly consume most of their allowance.
Treat subscriptions and discounts as constrained capacity
A monthly model plan is not unlimited zero-marginal-cost inference. For example, the GLM Coding Plan described at $18 per month also has a five-hour refresh, a weekly cap, and lower off-peak usage pricing. Those terms can make a route attractive without making it capable of absorbing all production demand.
Record the plan version, quota window, reset timezone, eligible workload, and overflow route. Then model the blended cost: traffic served inside the plan plus traffic sent to the fallback when the plan is capped or unavailable. If the cheap capacity disappears during your busiest period, the fallback price and resulting latency are part of the real economics.
Recheck these assumptions whenever prices or plan terms change. Historical evaluation results remain useful for quality, but a cost conclusion tied to an old rate card should not silently drive a current routing decision.
Pass a task contract when you switch models
Model switching does not have to mean replacing the user’s working environment. GLM-5.3, for example, can run through separate launch paths in Claude Code and Codex while files, project instructions, permissions, MCP servers, hooks, tests, and review flow remain in place. The prior conversation does not automatically follow the new model. That boundary matters.
Do not ask the next model to reconstruct the job from a long transcript. Give it a compact six-field handoff:
- Outcome: the artifact or decision the run must produce.
- Current state: what has already been completed, attempted, and rejected.
- Inputs: the authoritative files, records, tools, and locations it may use.
- Constraints: permissions, prohibited changes, time limit, and run budget.
- Acceptance checks: the tests or reviewer criteria that define success.
- Stop and escalate: the conditions under which it must stop, preserve state, and hand control elsewhere.
This handoff improves more than model portability. It makes the work auditable. When two routes produce different costs, you can see whether they received the same objective and constraints instead of arguing from incomplete transcripts.
The resulting portfolio can stay simple: a low-cost lane for qualified volume, a premium lane for work whose quality delta is economically meaningful, and a recovery lane for human review or safe failure. Add more lanes only when your measurements show a distinct workload that needs one.
Key takeaways
- Use cost per accepted result as the primary economic metric; token price is only one input.
- Define acceptance before testing, and charge every retry, fallback, review minute, and failed run to the cohort that created it.
- Route work according to error detectability, reversibility, and consequence rather than assigning one model to an entire product.
- Cap spend, attempts, and time across the complete agent run, with explicit completion and escalation rules.
- Treat subscriptions, quotas, off-peak discounts, context handoffs, and overflow providers as parts of the production system.
Before you replace a default model, instrument one repeated task cohort and run the decision through this scorecard. Expand the cheaper route one task class at a time when its accepted-result cost falls without violating your quality, latency, capacity, or risk gates. If it cannot clear those gates, keep it out of that lane regardless of how attractive the rate card looks.
References
- Nate Jones’s Substack — Grab my six-line handoff and cost scorecard, then find out whether a cheaper model actually saved you money
- Substack AI Topic — 3 things in AI this week that actually matter








