Understanding LLM Subscription Token Cost Accounting Logic

    A practical guide to decoding how LLM subscription plans charge for tokens. Learn how to separate input and output token types, use integer percentage jumps to reverse-engineer deduction rates, apply realistic workload weighting, and build a reusable cost comparison framework.

    1. The Starting Point: Subscriptions Hide the Real Unit Cost

    Subscription plans replace the explicit pay-as-you-go unit price with a percentage progress bar. Instead of seeing “cost per million tokens,” users only see “percentage of quota remaining.” This design lowers the barrier to decision-making, but it also makes unit cost unobservable. To judge whether a plan is worth it, the first step is to translate that progress bar back into token terms.

    A common industry approach is to run controlled experiments: make each request consume as few token categories as possible, observe how the quota percentage changes, and then infer the deduction weight of each token type. The core idea is variable isolation, which mirrors the benchmark isolation approach used in performance testing.

    2. Four Token Types Must Be Measured Separately

    A single conversation request breaks down into four measurable objects at the underlying level, and their resource costs differ dramatically:

    • Fresh Input: requires a full forward pass, with the highest compute overhead;
    • Cache Write: persists the context as a reusable state, incurring a one-time write and storage cost;
    • Cache Read: skips repeated computation and only bears the cost of reading plus minor concatenation;
    • Output: generated autoregressively token by token, cannot be parallelized, and is sensitive to both latency and compute.

    Therefore, any conclusion about “how much quota is consumed per million tokens” must be tied to the ratio of these four types. A unit price detached from that ratio is meaningless.

    3. Key Design Points for Controlled Experiments

    To make the inferred results credible, the experiment design must satisfy a few constraints:

    1. Single-category isolation. When testing cache reads, first write a sufficiently long fixed context, then repeatedly reuse the same prefix; when testing fresh input, change the content every time to force cache invalidation; when testing output, lengthen the generation alone and compress the other variables.
    2. Cross integer jumps. The interface usually displays only integer percentages, so single-point sampling has huge error. The correct approach is to send requests continuously, record the tokens consumed as the percentage jumps from 17% to 18% and from 18% to 19%, and average over multiple complete intervals to spread out the quantization error.
    3. Multiple repetitions and interval regression. Fitting a line using the slopes of several complete intervals is far more robust than a single-point ratio.

    The illustrative accounting logic can be written as:

    1. # Pseudocode: infer unit deduction rate from integer percentage jumps
    2. def measure_deduction_rate(send_request, token_counter):
    3. samples = []
    4. prev_pct = read_quota_percent()
    5. used = 0
    6. while len(samples) < 5:
    7. send_request() # single-category token load
    8. used += token_counter.last()
    9. cur_pct = read_quota_percent()
    10. if cur_pct != prev_pct: # crossed one integer interval
    11. samples.append(used / (prev_pct - cur_pct))
    12. used = 0
    13. prev_pct = cur_pct
    14. return sum(samples) / len(samples) # tokens per 1% of quota

    Once the four rates are measured, weighting them by the ratio found in real intelligent coding workloads lets you infer roughly how many tokens a plan can support.

    4. Why the Theoretical Upper Bound Is Always Optimistic

    Some public estimates adopt an extremely friendly workload assumption: about 97% cache-hit input, about 2.5% fresh input, and about 0.5% output. Under this assumption, only a tiny fraction of each million tokens requires “expensive compute,” so the calculated token capacity looks very attractive.

    The problem is that real usage can almost never maintain this structure:

    • Frequent task switching changes the prefix and invalidates the cache;
    • Context has a lifetime and expires after a short interval, requiring a rewrite;
    • Long-output tasks (refactoring, batch test edits) significantly raise the output share;
    • Multiple parallel sessions compete for cache space, pushing the hit rate down further.

    This is like an electric vehicle rated for 500 km of range under test conditions of continuous, unloaded, low-speed driving with good aerodynamics; in reality it is stop-and-go, driven only a short distance each day, with the air conditioning always on, which may work out to less than 350 km. There is naturally a “workload discount factor” between the theoretical value and the engineering-measured value.

    5. A Reusable Cost Accounting Framework

    When comparing options, build your own table to convert plans into comparable terms:

    Dimension Quantity to record Purpose
    Four token deduction rates Tokens of each type per 1% of quota Restore the real unit price
    Workload structure Hit rate, input-to-output ratio Compute the discount factor
    Task cost Quota consumed per requirement or per refactor Compare by task
    Peak behavior Rate limiting, queuing, retry overhead Assess hidden costs

    With this table, comparing different plans no longer relies on marketing claims. Instead, run the same workload and arrive at a conclusion about “how much it costs to complete one real task.”

    6. Conclusion

    The value of a subscription plan cannot be judged by the listed price or the advertised token cap alone. The reliable path is: separate the four token types, use the integer-jump interval method to infer deduction rates, weight by real workload, and then apply a reasonable workload discount to the theoretical value. Whether accounting by token terms or by task terms, cost assessment only has engineering credibility when the two variables of cache hit rate and output share are explicitly modeled. For elastic validation, you can combine container platforms, logging services, and monitoring alerts to build a load-testing and accounting pipeline so that cost data remains continuously observable.