LLM API Pricing: Why Identical Rates Can Still Mean Very Different Monthly Bills
Comparing LLM API costs by looking only at per-token input/output rates is not enough. This article breaks down the four real components of a model API bill—input tokens, cached tokens, output tokens, and billing rules such as Batch discounts, subscriptions, off-peak pricing, and free quotas—and shows how these factors can make monthly costs differ by nearly half even when list prices are identical. It also covers cache billing mechanics, regional price differences, a reusable cost-modeling framework, and scenario-based recommendations for real-time, batch, large-scale, and experimental workloads.
1. Look Beyond Unit Price: API Cost Has Four Components
When comparing LLM API pricing, many teams focus only on “cost per million input tokens” and “cost per million output tokens.” This works as a rough first filter, but it cannot explain an actual bill.
A complete model invocation cost can usually be broken down into:
- Input token fees: covering the user’s question, system prompts, conversation history, and retrieved context.
- Cached token fees: when a request contains a repeated prefix, the platform may bill the cache-hit portion at a lower rate.
- Output token fees: covering the text, structured results, or code the model generates.
- Discounts or surcharges from billing rules: such as batch job discounts, subscription plans, off-peak pricing, free quotas, and regional differences.
A more accurate formula is:
Monthly bill= input tokens / 1,000,000 × input rate+ cache-hit tokens / 1,000,000 × cache rate+ output tokens / 1,000,000 × output rate+ subscription fees- free quota+ regional or other surcharges
If you only compare the first three terms and ignore the rest, your cost projection will likely be off.
2. List Prices for the Same Model Can Be Identical
Take a high-end general-purpose model and an enhanced model as examples. The public pay-as-you-go rates across four common access channels can be summarized as follows. Each row lists “input / cache-hit / output,” in CNY per million tokens.
| Model category | Channel 1 | Channel 2 | Channel 3 | Channel 4 |
|---|---|---|---|---|
| High-end general model | 20 / 2 / 100 | 20 / 2 / 100 | 20 / not listed / 100 | 20 / 2 / 100 |
| Enhanced model | 13 / 1.3 / 68 | 13 / 1.3 / 68 | 13 / 1.3 / 68 | 13 / 1.3 / 68 |
| Code and reasoning model | 6.5 / 1.3 / 27 | 6.5 / 1.3 / 27 | 6.5 / not listed / 27 | 6.5 / 1.3 / 27 |
On the surface, the enhanced model’s pay-as-you-go rates are exactly the same across all four platforms. For a continuously running real-time workload, if request patterns, region, cache-hit rate, and payment method are all identical, simply switching access channels will not automatically lower costs.
This means that claims like “platform X is cheaper” usually do not come from lower base model prices, but from different billing mechanisms.
3. The First Real Differentiator: Batch Jobs
Batch is suited for tasks that do not require real-time responses, such as:
- Generating summaries overnight in bulk;
- Classifying historical documents in one pass;
- Offline extraction of fields from contracts or reports;
- Bulk generation of test data;
- Post-processing logs, tickets, or knowledge base content;
- Scheduled large-scale evaluation runs.
These tasks share one trait: results are not needed immediately after submission. The platform can schedule them during periods of lower resource demand, so it can often offer prices below real-time invocation rates.
In the referenced pricing materials, one native open channel bills Batch jobs for two high-end models at 60% of the standard price. Using the high-end general model as an example:
Real-time input rate: 20 CNY / million tokensReal-time output rate: 100 CNY / million tokensBatch input rate: 12 CNY / million tokensBatch output rate: 60 CNY / million tokens
If half of a month’s requests can be converted to offline tasks, that portion alone can produce meaningful savings. Note that Batch is not suitable for customer service chat, online coding assistants, real-time risk control, or any scenario where results must return within the user’s waiting window.
The right question is not “Is Batch cheaper?” but:
Share of deferrable tasks × Batch discount depth
The higher the share of deferrable tasks, the greater Batch’s impact on the total bill.
4. The Second Differentiator: Subscription Plans and Off-Peak Rules
Another common approach is the subscription plan. Plans typically require purchasing a quota up front, covering specific models or a fixed token volume, and may be combined with off-peak discounts.
The cost structure differs from pure pay-as-you-go:
Total monthly cost= subscription base fee+ pay-as-you-go fees for usage beyond the quota- discounts from off-peak invocations
If a workload has committed to a high-end general model long-term with relatively stable volume, a subscription may beat pure pay-as-you-go. Savings grow further if the plan covers the target model and allows requests to run at lower prices during off-peak hours.
But subscriptions are not automatically a better deal. Pay-as-you-go is preferable when:
- Monthly call volume fluctuates significantly;
- The project is in a trial phase;
- Models may be switched frequently;
- Workloads cannot be scheduled into off-peak windows;
- Plan quotas have expiry dates or usage restrictions;
- Overage rates beyond the quota are high.
So the core question is not “the more you buy, the cheaper it gets,” but whether the workload can reliably consume the plan and shift some requests into discounted time windows.
5. Why a “Half-Price Bill” Is Not a Contradiction
Identical list prices but a monthly bill that is nearly half as large usually result from several factors stacking together.
1. Some tasks run through Batch
If a high proportion of total requests are offline tasks, they can be billed at the lower rate. For document analysis, data cleaning, and bulk generation workloads, offline requests may far outnumber real-time ones.
2. Some requests are scheduled off-peak
If a subscription offers off-peak discounts and the workload can schedule roughly half its calls into discounted windows, overall cost can drop noticeably. According to the referenced materials, under qualifying off-peak rules, some scenarios see monthly bills reduced by about 40% to nearly half.
3. Free quotas change the effective unit price for small projects
Some channels provide a certain amount of free tokens for new models. For test environments, small applications, or newly launched services, free quotas may cover most monthly usage, driving effective cost close to zero.
However, free quotas generally have scope, validity, and model restrictions. You cannot extrapolate a trial-period bill to a production environment.
4. Cache-hit rate affects input cost
If every request carries the same system prompt, tool definitions, or a long knowledge base prefix, the cache-hit rate directly shapes input costs.
For example, suppose each request contains a fixed 100,000-token prefix plus 5,000 tokens of dynamic question. If the fixed prefix fully hits the cache, the repeated portion is no longer billed at the regular input rate, making costs significantly lower than billing the full input at standard rates every time.
6. Cache Billing: The Most Commonly Overlooked Detail
Caching does not mean “all repeated text is free forever.” Common rules include:
- The platform automatically detects repeated prefixes;
- The cache has a fixed time-to-live;
- Cache writes and cache hits may be priced differently;
- Different cache durations may correspond to different billing tiers;
- Changes to the request prefix can reduce the hit rate.
Engineering efforts should focus on:
Fixed system prompts
Place stable role definitions, format constraints, and tool descriptions at the front of the request to minimize prefix variation.
Stable knowledge base content
For documents that rarely change, keep concatenation order and text formatting consistent. Avoid fields like timestamps or random IDs that invalidate the cache.
Move dynamic content to the end
User questions, real-time state, and temporary parameters should be placed after the stable prefix.
Monitor cache-hit rates
It is recommended to log the following for every invocation:
Total input tokensCache-hit tokensCache-miss tokensOutput tokensCache-hit rate
The cache-hit rate is calculated as:
Cache-hit rate = cache-hit tokens / total input tokens
Without this data, you cannot tell whether a rising bill comes from growing request volume or from cache invalidation.
7. Regional Pricing Also Changes the Final Cost
Base prices are not necessarily consistent across regions. Some overseas regions or special deployment areas may have higher input, cache, and output prices.
For example, a high-end model’s input price in an overseas region may exceed the standard domestic-region rate, with output prices rising correspondingly. Even with completely unchanged code, simply switching the request region can increase monthly costs.
When deploying across regions, evaluate all of the following together:
- API unit prices;
- Network transfer fees;
- Data compliance requirements;
- Request latency;
- Disaster recovery costs;
- Cross-region logging and monitoring costs.
If the workload primarily serves users in one region and has no clear cross-border requirement, it is generally preferable to choose a region close to both users and business data. Nearby access does not necessarily lower the model’s unit price, but it usually reduces network latency and extra transfer costs.
8. How to Build a Reusable Cost Model
It is recommended to build a monthly cost model with the following fields:
| Field | Meaning |
|---|---|
| Average daily requests | Average invocations per day |
| Input tokens per request | Average input size excluding cache effects |
| Output tokens per request | Average generation length |
| Cache-hit rate | Proportion of repeated-prefix hits |
| Real-time request share | Requests that must return immediately |
| Batch request share | Requests that can be deferred |
| Off-peak request share | Requests schedulable into discounted windows |
| Region | Actual invocation region |
| Subscription fee | Fixed plan cost |
| Free quota | Effective deductible usage |
Then calculate three scenarios separately:
Option A: fully pay-as-you-goOption B: real-time requests pay-as-you-go, offline requests via BatchOption C: subscription covers stable usage, overage pay-as-you-go
What you ultimately compare is not individual line-item prices, but:
Effective unit price = actual monthly spend / actual monthly token consumption
This metric prevents subscription fees, free quotas, and discounts from distorting your judgment.
9. Recommendations by Scenario
Real-time online workloads
For online Q&A, intelligent customer service, and real-time assistant tools, prioritize pay-as-you-go. Focus on latency, stability, region, and cache-hit rate—do not force Batch usage just for the discount.
Batch processing workloads
For document parsing, content summarization, data annotation, and offline evaluation, evaluate Batch first. As long as the workload tolerates deferred results, batch discounts are usually more effective than switching access channels.
Stable, large-scale workloads
If monthly volume is predictable and the model version remains stable over time, evaluate subscription options. Pay special attention to plan coverage, validity periods, overage pricing, and off-peak rules.
New or experimental projects
Start with pay-as-you-go, collect at least one full billing cycle of data, and then decide whether to purchase a plan. Subscribing too early can waste quota and may constrain later model migration.
10. Pre-Launch Checklist
Before going live, confirm each of the following:
- Whether the target model is explicitly listed on the platform’s current pricing page;
- Whether input, cache-hit, and output tokens are billed separately;
- The rules for cache writes, hits, and time-to-live;
- Whether Batch supports the target model;
- Whether Batch has result deadlines or task size limits;
- Whether the subscription covers the current model;
- Whether plan quotas support pay-as-you-go overage;
- The exact time ranges of off-peak rules;
- The validity and applicability conditions of free quotas;
- Whether pricing differs across regions;
- Whether model deprecation or migration will affect long-term costs;
- Whether billing, token statistics, and usage alerts are complete.
Conclusion
The true cost of an LLM API cannot be judged by the three numbers on a price list alone. Identical input, cache, and output rates do not guarantee identical monthly bills. Batch discounts fit offline tasks, subscription plans fit stable large-scale usage, off-peak rules fit workloads with scheduling flexibility, and caching determines actual input costs in long-context scenarios.
If the workload is uncertain or volume fluctuates significantly, pay-as-you-go is usually the safer choice. If there is a large volume of deferrable tasks, evaluate Batch first. If both the model and usage are stable, then assess subscription and off-peak options. Only by computing request structure, time distribution, region, cache-hit rate, and plan rules in a single model can you arrive at a cost estimate that approaches the real bill.
