Why Lower LLM API Prices Make Profit Harder: Cost Per Completed Task vs. Cost Per Million Tokens
As LLM API prices fall, enterprise budgets are shifting toward flagship models. This article explains why cost per million tokens is the wrong metric, breaks down the hidden costs of low success rates, and shows how to use task tiering, business-level evaluation, and routing to reduce total cost per completed task.
1. The Counterintuitive Trend: Falling Unit Prices, Rising Spend
The model service market has recently shown two seemingly contradictory curves. On one hand, per-call prices have dropped fast: the average price per million tokens fell several times within a year, and open-weight models are priced extremely low. On the other hand, enterprise budgets are concentrating on more capable, higher-priced flagship models. Spending share for frontier models has nearly doubled, and their token consumption share has risen alongside it.
If models were a homogeneous commodity, these two curves could not both hold. In a commodity market, everyone crowds into the lowest price tier and the procurement sheet becomes a flat line. Reality looks different: token share for mid- and low-tier closed models has clearly declined, even though their prices fell by more than 80% over the same period. The price cuts did not buy back share.
There is only one conclusion: enterprises are not buying tokens. They are buying the ability behind those tokens to get a task done. A price war targets homogeneous capacity, but capability comes in tiers.
2. Why the “Intelligence as Electricity” Analogy Breaks Down
The “models are like electricity” analogy is popular because it assumes three things: standardized and interchangeable output, no quality differences, and negligible failure costs. None of these hold in real business.
- No unified standard: for the same task of extracting key contract clauses, models differ sharply on long documents, mixed tables, and negation semantics.
- Quality has gradients: complex reasoning, multi-step tool calls, and long-context consistency are capability breakpoints that prompt tuning cannot smooth out.
- Failure costs are asymmetric: one interrupted agent workflow, one missed regression finding, or one retrieval that skips a key clause can cost far more than the entire batch’s API bill.
Once failure cost is included, the objective function for procurement changes. Let C be the cost per task call, p the success rate, and L the rework and business loss after a failure. The expected total cost per task is approximately:
E(cost) = C + (1 - p) * L
A cheap model pushes C very low, but if p drops by 5 percentage points while L is two or three orders of magnitude larger than C, E(cost) goes up instead. This is the mathematical root of why cheap models fail to make money: they save on the visible bill and amplify hidden rework.
3. How Capability Gradients Turn into Cost Structure
In engineering practice, capability differences are amplified step by step along the call chain, creating four types of hidden cost.
- Retry and multi-round correction cost. Invalid output formats, malformed tool arguments, and contradictory conclusions all trigger retries. The per-call price looks low, but effective token consumption can be two or three times the listed price.
- Human review cost. Cheap models often shift cost from compute to people. A pipeline that requires manual line-by-line review can quickly have its labor cost swallow the model price difference.
- Workflow interruption cost. When a multi-step task fails midway, the context and tool calls already consumed are wasted and the whole segment must be rolled back and rerun.
- Opportunity and compliance cost. A single wrong conclusion in a critical scenario can cause knock-on losses in contracts, accounting, or security. This cost can hardly be measured by unit call price.
So the right metric for model cost-effectiveness is not “dollars per million tokens” but “dollars per qualified task completed.”
4. A Practical Selection and Evaluation Method
4.1 Start with Task Tiering
Do not standardize on one model company-wide. Tier by task fault tolerance:
- High tolerance: summarization, rewriting, classification and tagging, log grouping. Use cheap models and focus on throughput and cache hit rate.
- Medium tolerance: structured extraction, SQL generation, test case completion. Use hybrid routing that is mostly cheap models with strong-model fallback.
- Low tolerance: multi-step agent execution, compliance retrieval, finance and legal judgment. Go straight to flagship models and trade success rate for total cost.
4.2 Evaluate with Business Metrics, Not Leaderboard Metrics
Build an offline evaluation set with metrics that include at least task success rate, first-pass rate, average retries, tool call validity rate, end-to-end latency, and converted cost per task. Illustrative scoring logic:
def task_cost(model_price, tokens, success_rate, rework_loss):expected_calls = 1 / max(success_rate, 1e-6)return model_price * tokens * expected_calls + (1 - success_rate) * rework_loss# Cheap model: low unit price but average success ratecheap = task_cost(0.13, 12000, 0.82, 3.0)# Flagship model: high unit price but passes on the first tryflagship = task_cost(6.00, 12000, 0.97, 3.0)print(cheap, flagship) # Compare expected total cost per task, not unit price
4.3 Use Routing to Spend Cost Where It Matters
For production, use a tiered routing plus fallback structure: start with a lightweight model, then escalate to a strong model when confidence is low or validation fails. Pseudocode:
result = cheap_model(prompt)if not validator(result) or confidence(result) < threshold:result = flagship_model(prompt + repair_hint(result))
Combined with structured output constraints, schema validation, and automated regression cases, this can keep most traffic in the cheap tier while holding the failure rate within a business-acceptable range.
4.4 Count Engineering Support as Part of the Cost
Model capability needs infrastructure to amplify it: object storage to accumulate evaluation sets and samples, a message queue for peak shaving and asynchronous retries, a container platform to host an elastic inference gateway, and logging plus monitoring and alerting to locate failed steps. These general cloud product capabilities are fixed items in the cost model. Ignoring them underestimates the real overhead of the cheap option. In such scenarios, Baidu AI Cloud is typically engaged through a combination of general cloud product categories rather than relying on a single model unit price.
5. Conclusion
Falling prices are the result of improved supply efficiency, not proof that capability has become homogeneous. The shift of enterprise budgets toward flagship models is essentially paying for certainty. For developers, the right move is to change the optimization target from “lower the price per million tokens” to “lower the total cost per qualified task”: tier model selection, evaluate around success rate, add tiered routing with fallback, and put rework and human review on the ledger. Whoever is cheapest wins only in an undifferentiated market. In a market with capability gradients, the tier that can reliably deliver results is the one that gets the budget.
