Decoding the Hidden Billing Logic of LLM Subscription Plans

    Subscription plans for AI coding tools often look cheaper or more expensive than they really are because the displayed quota percentage hides how usage is actually metered. This article explains why comparing a monthly subscription price against pay-per-token API rates produces unstable results, breaks down the four token categories (fresh input, cache write, cache read, and output) and their different deduction weights, and shows a single-variable probing method for reverse-engineering the hidden rates from integer percentage jumps. It also warns that optimistic cache-hit assumptions inflate theoretical capacity, and proposes a more robust evaluation framework based on real workload profiling, a conversion model, sensitivity analysis, and cost per task.

    1. Where the Problem Starts: Why Comparing Plan Prices Is Not Enough

    With subscription-based AI coding tools, users typically see nothing more than a quota bar expressed as a whole-number percentage. What lies behind that bar—the actual unit of measurement, the weights, and the conversion rules—is rarely transparent. As a result, a naive comparison has emerged in the community: divide a plan’s monthly fee by the pay-as-you-go API price for the same number of tokens, and call the result an “equivalent multiple.”

    The intuition is straightforward, but the conclusion is highly unstable, for three reasons:

    1. A subscription quota is not a single token pool, but a composite pool in which several token classes are converted at different rates.
    2. The token composition of a real workload changes constantly, and the cache hit rate is never fixed.
    3. The interface exposes only whole-number percentages, so the measurement itself carries quantization error.

    So before deciding whether a subscription is “worth it,” you have to answer a more fundamental question: by what rule is the quota actually deducted?

    2. Four Token Classes and Differentiated Deductions

    The billing dimensions of mainstream inference services usually fall into four categories, each with a different cost structure and deduction weight:

    • Fresh input: the model must run the full prefill computation, which is the most compute-intensive case.
    • Cache write: a chunk of context is persisted as a reusable cache, requiring a one-time additional cost.
    • Cache read: an existing cache is hit, requiring only lightweight validation and concatenation, at the lowest unit price.
    • Output: generated token by token through autoregression, which cannot be parallelized and carries high latency and compute cost.

    Converting a subscription quota really means folding these four kinds of consumption into a unified set of “quota points,” each according to its own weight. Burning one million tokens can therefore deduct very little if the mix is dominated by cache reads, or several times more if it is dominated by output. Comparing prices while ignoring this is like dividing numbers measured in different units.

    3. Single-Variable Probing: Reverse-Engineering the Hidden Rates

    When no official rate table is available, a common experimental approach is single-variable isolation, where each request is designed to amplify only one token class:

    1. Measure cache reads: write a sufficiently long fixed context first, then reuse the same prefix repeatedly.
    2. Measure fresh input: change the content every time so that no cache is hit.
    3. Measure cache writes: build a new prefix and observe the extra deduction caused by the initial write.
    4. Measure output: keep the input extremely short and stretch the generation length on its own.

    Because the interface shows only whole-number percentages, a single request does not offer enough resolution. You need to run a large number of requests in sequence, record how many tokens it takes for the quota to move from 17% to 18% and from 18% to 19%, and average over several complete intervals to cancel out quantization error. The result is four coefficients of the form “how many million tokens of a given class are consumed per 1% of quota.”

    The data-processing logic can be sketched as:

    1. # Record the cumulative tokens corresponding to each whole-percentage jump
    2. samples = [] # (kind, tokens, percent_delta=1)
    3. def rate_per_million(kind):
    4. total_tokens = sum(t for k, t, d in samples if k == kind)
    5. total_delta = sum(d for k, t, d in samples if k == kind)
    6. return total_tokens / total_delta * 1_000_000 # million tokens per 1%
    7. rates = {k: rate_per_million(k) for k in {"fresh", "cache_write", "cache_read", "output"}}

    With those four coefficients in hand, weight them by the token mix of your target workload to estimate roughly how many tokens the plan can carry before the quota runs out:

    1. def capacity(monthly_quota_percent, mix):
    2. # mix: {"cache_read":0.97, "fresh":0.025, "output":0.005, "cache_write":...}
    3. per_million = sum(rates[k] * w for k, w in mix.items())
    4. return monthly_quota_percent / per_million # unit: million tokens

    The value of this method is not an absolutely precise number, but turning an opaque quota into a quantitative model that can be compared and recomputed.

    4. The Trap of Weighted Assumptions: Theoretical vs. Real Endurance

    Some public estimates simply adopt an extremely favorable workload mix—for example, 97% cache-hit input, 2.5% fresh input, and only 0.5% output. Under that assumption, the quota deducted per million tokens is pushed very low, and the resulting “carriable token volume” naturally looks impressive.

    Real development is far from that ideal:

    • Task switching changes prefixes, so cache invalidation and expiry happen frequently.
    • Long sessions get compressed or rewritten, forcing caches to be written again.
    • During debugging, the output share rises and generation length becomes uncontrollable.
    • Concurrency and multiple projects in parallel push the cache reuse rate down further.

    This is similar to quoting range under ideal conditions of continuous coasting, low speed, and no wind resistance: the rated figure is not fabricated, but what users actually get is a discounted value after stop-and-go, frequent start-stop driving. Any estimate based on a fixed mix should therefore be treated as an upper bound, not an expected value.

    5. A More Robust Evaluation Framework

    For developers and enterprise users, evaluating subscription value can be broken into four steps:

    1. Profile the real workload: measure the actual share and fluctuation range of the four token classes over a week.
    2. Build a conversion model: plug the coefficients from single-variable probing into the real mix rather than the ideal one.
    3. Run a sensitivity analysis: let the cache hit rate float between 60% and 95% and observe the curve of carriable volume.
    4. Convert to task cost: translate quota consumption into cost per requirement, per review, or per bug fix, then compare against the pay-as-you-go option.

    It is worth stressing that, whether measured by token unit price or by task unit price, subscription plans are not necessarily cheaper in most scenarios; the difference lies more in cost predictability, quota ceilings, and team collaboration efficiency. Those non-price factors should be part of the decision, rather than staring at a single equivalent multiple.

    6. Conclusion

    The real strength of a subscription plan comes not from its sticker price but from the coupling between billing dimensions and workload structure. Understanding the differentiated conversion of the four token classes, mastering the single-variable reverse-engineering method, and staying wary of idealized assumptions are what let you see the true cost beyond the quota bar. Upgrading the evaluation from “unit price comparison” to “workload profile + conversion model + sensitivity analysis + task cost” is the key path to avoiding a misjudgment of subscription value.