Same Model, Bills That Differ by 50%? Four Hidden Billing Rules Explained

    Many teams have run into the same situation: the pay-as-you-go unit prices for the same large model on different cloud platforms are nearly identical, yet the end-of-month bills differ by as much as half. The reason usually lies not on the pricing page, but in the billing rules beyond it. This article is aimed at developers and cost owners who call large model APIs at scale. It explains how these rules affect your bill and provides a costing method you can follow step by step.

    1. List Prices Are Usually Not the Source of Differences

    Most mainstream LLMs are quoted with a three-part pay-as-you-go structure:

    • Input price (per million tokens)
    • Cache hit price (per million tokens)
    • Output price (per million tokens)

    If you only compare these three numbers, most platforms come out close. Putting screenshots of pricing pages into a comparison table and concluding “it doesn’t matter which provider you pick” is one of the most common mistakes in cost analysis. The real differences lie in billing rules, including batch discounts, subscription plans, cache write fees and TTL, and regional pricing. These rules are written differently across platforms and change as policies are adjusted.

    2. Four Rules That Drive Bills Apart

    The table below lists four types of rules, the traffic they affect, and the parameters you must confirm before doing any costing.

    Rule Traffic Affected Common Billing Method Parameters to Confirm Before Costing
    Batch discounts Offline tasks that can tolerate hours of latency Billed as a percentage of the standard price Discount factor, result delivery deadline, whether the chosen model is supported
    Subscription plans and overage Workloads with stable, predictable usage Prepaid monthly fee; overage billed at pay-as-you-go rates Included token quota, available model list, off-peak rules, overage unit price
    Cache billing Long system prompts, RAG and Agent workloads with repeated prefixes Write price and hit price billed separately Whether caching is enabled automatically, TTL, write price, hit price
    Regional pricing Different regions on the same platform Priced separately per region Unit price per region, cross-region latency, compliance requirements

    2.1 Batch Processing

    For tasks that tolerate delay—data cleaning, content generation, log summarization—offline batch APIs can significantly lower the unit price. Batch discount ratios vary by platform and model, so always defer to official announcements. How much you save depends on the share of offline traffic. Suppose offline input accounts for half of total input and the batch discount is 40% off; this portion of traffic reduces overall input cost by 20% (0.5 × 40% = 20%). The higher the offline traffic share, the greater the savings.

    2.2 Subscription Plans and Pay-As-You-Go Overage

    Prepaid subscription plans usually have lower unit prices than pay-as-you-go rates, and usage beyond the included quota falls back to pay-as-you-go billing. Whether a subscription is worthwhile depends on three conditions: whether your usage can be predicted stably, whether the included quota covers your steady-state daily usage, and whether the overage price matches the list price. Some plans restrict the model list, some include off-peak quota discounts, and some have overage prices that differ from list prices. Confirm each item one by one during costing—don’t just look at the monthly fee. Savings vary by plan, so run the numbers with your own usage.

    2.3 Cache Billing

    For applications with long system prompts and highly repeated prefixes, caching has a major impact on cost, but three details are often overlooked:

    • Whether caching is enabled automatically depends on the platform. Some platforms automatically match repeated prefixes, while others require you to explicitly declare cache breakpoints or pass corresponding parameters. Before integration, check the official documentation and confirm caching actually works with test requests.
    • Cache writes and hits may be billed separately. The write price can be higher than the regular input price, and write costs differ depending on the TTL (e.g., 5 minutes or 1 hour). If the interval between prefix reuse is long, write fees may offset the savings from hits.
    • After a hit, you are billed at the hit price, and hit prices vary considerably across platforms.

    If your application has a high prefix repetition rate, the hit rate may affect cost more than the unit price itself. When evaluating providers, estimate your hit rate instead of only looking at list prices.

    2.4 Regional and Compliance-Based Pricing

    On the same platform, unit prices may differ across regions. Some overseas regions are priced higher than domestic ones; check each region’s price list for specifics. For cross-border workloads that are not latency-sensitive, you can route traffic to regions with lower unit prices. For workloads subject to data export or data localization requirements, confirm the compliance boundaries first, then compare prices.

    3. A Reusable Monthly Costing Method

    We recommend estimating costs monthly in the following order:

    1. Build a traffic profile: real-time vs. offline request counts, average input and output tokens per request, and prefix repetition rate (used to estimate the cache hit rate).
    2. Estimate input, output, cache, and offline costs per channel, then sum them into a pay-as-you-go total.
    3. Add subscription costs: the monthly subscription fee, plus usage beyond the included quota multiplied by the overage unit price.
    4. Plug each candidate platform’s prices and rule parameters into the model and compare side by side.
    5. Add engineering costs: migration work, API compatibility, rate-limiting strategies, and failover.

    The formula for the pay-as-you-go portion is:

    Monthly cost = real-time uncached input × input price + cache writes × write price + cache hits × hit price + offline input × input price × batch factor + total output × output price

    The following Python function implements this formula. The code assumes offline traffic does not use caching and excludes subscription fees. Regional prices can be substituted directly via the in_price and out_price parameters; subscription fees must be calculated separately as described in step 3.

    1. SECONDS_PER_MONTH = 86400 * 30
    2. MILLION = 1_000_000
    3. def monthly_cost(
    4. rt_rps, off_rps, # real-time and offline request rates (requests/second)
    5. in_tok, out_tok, # average input and output tokens per request
    6. in_price, out_price, # input and output unit prices (per million tokens)
    7. hit_rate=0.0, # share of real-time input that hits the cache
    8. hit_price=0.0, # cache hit price (per million tokens)
    9. write_share=0.0, # share of cache misses that get written to cache
    10. write_price=0.0, # cache write price (per million tokens)
    11. batch_ratio=1.0, # offline discount factor, e.g. 0.6 for 40% off
    12. ):
    13. rt_in = rt_rps * in_tok * SECONDS_PER_MONTH / MILLION # million tokens
    14. off_in = off_rps * in_tok * SECONDS_PER_MONTH / MILLION
    15. out = (rt_rps + off_rps) * out_tok * SECONDS_PER_MONTH / MILLION
    16. hit = rt_in * hit_rate
    17. miss = rt_in - hit
    18. written = miss * write_share
    19. fresh = miss - written
    20. realtime_cost = fresh * in_price + written * write_price + hit * hit_price
    21. offline_cost = off_in * in_price * batch_ratio
    22. output_cost = out * out_price
    23. return realtime_cost + offline_cost + output_cost

    Example

    Assume real-time traffic of 10 requests per second and offline traffic of 20 requests per second, with an average of 2,000 input tokens and 500 output tokens per request. The example prices are hypothetical: input at 2 per million tokens, output at 8 per million tokens, cache hits at 0.2 per million tokens, a 60% cache hit rate, and an offline batch factor of 0.6.

    1. monthly_cost(10, 20, 2000, 500, 2, 8, hit_rate=0.6, hit_price=0.2, batch_ratio=0.6)
    2. # roughly 483,149

    The breakdown is as follows:

    • Real-time input costs about 47,700 (the hit portion is billed at 0.2 per million tokens).
    • Offline input costs about 124,400. If the offline traffic did not go through the batch channel, the same portion would cost about 207,400—roughly 83,000 more.
    • Output costs about 311,000, accounting for over 60% of the total bill.

    Comparing input prices alone seriously underestimates the bill. Output unit prices are usually higher than input prices, and output tokens are often the primary cost driver.

    4. Conclusions and Selection Tips

    1. If you are not locked into a specific model version, start by comparing pay-as-you-go prices and service reliability across platforms. When list prices match, sticker prices create no difference—but actual bills still need to be calculated using the rules above.
    2. If offline tasks make up a large share of your usage, prioritize platforms that offer a batch channel, and confirm the discount factor and result delivery deadline.
    3. If your usage is stable and can be shifted to off-peak hours, evaluate combinations of subscription plans and off-peak rules. Savings depend on the included quota, the overage price, and your actual usage—plug in your own data.
    4. If your workload is already entrenched on a cloud platform, integrating with a nearby endpoint may cost about the same as going to the original provider. Deduct migration costs from the projected savings before deciding.

    5. Common Pitfalls

    • Looking only at list prices while ignoring batch, subscription, cache, and regional rules.
    • Ignoring output tokens, even though output unit prices are usually higher than input prices.
    • Ignoring cache write fees and counting only the savings from hits.
    • Treating request counts (QPS) as token volume when calculating costs.

    Disclaimer

    Prices and billing rules change as platforms adjust their policies. The ratios and example prices in this article are for illustrating the calculation method only. Actual costs are governed by each platform’s official price list, contracts, and bills. Before making a formal selection, we recommend running a small-scale test with real traffic.