Demystifying the Hidden Credit System Behind LLM Subscription Pricing
Large Language Model (LLM) services are typically billed either through token-based APIs or subscription plans. Subscription plans are difficult to compare due to a hidden credit system that weights tokens based on type, model version, context length, and cache state. This article explains how to scientifically reverse-engineer the actual capacity of a subscription plan by measuring the consumption rates of different token types, and offers practical advice for developers to estimate real costs using their own workloads.
1. Background: Why Subscription Prices Are Hard to Compare
In the past two years, mainstream billing methods for LLM services have fallen into two categories: token-based API pricing with separate rates for input, output, and cache read; and monthly or annual subscription plans, often advertised as “process X tokens per month” or “unlimited usage (with fair use policy).” The latter easily creates illusions during comparison: plans with the same nominal quota might have actual usable capacities differing by several times.
The root cause is that most subscription plans have a hidden credit system behind them. The credits consumed per request are not simply the token count multiplied by a fixed unit price, but a weighted calculation based on token type, model version, context length, cache state, and other factors. The interface only shows a vague quota percentage, making it difficult for users to convert it into comparable costs.
2. How to Scientifically Reverse-Engineer the Actual Capacity
The community has developed relatively rigorous testing methods. The core idea is to use controlled variables: making each request heavily consume only one type of token, then observing the drop in the quota percentage to calculate “how much subscription quota is consumed per million tokens of a certain type.”
Specific experimental designs are as follows:
- Isolate Cache Read: First, write a relatively long fixed context to enter the cache; then repeatedly send requests that only reuse this context, avoiding new input tokens. This way, the quota consumption almost entirely comes from cache read.
- Isolate Fresh Input: Change the context content for each request to ensure cache miss, making the quota consumption mainly come from input tokens.
- Isolate Output: Deliberately require the model to generate long output while controlling the input length to separately measure the deduction rate for output.
- Eliminate Quantization Error of Integer Percentages: The interface usually only shows integer percentages (e.g., jumping from 17% to 18%), leading to large observation errors. The solution is to continuously run a large number of requests, record the cumulative tokens consumed at each percentage jump, and then average over multiple complete intervals.
After measuring the deduction rates of the four types of tokens (cache hit input, cache miss input, cache write, output), you can weight them according to the token composition of a real workload to estimate how many tokens a subscription plan can handle in a specific scenario.
Illustrative pseudocode is as follows:
# Unit: subscription quota percentage points consumed per million tokenscost = {"cache_read": measured_rate_cache_read,"cache_write": measured_rate_cache_write,"fresh_input": measured_rate_fresh_input,"output": measured_rate_output,}# Token composition (proportion) of a real workloadmix = {"cache_read": 0.97,"fresh_input": 0.025,"output": 0.005,}# Total amount of tokens (in millions) that can be processed per percentage point of quotatokens_per_credit_pct = 1 / sum(share * cost[k] for k, share in mix.items())total_tokens = tokens_per_credit_pct * total_credit_pcts
3. Weight Assumptions Are the Key Variable
Note that the results of the above calculations highly depend on the assumptions about the workload’s token composition. Some pricing analysis tools use extreme ratios like “97% cache hit input, 2.5% fresh input, 0.5% output.” This might hold true for coding assistance scenarios that are highly cache-friendly, but is too optimistic for most real users.
An analogy can be made with electric vehicle range: an official range of 500 km is a theoretical value measured at constant speed, low drag, and ideal temperature; in daily stop-and-go traffic with AC on in winter, the actual range might only be around 350 km. The “total processable tokens” of a subscription plan is similar—the theoretical value with high cache hit rates and continuous execution of a single task can differ vastly from real usage involving multi-task switching, context invalidation, and longer outputs.
Main factors affecting actual capacity include:
- Cache hit rate: Task switching and context expiration significantly lower the hit rate, shifting consumption towards expensive fresh input.
- Output proportion: Tasks like generating long reports or refactoring code have high output proportions, and the output unit price is usually several times that of input.
- Context size: Long contexts amplify the absolute consumption of cache write and read.
- Request granularity: High-frequency small requests might trigger hidden limits on request counts or concurrency.
- Fair use policy: Some “unlimited” plans throttle after reaching a threshold, effectively shrinking the actual experience.
4. Practical Cost Estimation Advice for Developers
- Build your own baseline workload. Log API calls from a typical day, calculate the actual proportion of the four token types, and use this real ratio to evaluate subscription plans instead of applying the assumed ratios from vendors or third-party tools.
- Compare using unit cost rather than nominal quota. Convert everything to “actual cost per million tokens processed,” calculating cache read/write, fresh input, and output separately, to fairly compare with pay-as-you-go API pricing.
- Optimize cache reuse. Engineer to reuse system prompts and stable context, group requests by session, and avoid unnecessary context retransmission. This can significantly increase the cache hit rate and directly dilute the consumption rate of the subscription quota.
- Beware of theoretical maximums. For any promotional pitch that only gives a single “total” number, you should question its workload assumptions: What is the cache hit rate? What is the input-output ratio? Does it include throttling clauses?
- Combine with elastic scaling for selection. For businesses with fluctuating traffic, consider a hybrid strategy of a subscription quota baseline plus pay-as-you-go overflow. For stable, high-frequency workloads, focus on comparing the comprehensive unit token cost. Cloud vendor-provided services like serverless functions, container platforms, logging, and monitoring can be used to quickly build a cost observation pipeline to continuously track actual consumption.
5. Conclusion
The difficulty in comparing subscription plan prices is not a lack of numbers, but a lack of comparable metrics. The hidden credit system degrades the “nominal total tokens” from a precise measurement unit to a marketing buzzword. For developers and enterprise users to make rational decisions, they should: use controlled variable methods to reverse-engineer the deduction rates of various tokens, use their own real workloads to weight and calculate comprehensive costs, and remain vigilant against theoretical values based on high cache hit rates.
A pragmatic criterion is: whether billed by token or by plan, first calculate the “comprehensive cost per million effective tokens,” then add stability, throttling, and engineering integration costs. This is the truly meaningful dimension for comparison. In the current market environment, absolute prices of subscription plans may not necessarily be cheap, but by mastering the above measurement methods, you can identify which plans are severely inflated in their “theoretical values” and which are relatively honest, thereby spending your budget where it counts.
