How to Rigorously Evaluate the Real Token Value of LLM Coding Plans
Subscription plans for LLM coding assistants show only a usage percentage and hide how each request is deducted. This article describes a reverse-derivation method that isolates cache reads, cache writes, fresh input, and output to estimate the quota weight of each type. It also explains why theoretical token capacity figures often overstate what developers can actually use, and offers guidance for comparing plans.
1. Why a Consistent Method for Evaluating Plans Is Needed
As AI coding assistants become more common, more services are moving from pay-per-API-call billing to subscription plans. Users pay a fixed monthly fee and receive a quota pool whose internal structure is not visible. The interface typically shows only a percentage, such as “37% of this month’s usage consumed,” but it never tells you:
- How much quota each request consumes;
- How input, output, and cache-hit tokens are each priced;
- How many sessions or lines of generated code the plan can theoretically support.
This opaque billing creates a direct problem: users cannot compare the real value of different plans side by side. Two plans with similar prices may differ several-fold in actual token capacity because their internal deduction weights differ. As a result, a reverse-derivation testing method has emerged in the industry. Developers should understand how it works and where it falls short.
2. The Reverse-Derivation Method: Isolating Quota Consumption by Token Type
The core idea is simple. Because platforms do not publish their deduction formulas, you deliberately construct extreme requests that consume mostly one token type. Then you observe how the usage percentage changes and work backward to estimate the unit price weight of that type.
2.1 Isolated Tests for Four Token Types
A typical LLM coding request contains four kinds of tokens:
- Cache read: Input that repeats earlier requests and is served directly from the server-side cache;
- Cache write: Fresh input that enters the context for the first time and must be written to the cache;
- Fresh input: Input that changes with each request and cannot hit the cache;
- Output: Content generated by the model.
Each type is tested as follows:
- Cache read: Send a large, fixed context once to populate the server cache. Then reuse the same content in repeated requests so that nearly all input hits the cache.
- Fresh input: Use new random content in every request to avoid cache hits.
- Output: Ask the model to generate the longest reply it can while keeping input as small as possible.
- Cache write: Create large amounts of new content and send it only once, with no reuse.
2.2 Using Integer Percentage Thresholds to Reduce Error
Usage dashboards usually display whole-number percentages, such as 17% or 18%. The consumption of a single request therefore cannot be measured precisely. The workaround is to send many requests in sequence, record the cumulative tokens consumed between each full step (for example, from 17% to 18%, or from 18% to 19%), and average the results across several intervals. An illustrative script looks like this:
intervals = []prev_pct = read_usage_percent()tokens_at_prev = 0while len(intervals) < 10:send_isolated_request() # Build a request that consumes only one token typetokens_at_prev += count_tokens()cur_pct = read_usage_percent()if cur_pct > prev_pct:intervals.append(tokens_at_prev)tokens_at_prev = 0prev_pct = cur_pcttokens_per_percent = sum(intervals) / len(intervals)
With this approach, you can derive what percentage of the subscription quota each million tokens of a given type consumes. You can then reconstruct the complete hidden pricing structure.
3. From Deduction Weights to Theoretical Capacity
Once you have the deduction weight for each token type, the next step is to weight those values by the share each type makes up in a real coding workload. This gives a rough estimate of how many tokens the plan can process in one billing cycle.
Some third-party statistics sites report very large “equivalent token” figures. These figures usually rest on an extremely idealized mix, such as the one below:
| Token Type | Assumed Share |
|---|---|
| Cache read input | 97% |
| Fresh input | 2.5% |
| Output | 0.5% |
For every million tokens processed, 970,000 would come from cache reuse and only 5,000 would be generated output. This scenario is highly favorable to caching: heavy context reuse, with very little new input and output. The mix also happens to carry the lowest deduction weights.
4. The Gap Between Theory and Practice: An Analogy
The gap resembles electric vehicle range. A manufacturer may rate a car at 500 km of range, measured under steady speed, no cargo, and low air resistance. In daily driving, with frequent stop-and-go traffic, air conditioning load, and changing road conditions, the actual range may fall to 350 km.
Real coding use follows the same pattern:
- Cache entries expire: Server-side caches have a time-to-live. After a long gap, a session must rewrite its context, so a cheap cache read becomes a more expensive cache write.
- Task types vary: Tasks such as code review, documentation generation, and multi-file refactoring have a much higher share of fresh input than the idealized model assumes.
- Output share fluctuates: When a task requires large amounts of code or long documents, output tokens carry more weight and push total consumption up noticeably.
Any “theoretical token capacity” should therefore be treated as an upper limit that the plan may not reach. Actual usable capacity is often only 60 to 70 percent of the theoretical figure, or even less.
5. Selection Advice for Developers
Based on the analysis above, consider the following when evaluating a subscription plan:
- Look beyond the headline price and token figures. Ask what cache hit rate those numbers assume.
- Measure your own workload. Estimate the rough ratios of input, output, and cache reuse in your typical requests, then plug them into the calculation.
- Verify with isolated tests. The method has a low barrier to entry: construct extreme requests and watch how the quota changes.
- Pay attention to caching. Organizing context well and reducing unnecessary changes is the most effective way to get more out of a plan.
- Use the same basis when comparing. Measure both plans under identical workload assumptions. Otherwise, the comparison tells you nothing useful.
Conclusion
Subscription billing shifts the uncertainty of cost from the platform to the user, and reverse-derivation testing gives some of that transparency back. Understanding how the four token types are deducted, and recognizing the gap between theoretical capacity and real workloads, lets you choose rationally among many plans so that every subscription fee is well spent.
