How to Measure LLM Subscription Quota Consumption and Real Cost Efficiency
A subscription price or per-million-token rate does not show the real cost of an LLM plan. This article explains how to isolate four token types, reverse-engineer hidden quota deductions, weight them by a real workload, and discount theoretical capacity so plan comparisons reflect usable task cost.
How to Measure LLM Subscription Quota Consumption and Real Cost Efficiency
1. List Price Is Not Effective Cost
When comparing large language model subscription plans, the most misleading figures are the sticker price and the nominal price per million tokens. A plan is often driven by an internal quota system that is not fully disclosed. Different token types consume quota at different rates, and the platform may further adjust charges based on cache hits, context length, output length, concurrency, and rate limits. Two plans with similar list prices may therefore support very different amounts of useful work. A lower nominal unit price can also become more expensive if its quota deduction rules are stricter.
Claims that one plan is “priced in line with” another should be evaluated on the cost per effective task: how much quota a real coding task, long-document analysis, or multi-turn conversation consumes, how often the cache misses, how many output tokens it produces, and what that costs in money. Price comparisons are meaningful only when the hidden quota system, workload mix, and real-world discounts are included.
2. Measuring a Hidden Quota: Isolate Four Token Types
To reverse-engineer a plan’s quota, do not look only at the total bill. Measure how many percentage points of subscription quota are deducted for every million tokens of a given type. The usual method is to design requests that consume a large amount of only one token type at a time, so the variables stay isolated. Four consumption types usually need to be separated:
- Cache-hit input (cache read): Reuse a fixed context that has already been written so the request mainly hits the cache.
- Cache-miss input (fresh input): Change the content on every request so it does not hit the cache.
- Cache write: Write a large context for the first time and observe the quota deducted during the write phase.
- Model output: Extend the output so output tokens dominate the request.
The interface often shows quota only as an integer percentage, so the change from a single request can disappear into rounding. Send requests continuously, record how many tokens were consumed when the quota moved from 17% to 18% and from 18% to 19%, and average several complete intervals to reduce integer-percentage error. The abstract procedure is:
def estimate_quota_cost_per_million(token_kind):samples = []for interval in select_stable_intervals():reset_to_stable_state()consumed_tokens = 0while quota_percent < interval.end:consumed_tokens += issue_request(token_kind)samples.append(consumed_tokens)tokens_per_percent = mean(samples)quota_pct_per_million = 1_000_000 / tokens_per_percentreturn quota_pct_per_million
Here, tokens_per_percent is the average number of tokens required to consume 1% of the plan quota, and quota_pct_per_million is the percentage of quota consumed per million tokens of that type. Only after the deduction rates of all four types are measured can the workload be weighted.
3. From Per-Type Rates to Plan Capacity: Weight the Workload
A real workload does not contain only one token type. A coding task may include a fixed system prompt, project context, cache hits, a small amount of new input, a longer output, and retries. Start with a real workload profile, then weight the rates:
weighted_quota_pct_per_million =w_cache_read * cost_cache_read+ w_cache_write * cost_cache_write+ w_fresh_input * cost_fresh_input+ w_output * cost_outputcapacity_million_tokens = 100 / weighted_quota_pct_per_million
weighted_quota_pct_per_million is the combined quota percentage consumed per million tokens. capacity_million_tokens is the theoretical number of millions of tokens the full quota can carry under that workload mix. The result depends strongly on the weights. Some theoretical estimates use a very cache-friendly coding scenario—most input hits the cache and output is a small share—and therefore report a high theoretical capacity. In real use, caches expire, tasks change, context grows, and output length varies, so actual capacity is usually well below the theoretical full-load figure.
A hypothetical mix used only to demonstrate the formula makes the point: assume 90% cache-hit input, 2% cache writes, 7.5% cache-miss input, and 0.5% output. If the four measured deduction rates are a, b, c, and d, the combined rate is 0.9a + 0.02b + 0.075c + 0.005d. Raising the output share to 3% can increase the combined rate substantially and reduce the number of tokens the plan can carry. “Theoretical tokens processed” is not a product constant; it is a function of the workload mix.
4. Why Theoretical Full Load Is Not the Real Experience
Theoretical capacity usually assumes a continuous, stable, cache-friendly request sequence, similar to an electric vehicle’s range measured unloaded, in low wind resistance, at a constant speed. Real use is stop-and-go: a little work each day, expired caches, changing task types, uncontrolled output length, and extra consumption from retries and added context. The main sources of discount include:
- Unstable cache-hit rates: Switching projects, updating context, or letting the cache expire turns cache-hit input into cache-miss input, which usually costs more quota.
- Different task structures: Code completion, long-form generation, multi-turn dialogue, and batch analysis have completely different input-to-output ratios. One scenario cannot represent all of them.
- Uncontrolled output length: Output tokens often have a higher unit price or deduction rate, so long outputs quickly raise the combined cost.
- Retries and failed requests: Timeouts, truncation, and format errors cause retries that consume input quota again and sometimes output quota as well.
- Context growth: In multi-turn tasks, history accumulates. A cache miss amplifies input consumption.
- Concurrency and rate limits: Queuing, throttling, and degradation under high concurrency reduce effective throughput and lower the return per unit of time.
- Measurement error: Integer percentages, delayed quota refreshes, and batch-request boundaries affect the reverse-engineered rates. Average multiple intervals and repeat the experiment.
Do not ask only how many tokens a plan can theoretically run. Also ask, under your task mix, what the effective token cost is, how many tasks can be finished before the quota runs out, and how fast cost rises after cache misses.
5. Engineering Practice: A Reproducible Evaluation Baseline
Treat plan evaluation as a regression-ready engineering process, not a one-time subjective impression.
- Define the workload profile. Sample real requests for input length, output length, cache-hit rate, task-type mix, and retry rate, covering at least weekdays and peak periods.
- Measure in isolation. Build requests for each of the four token types, record quota-jump intervals, and calculate the quota deduction rate per million tokens.
- Reverse-engineer with weights. Use the real profile to compute the combined deduction rate and theoretical capacity, and report optimistic, neutral, and conservative cache-hit rates.
- Build a budget model. Include the monthly plan fee, quota limit, number of tasks actually completed, retry cost, and human operations cost in the cost per task.
- Monitor and re-run the baseline. Keep recording the ratio of quota consumed to effective tokens, and recalculate the budget automatically when the cache-hit rate or output share changes.
When the evaluation service runs on a general cloud environment such as Baidu AI Cloud, common capabilities such as object storage, logging, and monitoring alerts can store samples, track quota changes, and produce regression reports. These are infrastructure only; they do not change the measurement principles above. For enterprise selection, a more reliable approach is to derive the workload profile from a small set of real tasks, calibrate the hidden quota with isolated measurements, and plan capacity with a conservative discount. A subscription is cost-effective only when nominal unit price, hidden quota, real workload, and actual discount are evaluated in the same model.
