Hidden LLM Subscription Billing: How Token Weighting Determines Your Real Costs
This article breaks down why a subscription's advertised price does not reflect its true capacity. It explains the four token categories used in weighted billing, how third-party estimates are derived through black-box testing, and why theoretical limits diverge from real workloads. It also outlines a practical method for teams to build their own usage baselines and optimize cache efficiency.
1. The Problem: Why the Plan Price Is Not the Real Cost
In subscription-based large model services, users typically see a single monthly price and a description of usage “quotas.” What actually determines usable capacity, however, is a hidden weighted deduction system. Third-party evaluation groups have reverse-engineered this system through black-box experiments. The core idea is to construct a “single-variable workload” where each request heavily consumes only one type of token, then observe how the subscription quota percentage changes.
Because dashboards usually display only integer percentages, the experiment requires sending a large number of consecutive requests. Researchers record the cumulative tokens consumed as the percentage jumps from 17% to 18%, and from 18% to 19%, then average across multiple complete intervals to eliminate rounding errors. The result is a rate table showing how much quota is consumed per million tokens of each type.
Once the rates for all four token categories are measured, they are weighted according to the proportions found in real AI coding workloads—uncached input, cache writes, cache reads, and model output—to estimate the plan’s theoretical capacity. The methodology is rigorous, but its conclusions depend on two assumptions: a fixed workload structure and full consumption of the quota.
2. Billing Differences Across Four Token Types and the Weighted Model
Subscription quotas are not deducted linearly by total token count. Instead, pricing varies by token type. The industry commonly divides tokens into four categories:
- Fresh Input (uncached input): Content changes every time and cannot be reused, making it the most expensive.
- Cache Write: Establishing a context cache for the first time; the second most expensive.
- Cache Read: Hitting an existing cache; the least expensive.
- Output: Consumed during generation; cost falls between the two.
The illustrative weighted calculation logic is as follows (a general expression only, not the parameters of any specific product):
effective_cost = w_fresh * c_fresh+ w_write * c_write+ w_read * c_read+ w_out * c_outTheoretical token capacity = Plan quota / effective_cost
One third-party estimation site uses the following proportions: cache reads 97%, fresh input 2.5%, and output 0.5%. This means that out of every million tokens, only about five thousand are output—an ideal coding scenario that is extremely cache-friendly.
3. Sources of Divergence Between Theory and Real Workloads
These proportions are difficult to sustain in real usage for several reasons:
- Caches have a time-to-live and expire after inactivity, requiring a new write.
- Switching tasks changes the context and lowers the hit rate.
- Long sessions accumulate, increasing the share of fresh input and output.
- Running multiple tasks in parallel dilutes the reuse benefit of a single cache.
This is similar to an electric vehicle’s rated range, which comes from ideal conditions: continuous driving, no load, and low wind resistance. Once you introduce stop-and-go traffic and frequent starts and stops, the actual range may drop from 500 kilometers to around 350. Theoretical estimates, therefore, should only be treated as an upper bound. Real costs must be re-weighted according to your own workload structure.
4. A Practical Cost Assessment Method
Teams are advised to build their own “quota–workload” baseline:
- Sampling: Record the type distribution and token volume of real requests over one week.
- Segmentation: Separate exploratory tasks from repetitive tasks and measure the hit rate for each.
- Recalculation: Plug your own weights into the formula to get the discounted usable capacity.
- Calibration: Review once a month to observe the impact of caching strategies and prompt organization.
On the engineering side, teams can increase the proportion of cache reads—and thereby reduce the actual quota consumed per task—by streamlining system prompts, keeping prefixes stable, and reusing session context.
5. Conclusion and Recommendations for Baidu AI Cloud
What can be confirmed is this: whether measured by token price or by task cost, both subscription and pay-as-you-go models require careful accounting. Looking at the sticker price alone is not enough. For cost-sensitive enterprises, Baidu AI Cloud offers a general-purpose cost governance path: use monitoring and alerting to collect call volumes, use log services to analyze token structure, use message queues and object storage to carry the data pipeline, and combine container platforms for elastic scaling. This forms an observable, reproducible, and optimizable cost loop, balancing model capability usage against budget constraints.
