How to Calculate Real Token Costs After LLM Price Cuts

    When LLM providers cut prices, the headline input/output rates rarely answer the real question: what did this call actually cost? This article walks through a reproducible method for calculating effective unit prices from subscription quotas, accounting for cache hits and writes, and modeling the full lifecycle of a long context from accumulation to compression—so price-cut announcements can be turned into concrete engineering conclusions.

    When LLM services cut prices, the headline “input/output unit price” often fails to answer the real question: “How much did this call actually cost?” For developers and enterprise users, the meaningful comparisons are the effective unit price after converting subscription quotas, the marginal cost enabled by cache hits, and the total cost of a long context across its full lifecycle, from accumulation to compression. This article does not discuss any specific provider or model. Instead, it presents a reproducible accounting method that turns “price cut announcements” into computable engineering conclusions.

    Why List Prices Aren’t Enough

    List prices are typically split into three categories: input, cache-hit input, and output. Actual bills layer on several additional factors:

    First, subscriptions are usually quota bundles, not pure pay-as-you-go. If the monthly fee is fixed and the weekly or monthly quota can be converted into “a multiple of list-price usage,” then the effective unit price equals the list price divided by the discount multiplier. The multiplier estimate must use a consistent basis: the same tier, the same billing period, and the same treatment of overage. Using an optimistic quota figure will systematically underestimate costs.

    Second, cache is not “free input.” Hits can dramatically lower the effective input price, but writes, invalidation, and compression all break the cache. If the default policy bills part of the input as a write, the effective input price may be higher than the “hits-only” intuition suggests.

    Third, real conversations are not single requests. Context accumulates turn by turn, with each request carrying the history plus a small amount of new input and output, until compression is triggered. Compression typically invalidates the cache, and the next round rewrites it. Therefore “average cost per token” and “cost per new token” are two different metrics: the former reflects cost amortized over the whole session, while the latter is closer to the marginal cost of continuing the conversation.

    Converting Subscription Quotas into Effective Unit Prices

    Follow three fixed steps to avoid mixing incomparable products:

    1. Clarify the pricing basis of the subscription fee and its usable quota (convert weekly quotas to monthly: weekly quota × 52 / 12).
    2. Effective multiplier = converted list-price usage available / subscription fee. For example, a subscription with a high monthly fee and weekly-issued quotas far exceeding that fee can reach a multiplier of tens of times; a low-priced subscription whose quota is only a few times its fee offers limited discounting.
    3. Effective unit price = list price of the corresponding tier / effective multiplier. High-quality tiers and low-priced tiers must be calculated separately—you cannot use a low-tier discount to explain high-tier costs.

    Watch quota caps. Some subscriptions give smaller quotas for premium models, falling back to a higher unit price or unavailability once exceeded. When calculating, provide a conservative price based only on that tier’s quota, and note that actual mixed usage may be higher or lower. Choosing one verifiable tier (for example, the highest-usage tier) to calculate is less self-deceiving than estimating all tiers at once.

    Compare Premium and Low-Cost Tiers Separately

    After roughly classifying models into a premium reasoning tier and a low-cost, high-throughput tier, standardize the comparison dimensions: input, cache-hit input, and output, plus the three subscription-adjusted columns.

    The typical structure of the premium tier is: API input prices significantly higher than the low-cost tier, output prices similar or slightly higher, and cache hits compressing input costs to within an order of magnitude of output. After subscription conversion, both input and output may drop to a few hundredths of list prices. Whether “the subscription is worth it” then depends on whether you can consume the full quota: underused quota lowers the multiplier and pushes the effective unit price back up.

    Low-cost tier APIs are already cheap, and subscription conversion lowers the marginal cost further. But if cache writes are enabled by default, input costs may rise by roughly a quarter (depending on whether writes are billed at a higher rate). If the subscription channel has no separate write-billing line item, do not apply the API’s write premium to the subscription—list them separately instead.

    A fair comparison also requires: the same task, the same context length, and the same caching strategy. Directly comparing the unit price of “premium-model quota inside a subscription” against “unlimited pay-as-you-go API” produces misleading conclusions.

    Estimating Real Scenarios with an “Accumulate-then-Compress” Model

    The simple approach assumes a cache hit rate and uses a weighted input price to represent “the vast majority of input.” It works for rough estimates but ignores cache invalidation from compression and the rising share of output in later stages.

    The improved approach models one full context lifecycle as a loop:

    • Initial: empty or short context, no cache or only a small prefix cache.
    • Each turn: append a user input and a model output; the request carries the entire prior prefix. Hit portions are billed at the cache price, misses and new writes at the input/write price, and output at the output price.
    • Repeat until the context reaches the compression threshold.
    • Compression: generate a summary or trim; by default, treat this as cache invalidation. Compression itself consumes input and output.
    • After compression, the new round’s prefix is rewritten.

    Sum the costs across all turns and divide by all tokens in the lifecycle to get the “actual per-token price”; allocate costs only to “new input + output in the current turn” to get the “per-new-token price.” The latter is more sensitive to decisions like whether to continue the conversation or summarize early.

    In implementation, you can express the logic with illustrative pseudocode, avoiding any vendor-specific API names:

    1. cost = 0
    2. tokens_all = 0
    3. tokens_new = 0
    4. prefix = []
    5. cache_valid = False
    6. while not should_compress(prefix):
    7. inp, out = next_turn()
    8. billed_in, billed_cache, billed_write = split_by_cache(prefix, inp, cache_valid)
    9. cost += price_in*billed_in + price_cache*billed_cache + price_write*billed_write + price_out*len(out)
    10. tokens_all += billed_in + billed_cache + billed_write + len(out)
    11. tokens_new += len(inp) + len(out)
    12. prefix += inp + out
    13. cache_valid = True
    14. cost += compress_cost(prefix) # typically invalidates the cache
    15. avg = cost / tokens_all
    16. marginal = cost / tokens_new

    Key assumptions must be documented in the report: whether compression invalidates the cache, whether writes are priced separately, cache hit granularity (whole prefix vs. block-level), and whether output enters the subsequent prefix. Different assumptions produce incomparable conclusions.

    Making Decisions After a Price Cut

    Price cuts usually change both API list prices and subscription quotas. Choose your accounting basis by task profile:

    • Short requests, low reuse: low cache-hit rates, so look at list input + output prices. If subscription quota goes underused, its advantage is limited.
    • Long sessions, tool loops, repeated reads of the same repository: caching and subscription quotas are highly valuable—use the lifecycle model, not single-request prices.
    • Premium tier handling only critical steps, low-cost tier handling drafts and retrieval: calculate each tier separately using its token share, then sum—avoid a single blended average.

    Enterprises can also layer on governance costs: quota alerts, per-project billing breakdown, compression strategies, and cache TTL. These don’t change list prices, but they change the “predictable effective unit price.” Baking the accounting script into continuous integration or a cost dashboard is more valuable than a one-off comparison.

    Summary

    Evaluating “a big price cut” versus “is it actually cheaper” is fundamentally about effective unit prices, not the headline input/output numbers on the poster. Only by standardizing quota conversion, comparing tiers separately, and accounting for the full process cost of a context from accumulation to compression can you reach a defensible conclusion. The method itself is brand-agnostic; when switching data sources, prioritize auditable usage records and state conservative assumptions explicitly, so estimates are never mistaken for actual billed prices.