LLM API Cost Comparison: Why Identical List Prices Can Produce a 50% Different Bill
LLM API list prices are a poor predictor of monthly spend. This article breaks down the billing rules that create large cost differences across platforms—on-demand rates, context caching, Batch API discounts, subscription quotas, off-peak pricing, free quotas, and regional pricing—and shows how to build a repeatable comparison workflow. Readers will learn how to profile usage, construct a full price matrix, model scenario bills, validate cache behavior, and prioritize the savings levers that matter most.
1. Background: Same List Price, Different Bill
When choosing an LLM API provider, many developers first compare the “price per million tokens” on each platform’s pricing page, conclude that “they are all the same,” and then pick the most convenient provider. But after the monthly bill arrives, the same request volume can cost nearly twice as much on one platform as on another.
The root cause is that the published list price—the nominal per-token rate—is only a small part of the billing system. What really determines the bill is the combination of many rules: how context caching is billed, whether Batch APIs offer discounts, how subscription packages cover usage, how off-peak discounts are triggered, and whether cache writes are charged separately. These rules are often scattered in corners of different pages and are easy to overlook.
This article uses a flagship model (Model A) and its upgraded version (Model A-Pro) as examples to abstract a general cost-comparison framework. The specific numbers are based on official pricing pages at a given point in time, but the methodology applies to model and platform selection in general.
2. Breaking Down the Billing Model: What Makes Up the Bill
A typical inference call can be formalized as:
Monthly bill = Σ(input tokens × input unit price)+ Σ(output tokens × output unit price)+ cache-related fees (writes + hits; rules vary by platform)- batch/off-peak discounts- subscription quota offsets+ overage billed at on-demand rates
2.1 On-Demand Unit Prices: The Most Transparent and Most Misleading Part
At one point in time, the list prices for Model A on four platforms were: CNY 20 input, CNY 2 cache hit, and CNY 100 output per million tokens; for A-Pro, the prices were CNY 13 / 1.3 / 68. Looking only at this table, there is no difference between the four choices—which is exactly where many users stop.
Note one detail: some platform pricing pages may not list a “cache hit” line item or may omit cache billing rules. That does not mean there is no cache fee; it means you need to look elsewhere in the documentation.
2.2 Context Caching: The Area With the Most Hidden Variables
Context caching is one of the most misunderstood mechanisms in LLM billing. Common rules include:
- Automatically enabled: When the prefix of a request (system prompt, few-shot examples, long documents, etc.) matches recent requests, the platform automatically hits the cache. The hit portion is charged only the “hit price” (usually around 10% of the standard input price).
- Short default TTL: A common default TTL is 5 minutes. After expiration, the cache becomes invalid, and the next request with the same prefix must be written again.
- Writes may be billed separately: Some model families charge cache writes separately by TTL tier (e.g., 5 minutes or 1 hour). In other words, a cache miss can still create extra cost.
The engineering impact is direct: if your application has a stable long system prompt, cluster requests in time so that requests with the same prefix fall within the TTL window. This can significantly raise the cache hit rate and reduce input costs to 20%–30% of the standard price. Conversely, when requests are sparsely distributed, write fees can even make caching a negative-return optimization.
2.3 Batch API: A Low-Cost Channel for Offline Tasks
Almost all platforms provide an asynchronous Batch API for non-real-time tasks. A common discount is 50%–70% of the standard price. The key constraint is latency: batch jobs are often promised to complete within 24 hours, with actual completion usually ranging from tens of minutes to several hours.
Typical workloads suitable for Batch: data cleaning, offline evaluation, corpus labeling, report generation, and full code review. Not suitable: online customer support, real-time Agent decisions, and streaming chat.
A practical approach is to route requests at the architecture level:
def route(prompt, deadline_s):if deadline_s > 3600: # allow hour-level latencyreturn batch_client.submit(prompt) # use batch discountreturn realtime_client.chat(prompt) # use real-time channel
If a business can move half of its traffic to the batch channel, at a 50% discount, total cost can fall by about 25%. With identical list prices, this is the first major source of bill differences.
2.4 Subscription Packages and Off-Peak Discounts: Bundling Deterministic Traffic
Some platforms offer token subscription packages: pay a fixed monthly fee, receive a certain token quota, and pay on-demand for overage. The value of these rules depends on usage certainty:
- For stable, predictable workloads, a subscription acts like a wholesale price and is often 10%–25% cheaper than pure on-demand.
- Packages often cover only specific models. If your calls are routed to a model not covered by the package, the overage is billed on demand or through a more expensive channel. Check coverage carefully.
- Off-peak rules: some subscription packages provide extra discounts during specific hours (e.g., after 18:00). If batch tasks can be scheduled entirely at night, stacking the off-peak discount can bring the effective unit price down to 50%–60% of standard and make the overall cost 40%–50% lower than pure on-demand.
2.5 Free Quotas and Migration Promotions
Newly onboarded models often come with a one-time free quota (e.g., 1 million tokens). This matters for PoC but is not a selection criterion; just use it before launch. Also watch the retirement schedule for older models: it is common for an older series to stop accepting new users and eventually shut down. Before migrating to a new series, confirm whether its billing rules have changed—for example, whether cache writes are now billed separately.
3. Regional Differences: Price Differences Within the Same Platform
A commonly overlooked point is that different regions of the same cloud platform may have different prices. A common pattern is that overseas/Singapore regions are about 10% more expensive than mainland China regions. If the business allows it, from a pure cost perspective a mainland China region may be preferred; an overseas region justifies the premium only when callers are mainly overseas and latency-sensitive.
When comparing prices, record region as a dimension at the same level as platform; otherwise intra-platform price differences will be hidden.
4. A Reusable Cost-Comparison Workflow
The points above can be turned into an actionable checklist:
- Fix the usage profile: Collect the input/output token distribution over the last 30 days, request-time distribution, acceptable latency ceiling, and prefix repetition. This is the basis for all calculations.
- Copy the full list prices: Fill in a complete matrix by “model × platform × region × billing item (input/hit/output/write),” and mark which items are not listed on the page.
- Apply the rules: For each candidate combination, apply cache-hit estimates, Batch routing share, subscription coverage and overage, and off-peak discounts in sequence to calculate the blended unit price.
- Calculate scenario bills: Calculate at least three scenarios—pure on-demand, with Batch routing, and with subscription + off-peak—and compare total costs.
- Validate cache behavior: Before launch, run a one-week gray release with real traffic and check whether cache hit and write fees in the bill match expectations.
- Recheck pricing regularly: LLM pricing and retirement schedules change quickly. Review pricing pages and model deprecation announcements quarterly.
5. Conclusion
The essence of “four platforms with the same price, but bills differing by half” is this: identical list prices do not mean identical total cost. The difference comes entirely from the rules layer—batch discounts, subscription packages, off-peak windows, cache billing details, and regional choice. For most businesses, the benefits in descending order are: move offline-capable traffic to Batch (about 25% savings) → aggregate stable prefixes to improve cache hit rate (input costs can drop by about 70%) → convert stable usage to subscriptions and use off-peak discounts (an additional 10%–25%, approaching half in extreme scenarios). Build the usage profile first, then check each item against this list; that is far more useful than jumping back and forth between pricing pages.
