Understanding the Hidden Billing Logic of LLM Subscription Plans
This article breaks down why LLM subscription tiers priced like flagship models can still feel opaque: subscription quotas are not raw token counts, but a hidden credit system that weights different token types differently. It explains a single-variable isolation method for reverse-engineering the deduction coefficients for cache reads, fresh inputs, outputs, and cache writes, shows why idealized cache-hit assumptions make capacity estimates overly optimistic, and offers a three-step framework for converting subscription cost into realistic usable volume. Readers will also find general engineering practices for reducing quota consumption and making more rational plan-selection decisions.
1. The Problem: The Quota Black Box in Subscription Plans
As AI coding tools and LLM subscription plans have become widespread, more developers are moving from pay-as-you-go API billing to monthly subscriptions. On the surface, a subscription plan only shows a simple quota percentage progress bar, and users seem to have no need to care about how tokens are billed underneath. But when plans from different vendors are placed in the same comparison table, one question keeps coming up: why can some tiers positioned as “lightweight” and “high-speed” cost as much as the flagship tier?
Answering this requires accepting one fact first: subscription quota is not equal to token count. Subscription systems typically contain a hidden credit system that converts different types of tokens into quota consumption at different weights. Outside observers can only see integer percentage changes, not the internal conversion formula. Therefore, any cross-plan price comparison that does not first reconstruct this conversion logic is likely to be misleading.
2. Reverse-Engineering Hidden Deduction Rules: Single-Variable Isolation Measurement
A reverse-engineering method commonly used by industry analysts is built on “controlling variables”: deliberately design requests so that only one type of token is consumed in large amounts at a time, observe how much the quota percentage drops, and isolate the deduction coefficient for that token type.
This can be broken into four independent measurement lines:
- Cache read measurement: First write a large block of fixed context to populate the cache, then repeatedly reuse the same content, so the request produces almost only cache-hit reads.
- Fresh input measurement: Change the input content each time to ensure no cache hit, concentrating consumption on uncached input.
- Output measurement: Construct tasks that require long text generation, isolating and extending output length.
- Cache write measurement: Continuously introduce new context, concentrating consumption on the initial cache write.
Because the interface usually shows only integer percentages, a single request lacks resolution. You therefore need to run a large number of consecutive requests and record the cumulative tokens consumed as the percentage jumps from 17% to 18%, and from 18% to 19%, averaging across multiple complete intervals to remove rounding error. The result is a coefficient table showing how much subscription quota is consumed per million tokens of each type.
Once the four coefficients are measured, weight them by the share of each token type in real coding workloads to estimate roughly how many tokens a plan can support. The illustrative calculation logic is as follows:
Quota consumed per request = Σ (token count of a type / 1,000,000 × deduction coefficient for that type)Total supported volume = total plan quota / weighted consumption per token
It must be emphasized that this kind of reverse-engineering relies on a large number of real requests and repeated experiments. Conclusions drift as the workload structure changes and can only serve as an order-of-magnitude reference, not a precise quote.
3. Why Idealized Estimates Are Overly Optimistic: The Cache-Share Assumption Trap
Some public estimates directly assume an extremely favorable workload structure, for example:
| Token type | Assumed share |
|---|---|
| Cache-hit input | 97% |
| Uncached input | 2.5% |
| Model output | 0.5% |
Under this assumption, only about 5,000 of every million tokens are output, and the vast majority is the cheapest cache read. The resulting “supported token volume” is naturally very large. But this is a theoretical upper bound, similar to the rated range of a new energy vehicle: it rests on ideal conditions such as continuous driving, no load, low wind resistance, and constant temperature.
In real use, discounts come from multiple directions:
- Task switching changes context, causing cache invalidation or expiration;
- Long sessions get truncated, forcing cache rewrites;
- Cache hit rates drop when multiple tasks run in parallel;
- Output share rises significantly in scenarios like reasoning, refactoring, and documentation generation.
With frequent starts and stops, running only a short segment each day, the actual usable volume may be far below the theoretical value. Therefore, a price advantage derived from ideal shares must be discounted for workload before interpretation.
4. Converting Subscription Cost into Real Usable Volume: A Three-Step Evaluation
Step one: sample your own real workload. Measure the approximate ratio of input, output, and cache hits over a week, rather than reusing default assumptions.
Step two: build a local conversion table. Use the single-variable isolation method to measure the four coefficients on a small-quota plan, then weight them by your own shares:
Weighted coefficient = 0.97 × cache read coefficient + 0.025 × uncached input coefficient + 0.005 × output coefficientEstimated usable tokens = plan quota / weighted coefficient
Step three: run a sensitivity analysis. Lower the cache hit rate from 90% to 70% and observe how much the usable volume changes, to judge the plan’s real value for you.
5. General Engineering Practices for Cost Optimization
- Stable context prefix: Place system prompts and project descriptions in fixed positions to improve cache reuse.
- Control context growth: Trim history promptly to avoid repeated cache invalidation and rewrites.
- Split task granularity: Break long tasks into short tasks that reuse context.
- Monitoring and alerting: Use logging services and monitoring alerts to record the quota consumption curve and locate abnormal consumption.
- Hybrid billing strategy: Use subscriptions for stable, high-frequency workloads and pay-as-you-go for sudden peaks, avoiding waste from a single mode.
6. Conclusion
Price differences between subscription plans are essentially not about “expensive versus cheap,” but the product of three factors: hidden deduction rules, cache friendliness, and real workload structure. By understanding single-variable isolation measurement, recognizing the bias in idealized assumptions, and using a weighted model to convert to real usable volume, developers can make rational selection decisions. For users in China, whether billing is per token or per task, subscriptions are not cheap; the key is to make the workload structure as cache-friendly as possible and turn theoretical quota into actual output.
