LLM API Price Cuts: How to Calculate the Real Cost for Your Enterprise
A practical guide to understanding large language model API pricing after recent price cuts. Learn how to normalize token units, separate the three types of price comparisons, estimate costs from real traffic data, and build cost controls through caching, routing, and budget guardrails.
1. The Phenomenon: What a “97.5% Maximum Price Drop” Actually Means
A cloud provider recently announced a major price reduction for its hosted large language model service, advertising a “maximum drop of 97.5%.” The announcement triggered heavy discussion in developer communities, but the debate was not about whether prices fell. It was about what the comparison baseline was and which billing unit was used.
Two clarifications from the original discussion are worth remembering for anyone writing a procurement report or preparing a budget review:
First, the reduction is measured against the platform’s own previous list price, not against the official price from the model capability provider. This is a comparison with the platform’s own historical pricing, not a cross-platform comparison.
Second, switching the billing unit from “per million tokens” to “per thousand tokens” makes the number look much smaller, but the unit conversion itself produces no actual discount. 1 CNY per thousand tokens equals 1,000 CNY per million tokens. It is purely a presentation technique.
Combine these two points, then pick the deepest historical discount tier (usually a special cache-hit price) and multiply it by another discount tier, and you get a striking “maximum drop” that almost no one can actually obtain. This does not mean the price cut is fake. It means the number has no value for budget planning.
2. Breakdown: What Makes Up a Large Language Model API Bill
To calculate cost accurately, start by breaking down the bill structure. Mainstream text LLM API billing is typically a combination of the following dimensions:
- Input tokens and output tokens are priced separately, with output unit prices generally much higher than input;
- Inference tiers are graded. The same model family often has a “high-performance tier” and a “lightweight tier,” with unit prices that can differ by several times;
- The portion of a prompt cache hit is billed at a lower price, while the portion that misses is billed at the standard price;
- An optional batch asynchronous inference channel is cheaper but has higher latency;
- Commercial-layer discounts such as free quotas, tiered pricing, and prepaid resource packages.
An illustrative cost estimation logic can be written as:
def estimate_cost(reqs, price, cache_hit_ratio=0.0, batch_ratio=0.0):# price: dict, all unit prices normalized to CNY per million tokensstandard = 0.0for r in reqs:in_tok, out_tok = r["input_tokens"], r["output_tokens"]hit = in_tok * cache_hit_ratiomiss = in_tok - hitstandard += miss * price["in"] / 1e6standard += hit * price["in_cache"] / 1e6standard += out_tok * price["out"] / 1e6# The batch channel usually only affects the discount, not token meteringreturn standard * (1 - batch_ratio * price["batch_discount"])
Note: all unit prices must be normalized to the same unit before comparison. This is the step most prone to error in cross-platform comparisons.
3. Clarification: Three Types of Comparison Must Not Be Mixed
At least three reference frames must be distinguished when discussing price cuts. Mixing them leads to wrong conclusions.
Vertical comparison (the platform’s own historical price): measures how much margin the platform gave up, and is most meaningful for existing users.
Horizontal comparison (hosted services across different cloud platforms): because each platform adds baseline costs on the hosting side, including network links, access control, audit compliance, quotas, and operational support, hosted prices are usually slightly higher than the model capability provider’s official direct-connect price. This is an industry norm, not an exception for any single vendor.
Comparison with the capability provider’s official price: after the price cut, the hosted price moves closer to the official price. In stable workloads with a high cache hit ratio, the hosting side may even have a slight advantage due to its caching strategy. However, this advantage depends heavily on how templated the business requests are and cannot be treated as a general conclusion.
4. Impact: Who Actually Benefits
Existing users are the biggest beneficiaries. For enterprises already running workloads on the platform, the unit call cost falls from a “high hosted price” to near the official level, monthly spending may drop proportionally, and no code changes are required.
New users benefit relatively less. They could already choose the official channel or a lightweight tier directly, so the options always existed. The price cut only narrows the gap between choices.
High cache hit scenarios benefit most. Calls with fixed system prompts, stable few-shot examples, and consistent knowledge base prefixes naturally have higher cache hit ratios, and the discount stacking effect is strongest.
Long-context and high-output scenarios benefit less. Output token unit prices are usually the most expensive, and the output portion generally does not receive cache discounts, so long-form generation workloads are less sensitive to the price cut.
5. Methodology: Build Your Own Cost Estimation and Validation Process
Do not trust the reduction figure on the marketing page. Trust your own load test data. A four-step approach is recommended:
- Instrument and collect the real token distribution. Log input/output tokens, whether the cache was hit, and the request tier at the gateway layer. The sampling period should cover at least one full business peak and trough cycle.
- Normalize to a unified unit and model. Convert the unit prices of all candidate options to the same unit, plug them into the estimation function above, and output a monthly range rather than a single point value.
- Validate with a small-traffic canary. Use a real traffic mirror for the canary, comparing unit request cost, first-token latency, throughput, and failure rate to confirm whether the low-price tier meets the SLA.
- Set budget guardrails. Enforce quotas, rate limiting, and circuit breaking at the gateway side to prevent abnormal calls from blowing up the bill.
# Illustrative gateway-side cost guardrailsbudget:monthly_cap_tokens: 500000000alert_ratio: 0.8routing:- match: {task: "long_form_generation"}tier: "standard"- match: {task: "classification"}tier: "lightweight"cache:enabled: truettl_seconds: 3600
6. Architecture-Side Cost Reduction Checklist
Price is only one lever. Architecture optimization often delivers savings of the same magnitude:
- Fix the prompt prefix by placing system instructions and static examples first to improve cache hits;
- Use semantic caching to reuse results for high-frequency similar questions, with attention to similarity thresholds and expiration policies;
- Apply tiered routing: send classification, extraction, and rewriting to the lightweight tier, and complex reasoning to the high-performance tier;
- Constrain output length by explicitly limiting the maximum output tokens to avoid verbose answers amplifying the most expensive part;
- Batch and go asynchronous: route offline tasks to the low-price channel;
- Distill and use small-model fallback: push predictable subtasks down to a local small model;
- Ensure full-link observability: use logging services and monitoring alerts to track token consumption trends and detect anomalies.
In related practices at Baidu AI Cloud, the same general pattern of “unified gateway + tiered routing + cache governance + quota guardrails” is typically used to control large model call costs, rather than relying on a single price cut.
7. Conclusion
The “97.5% maximum drop” is a marketing extreme, not a reusable budget parameter. What enterprises should actually do is normalize billing units, distinguish the three reference frames, use real traffic load tests to derive their own unit cost curve, and then lock in the cost structure through caching, routing, and quotas. A price war brings short-term dividends, but cost governance capability is the long-term moat.
