Understanding Token Economics in LLM Subscription Plans
A practical guide to evaluating LLM subscription plans beyond the sticker price. Learn why a single "per million tokens" rate is misleading, how four distinct token types shape real cost, how opaque quota systems can be reverse-engineered, and how to build a workload-based framework that turns theoretical token counts into an engineering-usable budget.
1. The Starting Point: Why Plan Comparison Can’t Rely on Sticker Price
As LLM applications move into the engineering phase, subscription plans have become the mainstream model for AI coding tools and team compute procurement. A common puzzle is why two models with similar capabilities can have plan prices that differ by several times. Conversely, why does a plan that looks “premium-tier” on paper turn out to be inexpensive in practice?
The answer isn’t in the sticker price itself. It’s hidden in the undisclosed quota-conversion system behind each plan. To understand this, you first need to break down “token” as a billing unit.
2. Tokens Are Not a Homogeneous Commodity: The Cost Structure of Four Token Types
From the perspective of how inference services are implemented, a single request involves at least four types of tokens, and their real resource costs differ enormously:
- Fresh Input (cache miss): The model must run the full attention computation, the highest compute cost;
- Cache Write: Establishing the context cache for the first time, requiring extra storage and indexing cost;
- Cache Read (cache hit): Skipping repeated prefix computation, with cost as low as roughly one-tenth of fresh input;
- Output: Generated autoregressively token by token, impossible to parallelize, with a per-unit cost usually significantly higher than input.
Because of this, a single metric like “how much per million tokens” is inherently distorted. Any rigorous plan evaluation must first build a differentiated rate model for the four token types, then weight it by the workload structure.
3. How the Hidden Quota System Gets Reverse-Engineered
Since the interface usually only shows integer percentages, direct observation can’t yield precise rates. The common industry approach to reverse-engineering works like this:
- Single-variable isolation: Design requests so that each one consumes heavily in only one token category. To test cache reads, write a fixed-length context first and then reuse it repeatedly; to test fresh input, change the content each time to avoid a hit; to test output, lengthen the generation on its own.
- Interval differencing: Fire requests continuously and record the cumulative tokens consumed as the quota jumps from 17% to 18%, and from 18% to 19%.
- Multi-interval averaging: Take the mean across several complete intervals to eliminate the error introduced by integer rounding.
- Weighted reconstruction: Plug in the real proportions of the four token types in your actual workload to back out the total tokens a plan can support.
Illustrative pseudocode:
def probe_rate(consume_fn, start=0.17, end=0.30):samples = []for _ in range(5): # average over multiple intervalsbase = reset_quota()t0 = 0while quota_percent() < end:t0 += consume_fn() # consume only the target typesamples.append(t0 / (end - start))return sum(samples) / len(samples) # tokens per 1% of quota
The value of this method is that it turns opaque billing rules into comparable engineering metrics.
4. The Trap of Idealized Assumptions: What a 97% Cache Hit Rate Really Means
Some comparison sites adopt extreme workload assumptions: cache-hit input at 97%, fresh input at 2.5%, and output at just 0.5%. Under this structure, a plan’s theoretical usable token count gets inflated to a staggering number.
This is similar to the test conditions behind an EV’s advertised 500 km range: continuous driving, no load, low speed limit, no wind resistance. The real scenario is stop-and-go, frequent starts and stops, air conditioning always on, and the final result may fall short of 350 km.
Sources of discount on real development workloads include:
- Task switching invalidates context, so the cache can’t be reused;
- Caches have a lifetime, so conversations with long gaps inevitably trigger a rewrite;
- Multi-repo, multi-language projects have large prefix differences, so hit rates are naturally low;
- Long-output tasks (refactoring, documentation generation) directly push up the share of the most expensive output tokens.
5. A More Reliable Evaluation Framework
Teams are advised to replace “look at the sticker price” with the following four steps:
- Sample real workloads: Measure the actual proportions of the four token types over a week, rather than using ideal values.
- Build a conversion factor: Discount the theoretical value using measured proportions to get the “engineering-usable token count.”
- Convert to task cost: Use “quota consumed per completed standard task (e.g., one cross-file refactor)” as a unified metric.
- Set up observation and alerts: Track the quota-consumption curve via log services and monitoring alerts to identify abnormal consumption sources.
The engineering-usable amount can be approximated as:
EffectiveTokens = Σ (Quota_i / Rate_i × Share_i) × CacheEfficiency
where CacheEfficiency is a hit-rate correction term, typically between 0.5 and 0.8, and must be calibrated against measurements.
6. Conclusion
The real value of a subscription plan doesn’t depend on the comparison target it advertises. It depends on three things: the rate structure of the four token types, how cache-friendly your own workload is, and the output share. Theoretical values only provide an upper-bound reference; the engineering discount is what your budget should be based on. Building your own sampling and conversion process is more valuable than chasing any single comparison number.
