LLM Model Selection in 2025: Why Cost per Successful Task Beats Token Price
This article explains why mid-tier large language models are becoming the new cost-performance sweet spot as prices drop and capabilities improve. It breaks down the real cost structure behind token pricing, highlights key gains in coding and computer-use tasks, and introduces a four-step selection framework based on task tiering, effect baselines, and cost per successful task. Readers will also find practical engineering levers such as prefix caching, context trimming, output constraints, and observability, along with common pitfalls to avoid.
1. The Shift: Mid-Tier Models Are Getting Cheaper and Better
A recent update to the mid-tier of a leading model series deserves attention. Following the series’ usual celestial naming convention, this tier is named “Earth” and sits between the high-end and low-cost tiers. It targets everyday office work and computer-operation automation, competing directly with the industry’s mainstream mid-tier models.
What caught engineering teams’ attention was not the name but two changes happening at the same time: call prices dropped significantly, while key capability metrics went up.
The publicly shared figures are roughly as follows:
- Price: about $1 per million input tokens, about $5 per million output tokens, and about $0.05 per million cached input tokens;
- The previous generation at the same tier was $2 input and $12 output, meaning input dropped by about half and output by nearly 60%;
- Third-party benchmark estimates show that at the highest reasoning effort, average cost per task fell from about $1.40 to about $0.40, less than a third of the original, while the intelligence index rose from 42 to 48;
- Capability: a terminal-task benchmark’s completion rate at the highest effort improved from 21.5% to 50.3%; in agentic tests it matched higher-end flagship tiers, while token unit price was only one-tenth of theirs and completion speed was more than three times faster;
- Reliability: the rate of “hard guessing” under uncertainty dropped from 88% to 38%.
It is worth emphasizing that these numbers come from specific benchmark setups and cannot be directly extrapolated into business metrics. But they point to a clear engineering signal: the cost-performance inflection point for the mid-tier is emerging.
2. Cost Structure: Why Unit Price Can Mislead
Many teams compare only the listed price per million tokens when selecting models, which is the easiest trap to fall into. The real bill is determined by four variables together:
- Input token volume (including system prompts, conversation history, and retrieved snippets);
- Output token volume (including reasoning traces and structured results);
- Cache hit rate (which determines the effective unit price of repeated prefixes);
- Number of call rounds required to complete a task (failed retries can multiply costs).
A simplified formula can express this:
cost per task ≈ rounds × (input tokens × input price × (1 - cache hit rate × discount)+ output tokens × output price)
Plugging in the public data above reveals the key point: the price cut is only the first layer of savings, the extremely low cached-input price is the second, and “higher completion rate and fewer retries” is the third—and the largest. The drop to one-third of the original cost comes mainly from fewer rounds, not from the sticker price.
This explains a counterintuitive phenomenon: a model with a higher sticker price that gets it right the first time is often cheaper than a cheaper model that needs three retries.
3. Capability: Why Coding and Computer Use Are the Key Variables
The two areas with the most obvious improvement in this mid-tier update happen to be the two hardest in automation deployment.
- Terminal and command-line tasks: require the model to read output, diagnose errors, and adjust commands in a real environment. This is a multi-step closed loop with extremely high demands on error recovery. Completion rate rising from 20% to 50% means the set of automatable tasks expands significantly.
- Agentic operation: requires long-context retention, tool-call consistency, and no goal drift across steps. Matching the flagship tier while being more than three times faster directly compresses end-to-end latency.
The drop in “hard guessing” from 88% to 38% is the most valuable change on the reliability dimension. For engineering systems, a model saying “I don’t know” is more useful than giving a wrong answer, because the former can be routed, fall-backed, or handed to a human, while the latter pollutes downstream state.
4. Selection Method: Turning “Good Enough” into Measurable Metrics
Break selection into four steps to avoid subjective judgment.
Step 1: Define task tiers. Classify business tasks into L1 high-frequency simple (classification, extraction, rewriting), L2 medium-frequency multi-step (report consolidation, script generation, form filling), and L3 low-frequency high-difficulty (complex troubleshooting, long-chain refactoring).
Step 2: Set effect baselines for each tier. Use automatically judgeable metrics such as structured-output field accuracy, unit test pass rate, and task completion rate, rather than subjective human ratings.
Step 3: Calculate total cost of ownership. Include cost per task, latency, and retry rate together to form a comparable “cost per successful task”:
cost per successful task = cost per task / task success rate
This metric corrects the illusion that “a cheaper model is more cost-effective.”
Step 4: Implement tiered routing. Send L1 to the low-cost tier, L2 to the mid-tier mainstream, and only escalate L3 to the high-end tier, while keeping a human fallback.
Illustrative routing logic:
def route(task):if task.risk == "high" or task.steps > 8:return "flagship" # high-end tier, low-frequency high-difficultyif task.steps > 2:return "mid" # mid-tier mainstream, everyday automationreturn "cheap" # low-cost tier, high-frequency simple
5. Engineering Practice: Four Levers to Cut Costs
Stable prefixes and cache friendliness. Put system prompts, tool descriptions, and fixed examples at the front and avoid frequent changes; put variables at the end. The more stable the prefix, the higher the cache hit rate—this is currently the most direct cost-reduction lever.
Context slimming. Re-rank and truncate retrieved snippets first, and summarize and compress conversation history to avoid repeatedly feeding in irrelevant content. Input tokens usually make up the bulk of the bill.
Output constraints. Use structured formats to constrain output and turn off unnecessary long reasoning to reduce output tokens; raise reasoning effort separately only for tasks that need deep thinking.
Observability. Log token distribution, cache hits, rounds, success rate, and failure reasons for every call, forming dashboards and alerts. No measurement, no optimization.
A simplified call and accounting skeleton:
def call(model, messages, cache_hint):resp = client.chat(model=model, messages=messages)usage = resp.usagelog_metrics(model=model,input_tokens=usage.input_tokens,cached_tokens=getattr(usage, "cached_tokens", 0),output_tokens=usage.output_tokens,cache_hit_ratio=usage.cached_tokens / max(usage.input_tokens, 1),task_success=verify(resp),)return resp
6. Common Pitfalls
- Looking only at unit price, ignoring success rate and rounds;
- Treating benchmark scores as business performance directly, ignoring distribution differences;
- Frequently changing cache prefixes, causing the hit rate to stay near zero;
- Using the highest reasoning effort for all tasks, leading to runaway costs;
- Lacking a fallback strategy and still forcing write operations when the model is uncertain.
7. Conclusion
The essence of the mid-tier’s “cheaper and better” shift is that competition is moving from peak capability to cost per successful task. The practical advice for developers is: establish task tiering and effect baselines, use “cost per successful task” as a unified comparison, and bring costs into a predictable range through tiered routing, cache-friendly design, context governance, and runtime monitoring. In platform environments such as Baidu AI Cloud, these methods can be implemented by combining general capabilities like container platforms, message queues, object storage, and monitoring alerts, forming a sustainable model-invocation system.
