How to Evaluate the Real Cost of LLM Subscription Plans
This article explains how to estimate what an LLM subscription plan actually costs in tokens, since plan pages only show integer percentage usage and hide the internal credit conversion rules. It presents a single-token-type probe method for measuring the deduction rates of cache-hit input, uncached input, cache writes, and output separately, shows why idealized assumptions such as 97% cache hits produce overly optimistic numbers, and offers a three-step framework based on baseline measurement, workload modeling, and a scenario discount factor. It closes with general practices for lowering cost per task through stable prefixes, output control, context hygiene, tiered routing, and observability.
1. The Starting Problem: Why Comparing Plans by Sticker Price Is Not Enough
Once AI coding tools moved to subscription pricing, the question developers ask most often is how many tokens a plan at a given price actually corresponds to, and whether it beats pay-as-you-go billing. The core doubt in the original discussion comes from exactly this point: a mid-tier plan is priced close to the flagship tier of the leading international models. Is there any cost basis behind that, or is it purely a pricing strategy?
Answering this requires accepting one fact first: subscription plan pages usually display only an integer percentage consumption bar and never expose the internal credit conversion rules. The only option from the outside is black-box experimentation. The more rigorous approach used in the industry is to design requests that consume a large amount of one single token type at a time, observe how the percentage jumps, and thereby isolate the deduction rate for each token type. Four token types need to be measured separately: cache-hit input, uncached input, cache writes, and model output.
2. Single-Token-Type Probe Experiments: Breaking the Black Box into Four Known Quantities
The key to the experiment design is variable isolation. If a single request consumes several token types at once, the observed percentage change cannot be attributed to any of them. A workable probe strategy is:
- Measuring cache hits: first write a sufficiently long fixed context so that it enters the cache, then reuse the same prefix repeatedly. At that point both new uncached input and output are minimal, so the quota drop is driven mainly by cache reads.
- Measuring uncached input: change the context content every time and deliberately avoid cache hits, so the entire input side is billed as uncached.
- Measuring output: compress the input to something very short and make the generation as long as possible, so output tokens become the only significant variable.
- Measuring cache writes: observe at the moment a long context is first written to the cache, and compare the difference against the reuse phase.
Because the interface shows only integer percentages, the noise from a single request is enormous, and you must average across multiple complete intervals. The illustrative data processing logic can be written as:
# Record cumulative tokens at percentage jump boundaries, averaged across multiple intervalssamples = [] # (token_type, tokens_in_interval, percent_jump)for seg in segments:samples.append((seg.token_type, seg.tokens, seg.start_pct - seg.end_pct))rate = {}for t in ("cache_read", "fresh_input", "cache_write", "output"):sel = [s for s in samples if s[0] == t]rate[t] = sum(s[1] for s in sel) / sum(s[2] for s in sel)# rate[t] means: how many tokens correspond to 1% of quota consumed
Once the four deduction rates are measured, weighting them by their share in a real workload lets you back out roughly how many tokens the plan can carry. This step is the core of the whole methodology, and also the source of all subsequent disputes.
3. The Idealized Assumption: Why Theoretical Numbers Are Always Optimistic
Some public estimates conclude that a plan is “extremely good value” because they assume a highly idealized workload mix: cache-hit input accounts for about 97%, uncached input about 2.5%, and output only about 0.5%. Under those proportions, only five thousand tokens per million are billed at the high output rate while the vast majority enjoy the cache discount, so the calculated usable token volume is inflated substantially.
The problem is that this ratio holds only in a very narrow scenario: a single repository, an extremely long and stable context, continuous high-frequency follow-ups, and a cache that never expires. Real development is the opposite:
- Task switching forces context to be rebuilt, and the cache hit rate drops sharply;
- Caches have a lifetime and expire after a period of inactivity, requiring a fresh write;
- With multiple repositories and branches in parallel, prefixes cannot be reused;
- Long-output scenarios (refactoring, writing tests, generating documentation) push the output share above 10%.
This follows the same logic as the rated range of an electric vehicle: 500 kilometers is a theoretical figure under continuous driving, no load, low aerodynamic drag, and constant temperature. Once you drive in stop-and-go traffic with the air conditioning cycling on and off, the real figure may fall below 350 kilometers. The “theoretical token volume” of a subscription quota likewise needs a scenario discount factor applied.
4. A More Realistic Estimation Framework
It is better to break the evaluation into three steps and make decisions with ranges rather than single-point numbers:
- Baseline measurement: use the probe method above to obtain the deduction rates for the four token types, serving as the plan’s “price list.”
- Workload modeling: calibrate proportions for your team’s real workloads, for example one parameter set for everyday Q&A style (70% cache hit, 15% uncached, 15% output) and another for refactoring style (40% cache hit, 20% uncached, 40% output).
- Discount conversion: use the weighted deduction rates to compute the equivalent usable tokens, then multiply by the efficiency loss from cache expiry and task switching to get a conservative figure.
Equivalent usable tokens = plan quota / Σ(share_i × deduction_rate_i) × scenario discountSuggested scenario discount range: 0.5 ~ 0.8 (use the lower bound for heavy parallel multitasking)
For long-term observation, quota percentages, request types, and token counts can be collected through a logging service, with a monitoring and alerting dashboard used for trend analysis, avoiding guesswork about “why the quota suddenly disappeared.”
5. General Practices for Cost Optimization
Whether you choose pay-as-you-go or a subscription, the approach to lowering cost per task is the same:
- Stable prefixes: keep system prompts, project conventions, and long documents fixed at the very front to improve cache reuse;
- Control output: ask for chunked delivery, plan before code, to reduce one-shot long generations;
- Context hygiene: trim history regularly so irrelevant content does not keep being billed;
- Tiered routing: send simple completions to a lightweight tier and complex reasoning to a higher tier, with scheduling done in a unified gateway layer;
- Observability: bring token consumption, cache hit rate, and task success rate into the same dashboard, and let data drive plan selection.
6. Conclusion
The single-token-type probe method is currently the most reliable path for externally inferring subscription quotas, but it can only yield an upper bound. Any estimate based on a 97% cache hit rate should be treated as a theoretical peak, and real cost must add a scenario discount. Looking at the broader landscape, token-based pricing and task-based pricing each win under different workloads; the key is to quantify your own workload mix first and only then discuss value for money. For engineering teams, rather than chasing nominal quotas, it is better to make cache reuse, context hygiene, and observability solid — that is the only way to genuinely convert subscription fees into delivery efficiency.
