How to Rationally Evaluate a 5x LLM API Price Increase
This article breaks down LLM API pricing into four variables—unit price, token usage, cache hit rate, and plan leverage—and shows why comparing unit prices alone is misleading. It explains how to calculate per-call cost, measure plan leverage for heavy users, estimate average per-task token consumption from real request samples, and apply practical optimizations such as stable prefixes, context trimming, output constraints, tiered routing, and observability to offset price increases.
1. Break “Expensive” into Computable Variables
When a new-generation model costs several times more than its predecessor, with output reaching the range of a hundred yuan per million tokens, the instinctive reaction is “too expensive.” But in an engineering context, price is never a single number. It is the product of four variables: unit price × token usage × cache hit rate × plan leverage. Any conclusion based on unit price alone is almost certainly distorted.
The bill for a single call can be abstracted as:
cost per call = input tokens × input price × (1 - cache hit rate)+ input tokens × cache hit price × cache hit rate+ output tokens × output price
The cache hit price is typically only a fraction of the input price. This is why a structure like “input 20, cache hit 1” can reduce actual spending by an order of magnitude in long-context scenarios with repeated prefixes.
2. Compare Plan Leverage, Not Just Unit Price
The most valuable observation in the original discussion is to compare the subscription fee against the usable quota—in other words, how much actual usage each unit of subscription fee can unlock. This “leverage multiplier” is the core metric for evaluating a product’s value. A 20x leverage means a 20-yuan subscription can support roughly 400 yuan of usage. If leverage is only 6x to 14x, even a seemingly low absolute price offers worse value for heavy users.
The reason is that cost structures differ: light users buy unit price, while heavy users buy leverage. When the leverage multiplier is low, heavy usage quickly hits the ceiling, forcing pay-as-you-go billing. The cost curve then shifts from linear to steep. Evaluation should include two scenarios:
| User type | Key metric | Risk |
|---|---|---|
| Light / trial | Unit price, free quota | Almost no risk |
| Heavy / production | Leverage multiplier, quota policy | Uncontrolled cost after hitting the ceiling |
3. The Real Variable Is Per-Task Consumption
The same model can consume several times more tokens on different tasks. Long-document understanding, multi-turn tool calls, and code-base-level retrieval augmentation all significantly increase input-side consumption, while short Q&A and formatted extraction consume very little. Therefore, the “average per-task consumption” must be regressed using real samples from your own workload rather than generic leaderboards.
The recommended approach: extract 100 to 200 real requests, measure the distribution of input, output, and cache hits, then plug them into the unit price formula to obtain P50 and P95 costs. Example code:
def estimate(reqs, in_p, cache_p, out_p):total = 0.0for r in reqs:hit = r.in_tok * r.cache_ratiototal += (r.in_tok - hit) * in_p + hit * cache_p + r.out_tok * out_preturn total / len(reqs)
4. Optimization Checklist: Offset the Unit Price Increase
- Stable prefixes: Keep system prompts, tool definitions, and few-shot examples fixed at the very beginning of the request to maximize cache hits.
- Context trimming: Rerank and deduplicate retrieved fragments, keeping only highly relevant passages instead of injecting entire documents.
- Output constraints: Use structured schemas to limit output length, since the output-side unit price is usually the highest.
- Tiered routing: Send simple requests to smaller models and escalate complex ones, reducing cost by several percentage points.
- Observability: Integrate logging services and monitoring alerts, and tag token statistics by business dimension to locate cost hotspots.
5. Conclusion
The rational response to a price increase is not to declare it expensive or cheap, but to return to a computable framework: confirm the leverage multiplier, measure per-task consumption, and treat cache hit rate as a first-class optimization target. If the leverage multiplier and usage quota cannot match heavy scenarios, even the lowest unit price will not translate into real product value. Conversely, architecture-level caching and routing optimizations are often more effective than waiting for the next price cut. In related practices at Baidu AI Cloud, building a unified cost observability pipeline with object storage, container platforms, and monitoring alerts is a common approach to controlling LLM spending.
