LLM API Price Increases: From Pricing Strategy to Model Selection
This article examines why flagship LLM API prices can rise sharply, what output, input, and cache-hit pricing reveal about inference cost structure, and how teams should evaluate cost per task. It also compares pay-as-you-go APIs with subscription plans and outlines practical engineering steps for reducing costs through prompt efficiency, prefix caching, model routing, output control, and cost monitoring.
LLM API Price Increases: From Pricing Strategy to Model Selection
1. The Phenomenon: Why Flagship Model Pricing Can Jump Suddenly
Recently, the industry has seen a noteworthy signal: a vendor’s new-generation flagship model introduced per-token API pricing several times higher than the previous generation. The output unit price reached the hundred-yuan level per million tokens, input was about one-fifth of that, and cache-hit pricing was as low as around one percent of output. This pricing structure itself contains a great deal of information and is worth breaking down item by item.
1. Output costs more than input, and the gap is widening
In LLM inference, output tokens are far more computationally expensive than input tokens. The reason is that the input, or prompt, can be highly parallelized, while output is generated autoregressively. Each token depends on the preceding result and cannot be parallelized, so GPU utilization is naturally lower. Therefore, “output unit price > input unit price” is an industry norm, usually with a difference of 3 to 5 times. When a new-generation model widens this multiple further, it suggests that decoding accounts for a higher share of its inference cost structure. This is often related to a larger model scale or more complex reasoning strategies, such as long chain-of-thought.
2. Extremely low cache-hit pricing is a clear steering signal
Cache-hit pricing at roughly one percent of output almost teaches users how to optimize their API calls. Context caching refers to reusing the KV cache for repeated prefixes, such as system prompts, long documents, and few-shot examples, to avoid repeated computation. The huge discount in pricing is essentially the vendor guiding users to restructure their calls into a “stable prefix + dynamic suffix” pattern.
3. Why a price increase may actually reflect technical progress
One counterintuitive but reasonable explanation is that the new-generation model is significantly more capable, reducing the number of calls and post-processing costs required for a single task. If an old model needs five calls plus a large amount of external remediation logic to complete a task, while the new model completes it in one call, then even if the unit price is five times higher, the end-to-end cost may still be lower. Price evaluation should not look only at unit price; it should look at the total cost of completing a unit task, or cost per task. That is the correct engineering metric.
2. Cost Logic: Three Key Variables Beyond Unit Price
For technical selection, it is advisable to calculate costs in the following form:
Task total cost ≈ Σ (input tokens × input unit price+ cached tokens × cache unit price+ output tokens × output unit price)× number of calls+ failure and retry cost
From this, three key variables can be extracted:
- Token efficiency: For the same task, better or worse prompt writing can lead to several-fold differences in token consumption. Removing redundancy from system prompts, using fewer long few-shot examples, and tightening output format constraints can directly reduce costs.
- Cache hit rate: Keep unchanged prefixes fixed. The higher the hit rate, the lower the effective input cost. For long-session Agent applications, this area offers substantial optimization potential.
- Number of calls: Routing strategy is critical. Simple tasks should go to smaller models or lower-cost tiers, while only complex tasks should use flagship models. Relying on a single flagship model for everything is uneconomical in an era of high unit prices.
3. Two Payment Models: Pay-as-You-Go API vs. Subscription Plans
For individuals and teams, there are two common payment paths, each suited to different scenarios:
Pay-as-you-go API
- Advantages: Fully elastic, pay for what you use. Suitable for businesses with unpredictable traffic and for online production services.
- Disadvantages: Costs grow linearly with usage and are difficult to budget. With high-priced flagship models, bills for long-context heavy tasks can easily spiral out of control.
- Suitable for: Consumer-facing product backends, batch processing pipelines, and formal services requiring SLA and concurrency guarantees.
Subscription plans (such as Coding Plan)
- Advantages: A fixed monthly fee in exchange for a quota makes costs predictable, suitable for frequent individual use. Common industry tiers range from tens of RMB for entry level to hundreds of RMB for advanced levels. Lower-priced tiers usually limit available models or context length, while higher-priced tiers unlock full capabilities.
- Disadvantages: When quota rules are opaque, such as conversion into “roughly how many requests,” the actual usable amount may fluctuate. Restrictions on model versions and context windows, such as 256K versus 1M, need to be checked carefully across tiers.
- Suitable for: Daily coding assistance for developers, individual Agent experiments, and small-team internal tools.
Selection recommendations:
- Individual developers with frequent daily use → subscriptions are more cost-effective; prioritize checking “quota conversion rules” and “models/context unlocked by each tier.”
- Production businesses with highly variable traffic → pay-as-you-go APIs plus strict multi-model routing and cache optimization.
- Hybrid scenarios → use subscriptions for internal development and APIs for online services, with separate accounting for the two.
4. Engineering Cost-Reduction Checklist
Regardless of which model is chosen, the following practices are worth implementing:
- Prompt slimming: Regularly audit system prompts and remove low-value content; use structured instructions instead of long descriptions.
- Prefix cache design: Place system prompts, tool definitions, and stable documents at the very beginning of the prompt and keep them byte-for-byte consistent to maximize cache hits.
- Tiered routing: First use a low-cost model to assess task complexity, then decide whether to escalate to a flagship model.
- Output control: Limit maximum output length, require structured output such as JSON, and reduce ineffective generation.
- Cost monitoring: Record token consumption for each call, build cost dashboards by functional module, and set anomaly alerts. Example:
cost = (input_tokens * price_in+ cached_tokens * price_cached+ output_tokens * price_out)log_cost(api="chat", module="agent_planner", cost=cost)if cost > THRESHOLD:alert("Single-call cost exceeded threshold; check prompt and routing strategy")
5. Final Thoughts
A flagship model price increase is not simply “getting more expensive.” It is a natural result of the industry evolving toward capability-based pricing: stronger models, more expensive decoding, and cheaper caching together form a new cost game. For developers, rather than complaining about unit prices, it is better to focus on token efficiency, cache design, and model routing. For the same task, the cost-reduction potential of engineering optimization is often greater than the price fluctuations from vendors themselves. A rational view of price changes and the use of cost per task as the measure are what technical teams should adopt.
