How to Calculate LLM Subscription Costs Accurately: From Credits to Effective Token Pricing
This article explains why the common "discount multiplier" method misleads teams evaluating LLM subscription plans, and how to replace it with a reproducible cost model. It covers converting periodic credits into an effective per-million-token price, why lightweight tiers often restrict usable credits to a smaller sub-allowance, and how cache hits, cache writes, and default policies shift input costs. A normalized comparison table contrasts subscription-derived rates with pay-as-you-go API pricing across strong, lightweight, and low-cost models. The article then models real sawtooth workloads—where context grows until compaction—and recommends reporting both average and marginal unit prices, followed by a six-step calculation workflow, a list of common mistakes, and guidance on when to switch channels.
1. Why the “Discount Multiplier” Usually Misleads
When estimating LLM service costs, the most common approach is to divide the subscription credit by the subscription price and call the result a “how many times off” multiplier. The number is intuitive, but it is almost always distorted, for three reasons:
- Credits are periodic, not monthly. For credits that reset weekly, converting to a monthly figure requires multiplying by the number of weeks per year and dividing by the number of months—not simply multiplying by four. Skipping this step underestimates available volume by roughly 8%.
- Credits are often tiered. Different tiers, and different models, may share or hold dedicated allowances. Mixing tiers into a single estimate amplifies the error.
- The multiplier describes only a “theoretical ceiling,” not “what you will actually spend.” Real spending depends on the input/output ratio, cache hit behavior, and how context is managed.
A more rigorous approach is therefore: first convert periodic credits into an equivalent per-million-token unit price, then validate it against real workloads.
2. Converting Periodic Credits into an Equivalent Unit Price
The core conversion is simple:
monthly equivalent credit = periodic credit × periods per year / 12effective input price = monthly equivalent credit / monthly available tokens
For example, if a high-tier subscription costs 200 per month and the weekly allowance is equivalent to 1,600, the monthly equivalent credit is 1,600 × 52 / 12 ≈ 6,933, or about 34.67×. By contrast, a lightweight subscription priced at 10 per month with a weekly allowance equivalent to 60 works out to only 6×.
One frequently overlooked detail must be stressed here: in lightweight tiers, the usable allowance is often not fully available to the strongest models, but is capped inside a smaller sub-allowance. Calculating against the total allowance overestimates usable volume and underestimates the unit price. The correct approach is to price only the portion that can actually be invoked, which yields a higher unit price that is closer to reality.
3. Caching: Hit, Write, and Default-Policy Price Gaps
LLM billing usually splits input into “cache hit” and “cache miss,” with the hit portion priced significantly lower. However, many platforms add a cache write step, and whether it is controllable and enabled by default directly affects the unit price:
- Under the default policy, if writes are charged by default, the effective input price may rise by about a quarter;
- If a given subscription channel does not bill for writes, that item does not need to be listed separately;
- Output pricing is generally unaffected by caching and is the relatively rigid part of cost.
For any side-by-side comparison, the basis must be unified: either all figures follow the default policy, or all follow a “writes disabled” policy. Otherwise the conclusions are not comparable.
4. Unit Price Comparison: High-Quality Tier vs. Low-Cost Tier
Once the basis is unified, prices from different sources can be organized into a comparison table (the values below are illustrative, meant to explain the method rather than quote actual prices):
| Type | Input | Cache Hit | Output |
|---|---|---|---|
| High-tier subscription (converted) | 0.058 | 0.0058 | 0.346 |
| High-tier subscription (another tier, converted) | 0.144 | 0.0144 | 0.865 |
| Pay-as-you-go API (strong model) | 0.435 | 0.0036 | 0.87 |
| Lightweight subscription (converted) | 0.0058 | 0.00058 | 0.0346 |
| Pay-as-you-go API (lightweight model) | 0.2 | 0.02 | 1.2 |
| Pay-as-you-go API (low-cost model) | 0.14 | 0.0028 | 0.28 |
Three conclusions can be drawn from this table:
- Converted subscription input prices can fall below one tenth of pay-as-you-go API rates, which is the root cause of the seemingly exaggerated multipliers;
- Output prices for low-cost models on subscription channels can even be lower than the input prices of some strong models;
- The gap in cache hit prices is larger than the gap in input prices, showing that long-context, high-reuse scenarios amplify cost effects significantly.
5. Real-Scenario Accounting: From “Assumed Hit Rate” to “Fill Context, Then Compact”
Early estimates often used a fixed cache hit rate to project input cost, which assumes a steady workload. Real agentic coding and long-document scenarios are sawtooth-shaped: context keeps growing until compaction is triggered, then starts over. A steady-state assumption systematically misjudges cost.
A more realistic model looks like this:
loop:input += incremental inputoutput += incremental outputrequest carries the current context (partially cache-hit)if context reaches the threshold:run compaction (breaks the cache by default, requiring a rewrite)accumulate compaction costuntil N rounds are completecost = accumulated input + accumulated output + accumulated compaction
Under this model, two metrics must be reported together:
- Average unit price over the whole run = total cost / total tokens, for external reporting and budgeting;
- Marginal unit price of new tokens = incremental cost this round / incremental tokens this round, for judging whether extending the context further is worthwhile.
The marginal price is usually noticeably higher than the average price, because the cache rebuild cost at compaction time is concentrated into a single round. That gap is exactly the root cause of many teams “going over budget without being able to explain why.”
6. A Reproducible Accounting Workflow
- Unify the basis: define the period, the tier, the model availability scope, and the cache write policy.
- Convert unit prices: obtain the equivalent per-million-token price first, then move to scenario calculation.
- Collect real workloads: record per-round input/output increments, context length, and compaction trigger points.
- Report dual metrics: report average unit price and marginal unit price together.
- Sensitivity analysis: run range tests on cache hit rate, compaction frequency, and input/output ratio.
- Decision rule: when the marginal unit price exceeds the pay-as-you-go API price, switch channels or proactively trim context.
7. Common Pitfalls Checklist
- Multiplying a weekly allowance by four as if it were monthly, underestimating available volume;
- Pricing against the total allowance instead of the model-specific sub-allowance;
- Ignoring cache writes, causing input cost to be underestimated;
- Replacing real sawtooth workloads with a fixed hit rate;
- Looking only at average unit price and not at marginal unit price;
- Mixing prices from different default policies in a side-by-side comparison.
8. Conclusion
Subscription and pay-as-you-go billing are not simply a matter of “which is cheaper”; it depends on how credits are converted, the caching policy, and the quality of context management. Only by building an accounting framework that includes equivalent unit price conversion, real workload modeling, and dual-metric evaluation can teams make verifiable, reproducible cost judgments during a price-cutting cycle. If needed, organizations can plug this model into their own logging services and monitoring/alerting systems to make cost observable and enable automated alerts.
