Understanding the Hidden Billing Logic of LLM Subscription Plans

    A practical guide to how monthly LLM subscriptions actually charge for usage. It breaks down the four token categories that drive quota deduction, explains a single-variable probing method to reverse-engineer hidden cost coefficients, and shows why cache hit rate is the first variable in any realistic cost model. Readers will learn how to convert theoretical capacity into usable capacity using their own logs and apply cost-governance practices when selecting AI coding tools.

    1. The Starting Point: A Subscription Does Not Mean Unlimited Usage

    In recent years, AI coding tools have largely shifted from pay-as-you-go billing to monthly subscriptions. On the surface, users pay a fixed fee and receive a “large” allowance of calls. What actually determines the experience, however, is the undisclosed set of quota conversion rules behind each plan. When evaluating options, many teams look only at the listed price and overlook the fact that, under different workload structures, plans at the same price may support several times more or less actual work.

    To understand this gap, it helps to treat the “subscription quota” as a form of virtual currency: it is deducted according to model call behavior under specific rules, and the deduction rate is strongly tied to the type of input and output.

    2. Differentiated Charging for Four Token Types

    Mainstream quota systems typically split a single request into four token categories, each priced separately:

    • Cache Read (cached input): repeated context is reused, with the lowest unit price;
    • Fresh Input (uncached input): new content entering for the first time, with a higher unit price;
    • Cache Write: the additional overhead of establishing a cache, usually the most expensive;
    • Output: generated content, with a unit price significantly higher than input.

    This means that the same one million tokens can deduct an amount of quota that differs by an order of magnitude depending on their structure. Before evaluating a plan, you must first determine which structure your workload falls into.

    3. How to Reverse-Engineer the Hidden Deduction Coefficients

    Because the interface usually displays only integer percentages, direct observation carries a large margin of error. A common industry practice is the “single-variable stress test”: make each request consume as few token types as possible, then record the range over which the quota percentage jumps.

    Illustrative pseudocode:

    1. def probe(quota_api, token_type, batch):
    2. start = quota_api.read_percent()
    3. used_tokens = 0
    4. while True:
    5. payload = build_payload(token_type, batch) # Amplify only the target type
    6. quota_api.call(payload)
    7. used_tokens += count_tokens(payload, token_type)
    8. now = quota_api.read_percent()
    9. if now != start:
    10. # Record the cumulative tokens within one full percentage interval
    11. return used_tokens / (now - start)

    There are three key points: first, construct requests that amplify only a single token type; second, use the “percentage jump” as a boundary and take the entire interval rather than a single point; third, average across multiple intervals to cancel out rounding errors. Once the four coefficients are measured, weight them by the proportions of your real workload to estimate the plan’s theoretical capacity.

    4. Cache Hit Rate: The First Variable in the Cost Model

    Some third-party estimates assume an extremely high cache hit rate (for example, over ninety percent of input is cache reads and output is under one percent), yielding a very optimistic token capacity. This is similar to quoting range under ideal conditions of continuous coasting, low drag, and constant speed: the number holds, but it is not reproducible.

    In real development scenarios, caches become invalid due to context changes, session switches, and expiration eviction, and the hit rate fluctuates with the task. A more realistic estimation approach introduces a hit-rate variable:

    1. effective_cost = fresh_ratio * c_fresh
    2. + cache_write_ratio * c_write
    3. + cache_read_ratio * c_read
    4. + output_ratio * c_output

    The coefficients here come from stress testing, and the ratios come from statistics on the team’s real logs. As long as the hit rate is lowered from the ideal value to the actual value, the estimate will usually shrink noticeably.

    5. Converting from “Theoretical Value” to “Usable Value”

    Teams are advised to build their own conversion table: continuously record call logs for one week, tally the proportions of the four token types, substitute them into the formula above to obtain the “quota cost per million effective tokens,” then convert that into the “average cost per task or per session.” This is more reliable than any marketing claim.

    6. Selection and Cost-Governance Recommendations

    1. Account on a per-task basis, rather than ranking by token unit price;
    2. Prefer solutions with transparent caching mechanisms and observable hit rates;
    3. Design trimming and reuse for long-context scenarios to improve cache hits;
    4. Build a quota dashboard with monitoring alerts and logging services, and set threshold reminders;
    5. During the contract or trial phase, run small-scale validation with real workloads.

    7. Conclusion

    The value of a subscription plan does not depend on the listed price, but on how well the deduction coefficients match your real workload structure. Understanding the differentiated billing of the four token types, mastering the reverse-engineering method, and replacing idealized assumptions with measured data are what enable rational decisions when selecting AI coding tools.