How to Rationally Evaluate a 5x Increase in LLM API Pricing
This article explains why a higher per-token price does not automatically mean higher costs. It breaks down the four token categories that mainstream LLM API pricing usually distinguishes, shows how task shape (generation, chat, extraction) determines the real bill, and gives a formula for converting subscription plans into pay-as-you-go equivalents. It also lists five engineering techniques—prefix stabilization, context pruning, output constraints, tiered routing, and observability—to reduce spending, and concludes that the right criterion is the effective cost per task under your own usage profile.
1. The Phenomenon: A Higher Unit Price Is Not the Same as Losing Control of Costs
A new round of price adjustments has recently appeared in the industry. One general-purpose LLM now charges roughly five times what the previous generation did: on the order of 100 (currency units) per million tokens on the output side, around 20 per million on the input side, and only about 1 per million for cache hits.
The two most common reactions in discussion threads—“the benchmark scores are high, so the price is justified” and “it is still far cheaper than the overseas flagships”—both skip the most important step: converting the unit price into an actual bill.
A unit price is a sticker price; the bill is the cost. For the same model, the bill can differ by one to two orders of magnitude depending on the shape of the workload. So evaluating a price increase requires a three-layer model: pricing structure, usage structure, and plan leverage.
2. Breaking Down the Pricing Structure: Four Token Types, Four Prices
Mainstream platforms typically split tokens into four billing categories, with very large price differences:
| Billing item | Relative price | When it is generated |
|---|---|---|
| Output tokens | Highest | Answers, code, and structured results produced by the model |
| Input tokens (cache miss) | Medium | Prompts, context, and retrieved snippets sent with each request |
| Cache-hit tokens | Lowest (often under one tenth of input) | Repeated context with an identical prefix |
| Cache-write tokens | Slightly above regular input | Context written to the cache for the first time |
Illustrative calculation (it demonstrates the method only and does not represent any real pricing):
def estimate_cost(reqs, price):# price: unit = currency units per million tokenscost = 0.0for r in reqs:cost += r["in_miss"] * price["in"] / 1e6cost += r["in_hit"] * price["hit"] / 1e6cost += r["cache_w"] * price["cw"] / 1e6cost += r["out"] * price["out"] / 1e6return cost
Key takeaway: a fivefold increase in the output price is a disaster for workloads with a high output share, and nearly imperceptible for workloads with a high input share and a stable prefix.
3. The Real Bill Depends on the Task Shape
Group tasks by their input-to-output ratio:
- Generation (writing, code generation, long-document summarization): output can account for 30–50% of tokens, so the increase passes through most directly.
- Conversational (customer support, assistants): multi-turn history keeps accumulating, so the input share is high and the cache hit rate is high too, which significantly dilutes the increase.
- Extraction (classification, tagging, structured output): long input, very short output, so the cost is driven almost entirely by the input-side price.
That makes “how many tokens does an average task consume” the core metric. Teams should collect the real usage distribution from their logging service before arguing about whether the price is high.
4. Converting Subscription Plans and Pay-as-You-Go Correctly
The core confusion in the original discussion is “how much equivalent usage does a plan include.” The rigorous approach is a conversion formula:
Plan leverage = usable quota inside the plan ÷ plan priceActual cost = max(0, real bill - plan quota) + plan price
Watch three traps: the quota is usually counted as a converted monetary amount rather than a token count; output and cache hits carry different weights when converted; and once the quota is exhausted, billing typically falls back to the pay-as-you-go unit price. Only by plugging these three points in can you tell whether a given plan tier is actually worth it. As a rule of thumb, teams with volatile usage should prefer pay-as-you-go, and only teams with stable, predictable usage should consider a monthly or annual commitment.
5. Five Engineering Techniques for Cost Optimization
- Prefix stabilization: put the system prompt, tool definitions, and few-shot examples at the very front and avoid dynamic concatenation such as timestamps, to maximize cache hits.
- Context pruning: in retrieval-augmented scenarios, rerank and remove redundancy first, keeping only the necessary snippets.
- Output constraints: use structured output and length limits to control generation-side consumption.
- Tiered routing: send simple requests to a smaller model and escalate only complex ones.
- Observability: build monitoring and alerting dashboards for token usage, cache hit rate, and cost per task.
request -> normalized prefix -> cache lookup -> billed at the low rate on a hit-> on a miss, prune context -> tiered routing -> output length limit
6. Conclusion
A price increase by itself is not grounds for rejecting a model. The real criterion is whether, under your own usage structure, the effective cost per task still beats the alternatives. Measure the share of the four token types first, then use the plan conversion formula to work out the leverage, and finally use caching and routing to push the bill down. This process applies to any model and any cloud platform’s pricing change, and it is the most reliable way to respond to the next increase.
