Hidden Billing Logic in LLM Subscription Plans: A Technical Analysis

    This article breaks down why comparing AI coding subscription plans by sticker price is misleading. It explains the four token types behind the scenes—fresh input, cache write, cache read, and output—and introduces a black-box method to measure their actual deduction rates using single-variable experiments. You will learn why theoretical token capacity is always optimistic due to cache hit decay, and how to build a practical cost evaluation using your own workload profile and cost per task.

    1. Why Sticker Price Is the Wrong Metric for Subscription Plans

    With subscription-based AI coding tools, users rarely see a per-unit price. Instead, they get a bundled price and a usage quota. This creates a deceptively simple question: is a given tier actually worth it?

    Answering that requires accepting one premise: subscriptions hide the complexity of metered billing. Vendors expose only an integer percentage bar for quota consumption. Users cannot see the real deduction rate for each token type. As a result, plan comparisons degrade into sticker-price comparisons—and sticker price is the least reliable indicator.

    The problem gets worse because workloads vary dramatically across tools. For “writing code,” some scenarios reuse long contexts repeatedly, while others switch tasks frequently and invalidate caches. With different workload structures, the same quota can support several times more or less actual work.

    So the core question here is not about any single product. It is a general technical problem: when billing rules are opaque, how do you reverse-engineer the real capacity of a subscription quota and make a rational cost judgment?

    2. Four Token Types and the Hidden Credit System

    In mainstream LLM inference pipelines, tokens in a single request typically fall into four categories:

    • Fresh Input: new context in this request that is not covered by any cache;
    • Cache Write: context written for the first time to establish a reusable prefix cache;
    • Cache Read: context that hits an existing prefix cache and needs no recomputation;
    • Output: the generated completion.

    Because cache reads cost far less to compute than fresh processing, these four token types usually carry different weights in real billing. Subscriptions add another layer on top: they convert each token type into a unified “quota unit” using its own coefficient, forming a hidden credit system that is invisible to users.

    Abstractly:

    1. Quota consumed = Σ (token count per type × conversion coefficient)
    2. Tokens supported by plan = Total plan quota / weighted consumption per token

    The value of this model is that it turns “is the plan worth it” into two measurable quantities: conversion coefficients and workload proportions.

    3. Reverse-Engineering Deduction Rates with Single-Variable Experiments

    Since vendors do not publish the coefficients, the only option is black-box observation. The approach used by industry analysts can be summarized as “single-variable isolation + boundary interval measurement.”

    3.1 Single-Variable Isolation

    Design requests so that each call heavily consumes only one token type:

    • Test Cache Read: write a large fixed context first, then repeatedly reuse the same prefix;
    • Test Fresh Input: change the content every time to guarantee a cache miss;
    • Test Output: extend the generation length alone and minimize input share;
    • Test Cache Write: control prefix size and observe the quota change from the initial write.

    3.2 Boundary Interval Measurement and Error Averaging

    Since the UI usually shows only integer percentages, the quota change from a single request is invisible. The engineering workaround is to issue requests continuously, record the cumulative tokens consumed as the quota jumps from 17% to 18%, and from 18% to 19%, then average across multiple complete intervals to cancel out rounding error.

    Illustrative pseudocode:

    1. def measure_deduction(session, token_type, target_intervals=5):
    2. samples = []
    3. for _ in range(target_intervals):
    4. start = session.quota_percent() # only integers are visible
    5. tokens = 0
    6. while session.quota_percent() == start:
    7. tokens += session.send(token_type) # single-variable request
    8. samples.append(tokens)
    9. return sum(samples) / len(samples) # average tokens per percentage point

    3.3 Weighting to Recover Real Workload

    Once the four coefficients are measured, weight them by the actual proportions of Fresh Input, Cache Write, Cache Read, and Output in your target workload. That gives you roughly how many tokens the plan can support. This is the critical step: coefficients are a product property; proportions are a user property. Only the combination is meaningful.

    4. Why Theoretical Numbers Are Always Optimistic: The Three-Fold Cache Decay

    Some public estimates use extremely friendly assumptions—for example, 97% cache hit input, 2.5% fresh input, and 0.5% output per million tokens. Under such a workload, the weighted cost per token is pushed extremely low, and the calculated token capacity looks impressive.

    But that is only “theoretical range.” In real usage, the cache hit rate decays for three reasons:

    1. Task switching: different tasks have different contexts, so prefix caches cannot be reused;
    2. Time-based expiry: caches have a lifecycle and must be rewritten after idle periods;
    3. Structural drift: session growth, branch retries, and inserted tool-call results all change the prefix.

    Compare this to an EV’s rated range: 500 km is a theoretical figure under continuous, unloaded, low-drag, constant-speed conditions. With real stop-and-go driving and frequent restarts, it may drop to around 350 km. The “discount factor” of a subscription quota, like real range, is determined by usage habits rather than nominal parameters.

    5. A Practical Cost Evaluation Workflow

    5.1 Measure Your Own Workload Profile First

    Before evaluating any plan, spend a week tracking the four proportions in your own workload. A rough but effective approximation:

    1. Cache hit rate ≈ requests reusing the same prefix / total requests
    2. Output share ≈ generated tokens / total tokens

    5.2 Use Cost per Task as a Second Ruler

    Token unit price is only one ruler. A metric closer to business value is cost per task:

    1. Cost per task = Plan price / effective tasks completed per unit time

    When cache assumptions collapse, cost per task often reveals the real cost earlier than token unit price.

    5.3 Optimization Directions

    • Stabilize system prompts and project context to reduce Cache Write frequency;
    • Split long tasks into continuous sessions with reusable prefixes to avoid frequent cold starts;
    • Separate batch, low-urgency tasks from interactive tasks to prevent cache pollution;
    • Set up monitoring and alerts with thresholds on quota consumption rate, instead of checking the progress bar after the fact.

    6. Conclusion

    Comparing subscription plans cannot stop at sticker price and marketing claims. The workable path is: use single-variable experiments to calibrate the conversion coefficients for the four token types, weight them with real workload proportions to recover capacity, and cross-validate with cost per task. It must be clear that any theoretical estimate rests on ideal cache assumptions, and real discounts are unavoidable.

    One relatively reliable conclusion: whether priced by token or by task, the real cost of current subscription options is not low; the differences lie more in workload fit than in absolute price. For developers and enterprise users, rather than hunting for “the cheapest plan,” quantify your own workload structure first—that is the starting point for cost control.