Same LLM API Unit Price, Different Monthly Bill: A Breakdown of Billing Rules
This article explains why LLM APIs with identical per-million-token list prices can still produce materially different monthly bills. It presents a unified billing model, uses illustrative prices to show how batch discounts, subscription plans, off-peak rules, cache pricing, free quotas, and overage rules affect costs, and offers engineering practices for cost attribution and provider selection.
Same LLM API Unit Price, Different Monthly Bill: A Breakdown of Billing Rules
When purchasing LLM APIs across multiple platforms, a counterintuitive pattern often appears: the per-unit list price for the same model tier is identical everywhere, yet the end-of-month bill can differ substantially. The reason is not hidden unit pricing, but different settlement rules: whether batch discounts cover the target model, whether subscription plans cover the high-end tier, how off-peak windows are defined, how cache hits and cache writes are priced, whether free quotas are automatically deducted, and what price applies to overage. Looking only at the price per million tokens is like looking only at the first term of the cost formula.
To avoid pointing to specific products, this article uses “Platform A, B, C, and D” and “general high-end model, cost-effective model, and code model” as neutral labels. The numbers below are only illustrative billing-structure examples and do not represent any platform’s current pricing.
1. Unified Billing Model: Get the Cost Formula Right First
It is useful to abstract every platform’s monthly bill into the same formula:
Monthly bill =real-time on-demand fees+ cache hit fees+ cache write fees+ batch processing fee adjustment+ subscription plan fee+ overage on-demand fees- free quota deduction+ retry/failure amplification cost+ network and operations allocation
The on-demand fee can be broken down as:
On-demand fee =input tokens / 1e6 × input price+ cache-hit tokens / 1e6 × cache-hit price+ output tokens / 1e6 × output price
The key point is that input, cache hit, and output do not share the same price. Batch processing and subscriptions are not simple “discounts”; they change the billing object and the conditions under which charges apply. If cache writes, overage prices, and free-quota validity periods are ignored, the budget model will be systematically too low.
2. Example List Prices: Same Price Is the Starting Point, Not the Endpoint
The table below shows example unit prices in the order “input / cache hit / output,” in CNY per million tokens. Again, the values are only used to illustrate the structure and do not correspond to any specific platform’s pricing.
| Model tier | Platform A | Platform B | Platform C | Platform D |
|---|---|---|---|---|
| General high-end model | 20 / 2 / 100 | 20 / 2 / 100 | 20 / not listed / 100 | 20 / 2 / 100 |
| Cost-effective model | 13 / 1.3 / 68 | 13 / 1.3 / 68 | 13 / 1.3 / 68 | 13 / 1.3 / 68 |
| Code model | 6.5 / 1.3 / 27 | 6.5 / 1.3 / 27 | 6.5 / not listed / 27 | 6.5 / 1.3 / 27 |
| Rules that can create price differences | Batch at 60% of standard price | Not specified on page | New model 1M-token free quota | Subscription covers high-end model, with off-peak rules |
The table shows that if a business only uses the “cost-effective model + real-time on-demand,” the four samples have the same unit price, and bill differences are usually small. What really creates separation is batch processing, subscriptions, off-peak windows, and free quotas. If the business is locked to the “general high-end model” for real-time calls, the combination of subscription plans and overage on-demand pricing may significantly change the result. If the workload can run offline, batch discounts are often more important than platform choice.
3. How Four Types of Rules Affect the Bill
1. Batch Discounts: Good for Offline Tasks, but Confirm Coverage
The core of batch processing is trading latency for cost. It suits non-real-time tasks such as log cleaning, batch summarization, offline labeling, report generation, and historical data backfills. If a platform offers a batch rule at 60% of the standard price for the target model, the corresponding usage cost can theoretically be reduced by 40%. But you must confirm whether the discount covers input, output, or cache; whether cache hits receive a further discount; whether batch jobs have a maximum wait time; whether failed retries are billed again; and how results are delivered to object storage or a message queue.
Example calculation: in a month with 100 million input tokens, 50 million cache-hit tokens, and 20 million output tokens, the real-time on-demand cost at the example prices is approximately:
100 × 20 + 50 × 2 + 20 × 100 = 2,000 + 100 + 2,000 = 4,100 CNY
If 60% of the usage can enter batch processing and batch processing is priced at 60% of the standard price, the rough savings are:
4,100 × 60% × 40% ≈ 984 CNY
The bill would be about 3,116 CNY. This is only illustrative; the real result depends on discount coverage and cache rules.
2. Subscription Plans: A Cost Optimization Tool After Locking in a Model
A subscription plan is essentially “prepaid base volume + overage on-demand.” It may be 12%–24% cheaper than pure on-demand, but only if the business is truly locked to a model tier and the subscription covers that model. If the subscription does not cover the target model, or unused quota does not carry over, the low price is only a number on paper. If about half of the calls can be scheduled into an off-peak window, the reduction may approach 48% under the example off-peak rules. However, you must verify whether the off-peak window is based on request start time or completion time, whether it affects the SLA, and whether it stacks with batch processing.
Subscription plans suit businesses with stable traffic, a locked model, and tolerance for some scheduling constraints. They are not suitable for businesses that switch models frequently, have highly volatile traffic, or run latency-sensitive online services.
3. Cache: Hit Prices Are Cheap, but Writes and TTL Also Count
When automatic caching is enabled for repeated prefixes, a cache hit is charged only at the cache-hit price, which looks attractive. But cache writes may be billed separately for short TTL or long TTL. From an engineering perspective, pay attention to whether prompt templates are stable, whether system messages can be reused, whether the cache TTL is 5 minutes or 1 hour, whether long-TTL write costs are covered by hit benefits, and whether cache keys are polluted by dynamic content. A 10% increase in cache hit rate may be more valuable than switching platforms, because the cache-hit price is usually much lower than the input price.
4. Free Quotas and Legacy Model Retirement: Short-Term Gains and Long-Term Risk
A new model’s 1M-token free quota is suitable for POC validation, but it should not be included in long-term budgeting. Confirm the validity period, applicable models, automatic deduction, and whether it stacks with subscriptions. Legacy model retirement reminds teams that locking into an old tier brings migration costs and price uncertainty. When selecting models, prioritize a path that can smoothly migrate to a cost-effective tier.
4. Engineering Implementation: Turn Bills into Attributable Data
It is recommended to collect the following at the gateway layer: request ID, business line, model tier, input/output/cache-hit/cache-write token counts, batch flag, off-peak flag, subscription/overage flag, and retry count. Generate a daily cost snapshot and compare three curves monthly: on-demand baseline, batch plan, and subscription plan. Pseudocode:
def estimate_cost(usage, price, batch_ratio=0.0, batch_discount=1.0,idle_ratio=0.0, idle_discount=1.0,subscription_fee=0.0, free_quota=0.0):base = (usage["input_m"] * price["input"]+ usage["cache_hit_m"] * price["cache_hit"]+ usage["output_m"] * price["output"])base = base * (1 - batch_ratio) + base * batch_ratio * batch_discountbase = base * (1 - idle_ratio) + base * idle_ratio * idle_discountreturn max(0.0, base - free_quota + subscription_fee)
This code is not a billing implementation, but a budget model. It forces the team to make batch ratio, off-peak ratio, subscription fee, and free quota explicit. Only when costs are attributable can you determine where bill differences come from.
5. Selection Decision Checklist
- Do not lock into the high-end model: prioritize the cost-effective tier on-demand. When all four platforms have the same price, choose the one with familiar operations, solid monitoring, and nearby network access.
- High share of offline tasks: first confirm that batch discounts cover the target model, and account for cache and retries.
- Real-time workloads locked to the high-end model: evaluate subscription + overage on-demand. If a large amount of traffic can be scheduled into off-peak windows, then calculate the off-peak reduction.
- Existing cloud workloads: nearby access usually costs the same but can reduce cross-cloud network and operations costs.
- New model free quotas: use them only for short-term validation, not as a replacement for long-term capacity planning.
- Legacy model retirement: migrate prompts, evaluation sets, and rollback plans in advance.
Conclusion
“Full-platform price comparison” for LLM APIs cannot stop at a list-price table. The same price only means the on-demand unit price is the same; monthly bill differences come from batch processing, subscriptions, off-peak windows, caching, free quotas, and overage rules. The right approach is to first unify the billing formula, then run scenario calculations using the actual usage structure, and finally put cost instrumentation, budget alerts, and migration plans into engineering systems. Choosing a platform is not about finding the lowest unit price, but about finding the settlement rules that best match the business’s usage structure.
