Why LLM API Monthly Bills Can Differ by Nearly Half at the Same Unit Price

    This article explains why LLM API providers with identical standard per-token prices can produce very different monthly bills. It covers batch discounts, subscription plans, off-peak pricing, cache writes and hits, free quotas, regional pricing, and model lifecycle. It also offers a reusable method for estimating monthly costs from usage data.

    When comparing LLM API costs, many teams start with three numbers: the price per million input tokens, the cache-hit price, and the output price. Comparing only pay-as-you-go unit prices can lead to a wrong conclusion. If several providers list the same standard price for a model class, it seems the monthly bills should be nearly the same. In practice, they often are not. Pay-as-you-go prices only determine the linear part of a bill. The total also depends on batch discounts, subscription plans, off-peak rules, cache writes and hits, free quotas, regional pricing, and model lifecycle. This article does not recommend any specific platform. Instead, it breaks down the general problem of “same price, different bill” and offers a reusable analysis method.

    1. Pay-as-you-go unit price is not the whole bill

    A monthly LLM API bill can be expressed as follows:

    1. Monthly bill =
    2. uncached input tokens × input price
    3. + cache-hit tokens × cache-hit price
    4. + cache-write tokens × cache-write price
    5. + output tokens × output price
    6. - batch discount
    7. - amount covered by subscription plan
    8. - free quota deduction
    9. + regional premium
    10. + extra cost from retries, timeouts, and invalid calls

    If two providers have identical standard prices for input, cache hits, and output, their bills will be close only under ideal conditions. Those conditions are: all traffic is real-time, no requests hit the cache, no batch processing, no subscription, no free quota, and the same region. Real workloads rarely meet all of these conditions. Once a workload includes offline jobs, repeated prefixes, stable high usage, delayable nighttime tasks, or overseas region calls, the bills begin to diverge.

    To compare costs fairly, at least the following must be standardized:

    1. Units are in CNY per million tokens.
    2. Input, cache-hit, cache-write, and output tokens are counted separately.
    3. Standard, batch, subscription-covered, and off-peak calls are distinguished.
    4. Regions are labeled.
    5. It is stated whether free quota is included.
    6. It is stated whether retries and failed requests count toward usage.

    If any one of these dimensions is missing, a unit price comparison can be misleading.

    2. Abstract price table: same standard prices, different rules

    The following table is based on a check of public list prices. Several providers may list identical standard pay-as-you-go prices for the same model class. The table is a structural illustration only and does not constitute any quote. Prices are shown as input / cache hit / output, in CNY per million tokens.

    Model category Channel A Channel B Channel C Channel D
    General high-capability model 20 / 2 / 100 20 / 2 / 100 20 / Not listed / 100 20 / 2 / 100
    Economy general 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 gaps Batch processing at about 60% of the standard price Not specified on the page New-model free quota Subscription coverage + off-peak rules

    Identical standard pay-as-you-go prices do not mean identical final costs. The rules determine the monthly bill: batch processing, subscriptions, free quotas, off-peak rules, and whether the page lists a cache-hit price at all.

    One point is easy to miss. If a provider does not list a cache-hit price, do not assume cache hits are free or that they are billed at the input price. In cost estimates, mark unknown items as risks and run sensitivity analysis with conservative prices. Do not budget with the most optimistic prices.

    3. Price gap source 1: batch discounts

    Batch processing suits offline tasks that can be queued, delayed, or interrupted. Examples include bulk summarization, offline labeling, data cleaning, bulk translation, and evaluation set generation. Typically, a job enters a batch queue and is billed at a fixed percentage of the standard price. If the batch discount is 60%, the savings ratio is:

    1. Savings ratio = batch traffic share × (1 - batch discount)

    If 50% of calls can go through batch processing and the discount is 0.6, the overall savings are about:

    1. 50% × (1 - 0.6) = 20%

    This is the first source of the “same unit price, different bill” gap. Batch processing does not save money in every case. It usually trades away real-time response, so it may not suit online conversations, real-time risk control, or interactive code completion. Engineers should split tasks into two groups, “must be real-time” and “offline and delayable,” measure the token share of each, and then estimate the batch ratio.

    A simple decision rule:

    • If a user is waiting for the result, do not use batch processing.
    • If results can return within minutes or hours, consider batch processing.
    • If tasks can be rerun, split, or tolerate failures, prioritize batch processing.
    • If a task has a strict SLA or retries are expensive, use batch processing carefully.

    4. Price gap source 2: subscription plans and off-peak rules

    A common subscription structure requires a fixed monthly fee in exchange for a set call quota. Usage within the quota is covered by the plan. Usage beyond the quota is billed pay-as-you-go. Some plans add off-peak rules, which give a discount when calls are scheduled at night or in low-traffic hours. In that case, the bill depends on three factors together: the coverage ratio, the overage unit price, and the off-peak ratio. Unit price alone does not determine the bill.

    Whether a subscription is worthwhile depends on whether monthly usage exceeds the break-even point:

    1. Break-even usage ≈ monthly subscription fee / pay-as-you-go savings per unit

    If the monthly fee is fixed and the team’s monthly usage is low, a subscription may cost more than pure pay-as-you-go. If monthly usage is stable and high, a subscription plus overage billing may come in well below pure pay-as-you-go. Under certain combinations, the original analysis reports savings of 12% to 24%. If about half of the calls can be scheduled after 18:00, savings can approach 48%.

    The general lesson is that subscription discounts do not work in isolation. They need to be combined with off-peak scheduling. If all calls cluster in the daytime real-time peak, off-peak rules cannot help, and the gap between bills narrows.

    To make this work in practice, requests must be tagged as delayable or not, and a scheduling queue must be built:

    1. def schedule_request(request):
    2. if request.is_realtime:
    3. return "standard_queue"
    4. if request.can_delay and is_idle_window(request.submit_time):
    5. return "idle_queue"
    6. if request.is_offline_batch:
    7. return "batch_queue"
    8. return "standard_queue"

    Subscriptions also carry lock-in risk. A plan is often tied to a specific model class or call scope. If the business needs to switch models often, the fixed fee can become a sunk cost. A subscription suits teams with stable usage, clear model needs, and tolerance for a commitment period. Businesses in an exploration phase or with volatile traffic should first validate their cost curve with pay-as-you-go pricing and caching optimizations.

    5. Price gap source 3: caching is not “free on a hit”

    Prefix caching is an important way to reduce the cost of repeated context. A typical mechanism works like this. When requests share a repeated prefix, the system enables caching automatically. Caches have a TTL, such as a 5-minute or 1-hour tier. Cache writes may be billed separately. Cache hits are billed at the cache-hit price instead of the uncached input price.

    Cache benefit cannot be judged by the lower hit price alone. Cache write costs must also be subtracted. A simplified formula is:

    1. Net cache benefit =
    2. cache-hit tokens × (uncached input price - cache-hit price)
    3. - cache-write tokens × cache-write price

    If the TTL is short and requests are spaced far apart, the cache may expire often, and write costs can erode the savings. In contrast, if the system prompt, tool definitions, and long document prefixes are highly stable and requests are dense, the hit rate will be higher and the savings more visible.

    Engineering teams can optimize caching in the following ways:

    1. Place stable content, such as system prompts, tool schemas, and long document prefixes, at the start of the request.
    2. Avoid putting timestamps, random IDs, or user-specific content in the prefix.
    3. Choose a TTL tier that matches the interval between requests.
    4. Monitor cache write volume, cache hit volume, and hit rate.
    5. Merge short-interval batch requests to reduce repeated cache invalidation.

    The same cache-hit price does not mean the same caching strategy. Providers may describe cache writes, TTL tiers, and the conditions for automatic activation differently. Cost estimates should list cache-write tokens as a separate item. Counting only cache-hit tokens is not enough.

    6. Price gap source 4: free quotas, regional premiums, and model lifecycle

    Free quotas are a short-term factor. A new model or new business may receive a free token allowance. Early bills may look low, but costs return to normal once the free quota runs out. When budgeting, do not treat a free quota as a long-term discount. List it as a one-time deduction.

    Regional pricing is another common variable. The same model may have different unit prices across regions, and overseas regions often carry an additional premium. If a business serves overseas users, latency and compliance requirements may call for routing to nearby regions. In that case, do not look only at the lowest price in a central region. Treat region as one dimension of the price table, and estimate usage for each region separately.

    Model lifecycle also affects long-term costs. An older model may gradually stop accepting new users and be scheduled for retirement. Providers usually recommend migrating to a newer version. A low price on an older model does not guarantee it will remain available. If an annual budget is built on old prices, migration may bring changes in unit prices, caching behavior, and output quality, plus the cost of re-evaluation. Engineering teams should keep a model abstraction layer and configure model IDs, price books, caching strategies, and batch strategies. Hard-coding them into business logic should be avoided.

    7. A reusable method for estimating monthly bills

    Follow these steps for cost estimation:

    1. Collect these fields from logs: model category, region, uncached input tokens, cache-hit tokens, cache-write tokens, output tokens, whether the call was batched, whether it was off-peak, and whether it was a retry.
    2. Build a price book for each channel and flag unknown items as risks.
    3. Calculate costs separately for standard real-time calls, batch calls, subscription-covered calls, and off-peak calls.
    4. Deduct the free quota.
    5. Run sensitivity analysis on the batch ratio, cache hit rate, off-peak ratio, and subscription coverage ratio.
    6. Produce three budget scenarios: baseline, optimistic, and conservative.

    Sample code:

    1. def estimate_monthly_bill(usage, price_book):
    2. cost = 0.0
    3. cost += usage.input_miss * price_book.input_price
    4. cost += usage.cache_hit * price_book.cache_hit_price
    5. cost += usage.cache_write * price_book.cache_write_price
    6. cost += usage.output * price_book.output_price
    7. cost *= (1 - usage.batch_ratio * (1 - price_book.batch_discount))
    8. cost *= (1 - usage.idle_ratio * price_book.idle_discount)
    9. covered = min(usage.total_token * price_book.subscription_cover_ratio,
    10. price_book.subscription_quota)
    11. cost -= covered * price_book.subscription_unit_value
    12. cost -= price_book.free_quota_value
    13. return max(cost, 0)

    This code is not an interface call to any platform. It is only an illustration of a cost model. In a real estimate, parameters such as the cache-write price, subscription coverage scope, off-peak window definition, and whether batch discounts stack should be configurable. Calibrate them with replayed real logs.

    8. Decision matrix: classify traffic first, then choose a pricing combination

    Common business traffic can be divided into five types:

    | Traffic type | Characteristics