How Hidden Quota Accounting Works in LLM Subscription Plans

    This article explains why the theoretical token capacity advertised for subscription-based LLM plans is usually overestimated, and how to measure actual quota consumption instead. It covers the core differences between per-token API billing and a unified subscription quota pool, the distinct resource costs of four token types (uncached input, cache writes, cache reads, and output), and a boundary-probing method that uses single-variable workloads and multi-interval averaging to infer hidden deduction rates. It also shows how to replace idealized assumptions with a weighted workload model, plus practical optimization tips for improving effective throughput under a fixed monthly fee.

    1. The Starting Point: Why “Theoretical Token Capacity” Is Always Optimistic

    With subscription-based LLM services, users pay a fixed monthly fee while the platform maintains a quota conversion system that is not publicly documented. A common approach used by third-party pricing aggregators is to work backward from an idealized assumption—full cache hits and fully consumed quota—to estimate the total number of tokens that could theoretically be served per month. These numbers look impressive, but treating them as a budgeting baseline almost always leads to mismatched expectations.

    The root cause of the gap is not a calculation error but overly strong assumptions. The theoretical figure implicitly requires three conditions to hold at the same time: a near-saturated cache hit rate, a fixed request load structure, and quota that is consumed evenly and completely. In real development scenarios, all three are continuously broken. This is closely analogous to the rated range of an electric vehicle: the rated value comes from continuous, constant-speed, unloaded, windless conditions, whereas real driving involves stop-and-go traffic, frequent starts and stops, and the air conditioning running constantly—so the achieved range is often only around 70% of the rated figure.

    A more engineering-oriented approach, therefore, is not to chase an “accurate theoretical value” but to build a reproducible measurement and modeling method that turns uncertain billing rules into an observable deduction curve.

    2. The Nature of Subscription Billing: From “Unit Price” to a “Quota Pool”

    The pay-per-token API model is transparent: input, output, and cache reads and writes each have a clear price, and the bill can be verified line by line. Subscription plans work differently. They fold multiple resources into a single unified quota pool, so users see the plan tier and billing cycle but not the internal conversion factors.

    This leads to two typical pain points:

    • Non-verifiability: You cannot back-calculate the real unit price from a bill, so cost assessment lacks an anchor.
    • Structure sensitivity: For the same monthly fee, different load structures can yield several-fold differences in usable capacity.

    The conclusion is that evaluating a subscription plan requires more than looking at the listed price; you must assess the mapping between load structure and quota consumption.

    3. Differentiated Consumption Across Four Token Types

    Mainstream inference services generally distinguish four token types, whose resource costs differ significantly:

    1. Uncached input: Fully participates in attention computation, with the highest compute overhead.
    2. Cache write: Establishes the cache for the first time, incurring extra persistence and indexing costs.
    3. Cache hit read: Skips repeated prefix computation, with the lowest unit cost.
    4. Model output: Generated autoregressively token by token, unable to be parallelized, placing dual pressure on latency and compute.

    The engineering implication is direct: a workload with high cache reuse and short outputs, and a workload with frequently changing context and long outputs, differ by orders of magnitude in how much they can serve under the same monthly fee. Any “cost per million tokens” conclusion that ignores structural differences has limited reference value.

    4. Boundary Probing: Measuring the Hidden Quota

    Because the interface usually displays only integer percentages, a single request makes it hard to pinpoint consumption, so an interval-accumulation method is needed. The core idea is to construct a “single-variable workload” in which each request heavily consumes only one token type, then record the cumulative usage as the quota crosses integer boundaries.

    Illustrative pseudocode:

    1. def probe_quota(quota_reader, build_request, token_counter, step=1):
    2. results = {}
    3. for kind in ["fresh_input", "cache_write", "cache_read", "output"]:
    4. start = quota_reader.percent()
    5. used, last = 0, start
    6. while True:
    7. req = build_request(kind) # amplify only the target type of load
    8. used += token_counter(req)
    9. cur = quota_reader.percent()
    10. if cur != last: # crossed an integer boundary
    11. results.setdefault(kind, []).append((last, used))
    12. last = cur
    13. if len(results.get(kind, [])) >= 5:
    14. break # average over multiple intervals to cancel rounding error
    15. return results

    Key engineering details:

    • Single-variable construction: To measure cache reads, first write a fixed-length context and reuse it repeatedly; to measure uncached input, change the content each time to avoid hits; to measure output, lengthen the generation.
    • Multi-interval averaging: Collect at least several complete integer intervals and use the average to cancel the quantization error introduced by rounding.
    • Repeated experiments: Run multiple rounds across different time periods and account tiers to observe whether the quota rules remain stable.

    Once you have the deduction rates for the four token types, weight them by the real load proportions to back-calculate the approximate token capacity that tier can serve.

    5. Load Modeling: Use Weighting Instead of a Single-Point Conclusion

    Let the four deduction rates be (c_1..c_4) and the load proportions be (w_1..w_4). The combined quota consumption per token is:

    1. cost_per_token = Σ(w_i × c_i)
    2. monthly_capacity = total_quota / cost_per_token

    Aggregator sites often assume an extremely favorable structure close to “97% cache hits, 2.5% uncached input, 0.5% output,” which effectively pushes the combined cost to its lower bound. A real project should substitute its own measured proportions; for example, when context changes frequently, caches expire, and outputs run long, capacity shrinks noticeably.

    It is advisable to make the model a configuration item that is updated dynamically as the project evolves:

    1. workload_profile:
    2. cache_read: 0.72
    3. fresh_input: 0.20
    4. cache_write: 0.03
    5. output: 0.05

    6. Optimization Practices: Improving Effective Throughput

    • Stable prefix: Place system prompts, tool definitions, and specification documents at the front and keep them byte-for-byte stable to improve cache reuse.
    • Control context growth: Trim history and retrieved snippets promptly to avoid repeated cache invalidation.
    • Split task granularity: Execute long tasks in segments to reduce the write amortization of a single overly long context.
    • Build observability: Use logging services and monitoring alerts to record token structure and the quota consumption curve, forming a closed loop for continuous tuning.
    • Elastic fallback: Keep stable baseline load within the subscription quota, and handle bursts and batch jobs through a general-purpose cloud platform’s container service and message queue for queuing and peak shaving.

    7. Conclusion

    The “theoretical token capacity” of a subscription plan is only an upper-bound reference; what truly determines the experience is the load structure and cache behavior. Only by using boundary probing to measure the actual deduction rates of the four token types, then converting them to your own scenario with a weighted model, can you obtain effective throughput and true cost. For a team, solidifying this measurement and modeling process holds more long-term value than arguing over a nominal number.