Why Cheap AI Models Fail to Make Money: A Cost-of-Failure Framework for Model Selection
This article examines a counterintuitive pattern in enterprise AI spending: open-source and small models keep getting cheaper but lose token share, while frontier closed models grow more expensive and expand their share. It explains the gap through total cost of ownership, showing how failure cost, retry overhead, and variance reduction drive budget allocation. You will find a five-level task routing framework, routing pseudocode, required guardrails, and a minimum observability metric set for measuring effective task cost.
1. A Counterintuitive Spending Structure
A survey covering nearly 400 enterprise technical decision-makers found that participating companies spend more than $4 billion annually on AI-related initiatives. The most closely watched figure: within open-source model invocation spending, about 89% goes to Chinese vendors, with the top few vendors together holding more than 80% of that share, while a long-established Western open-source model family accounts for only a single-digit percentage.
One qualification must be stated immediately: that 89% is a share within open-source model spending, not a share of total enterprise AI spending. The distinction matters because the same report contains another set of numbers. Enterprise budgets are shifting toward frontier closed models at an accelerating pace: their share of spending rose from roughly 35% to 63%, and their share of token consumption rose from 18% to 42%. Over the same period, small closed models saw their token share fall from 29% to 13%, even as their prices dropped by more than 80%.
This produces the core paradox of this article:
- Open-source and small models: unit prices keep falling, with the average price per million tokens dropping about 3.3x in a year to around $0.13, yet the share gains never materialized.
- Frontier closed models: higher unit prices, with both spending share and token share roughly doubling.
The cheap tier is getting cheaper, but making money is getting harder. The expensive tier is getting more expensive, yet its share keeps expanding. Explaining this requires answering one question first: what are enterprises actually paying for?
2. Why the “Intelligence as Electricity” Analogy Breaks Down
A popular claim over the past two years is that intelligence will become a metered public utility like electricity: homogeneous, substitutable, and won by whoever is cheapest. The analogy holds on the cost curve and fails on procurement behavior.
Electricity markets assume homogeneity and substitutability: a kilowatt-hour is a kilowatt-hour, and the only difference is transmission and distribution loss. If intelligence truly worked this way, the enterprise procurement sheet would be a flat line, with every workload crowding into the cheapest tier. Reality is the opposite: the tier that cut prices by more than 80% saw its share cut in half.
A closer analogy is the labor market. Cutting an average employee’s pay by 80% does not lead a company to replace its best people with that employee, because what a salary buys is not hours worked but the probability that the hardest problems get solved when it matters. Tokens work the same way: they are a unit of billing, not a unit of value.
3. Factoring the Cost of Failure into Total Cost
Let the price of a single call for a task be c, the task success rate be p, and the cost of rework, human intervention, and business loss caused by one failure be L. The expected cost of completing one effective task is:
E(cost) = c + (1 - p) * (L + c_retry)
What matters is the difference in the magnitude of L:
- Copy polishing, summarization and extraction: L is close to 0, and cheap models are almost always optimal.
- Multi-step agent tasks: a broken chain mid-execution requires replaying context, and c_retry is several to tens of times c.
- Repository-level code changes and long tool-call chains: a single failure can pollute a branch or break the build, putting L in the range of human-hours.
- Legal research, compliance review, financial reconciliation: missing one item can mean contract risk or regulatory penalties, so L has long-tail extremes.
Substitute L into the equation and it becomes clear that when L is large enough, the expected gain from raising p by a few percentage points easily covers a multiple—or a multiple of tens—of the unit price difference. This is the fundamental reason budgets flow against the price curve: enterprises are paying to compress variance, not to buy a cheaper mean.
4. Task Tiering: Treat Model Selection as a Routing Problem
The rational engineering approach is not either/or but routing by task risk level. A practical tiering framework:
| Tier | Task Characteristics | Cost of Failure | Selection Preference |
|---|---|---|---|
| L0 | Format conversion, field extraction | Very low | Small/open-source models |
| L1 | Summarization, classification, rewriting | Low | Small model + rule-based validation |
| L2 | Multi-step tool calls | Medium | Mid-tier model + retries and assertions |
| L3 | Code changes, complex reasoning | High | Frontier model |
| L4 | Compliance, legal, financial | Very high | Frontier model + human review |
A sketch of the routing skeleton (pseudocode, with interfaces expressed as generic capability abstractions):
def route(task):if task.risk_level <= 1 and task.budget_sensitive:return small_model_clientif task.risk_level == 2:return mid_model_client.with_policy(retry=2, assert_schema=True)return frontier_model_client.with_policy(verify=True, human_review=task.risk_level >= 4)
The accompanying guardrails matter more than the model choice itself: structured output validation, idempotent tool-call design, rollback on failure, and assertions plus human gates on critical paths. These mechanisms set the floor for p, which directly determines whether L gets triggered.
5. Observability: No Measurement, No Optimization
Making the cost model actually run requires three foundational capabilities (all generic cloud capability categories): a logging service to retain call chains and failure reasons, monitoring and alerting to track success rates and latency percentiles, and a message queue for peak shaving and asynchronous replay. The minimum viable metric set:
- Effective task cost = total spend / number of tasks that passed validation (not total number of calls)
- First-pass rate, rework rate, human takeover rate
- Failure attribution distribution: context limit exceeded, tool timeout, invalid schema, model hallucination
- Cost per unit of business output: per thousand lines of effective code, per compliance report
Counting only token consumption leads to wrong conclusions, because it counts failed calls as output.
6. Conclusion
Falling prices are a supply-side efficiency dividend; share flowing to the expensive tier is demand-side risk pricing. The two do not contradict each other. The high share of open-source models shows it already has overwhelming cost-performance in the low-risk, high-concurrency range; the high spending on frontier models shows the premium for complex tasks is genuinely being paid. The right posture for enterprises is to build tiered routing and a cost-of-failure model, then continuously calibrate with observability data rather than betting on a single tier. On platforms such as Baidu AI Cloud, these capabilities are typically assembled from generic components like model services, container platforms, and logging and monitoring; the selection logic matches the framework in this article.
