LLM Subscription Plans vs. API Pricing: A Cost Accounting Framework

    This article presents a practical framework for comparing LLM subscription plans with pay-as-you-go API pricing. It shows how to convert fixed subscription fees into effective per-token rates, unify input, cache-hit, cache-write, and output pricing across models, and model real workloads instead of relying on nominal discounts. Readers will learn how to build reproducible cost calculations and make better model selection decisions.

    1. Why a “Major Price Cut” Does Not Mean Lower Cost

    Recent discussions about LLM service price changes often stop at the nominal discount, such as “how many times cheaper” a plan appears to be. But real engineering cost is never determined by the list price alone. It is shaped by billing methodology, caching strategy, usage volatility, and tier limits. Looking only at the unit price drop can easily lead to the wrong conclusion.

    This article does not target any specific product. Instead, it abstracts a general accounting framework that compares subscription-style plans (essentially prepaid token plans) with pay-as-you-go APIs on the same scale. By incorporating mixed usage from real business scenarios, it produces a reproducible effective unit price.

    2. Core Method: Converting Subscription Quotas into Effective Unit Prices

    The key to subscription pricing is converting a fixed monthly fee into a total usable quota, then dividing by that quota to get the effective unit price.

    Let the subscription price be P_sub, the quota consumed within the measurement period be Q_week, and the number of periods be 52 weeks. The monthly average usable volume and discount multiple are:

    1. Monthly average volume = Q_week * 52 / 12
    2. Effective discount = Monthly average volume / P_sub

    Example: a high-tier plan costs 200 per month, with a measured weekly quota consumption of about 1600. The monthly average volume is about 6933, giving an effective discount of about 34.7x. A low-tier plan costs 10 per month with a weekly quota of about 60, giving an effective discount of about 6x.

    Note: Quota consumption data should use a conservative lower bound. Usage varies significantly across tiers and time periods, and optimistic values will systematically overestimate the discount.

    3. Unifying Units: Three Price Types Must Be Converted to the Same Basis

    For a fair comparison, the following three price types must be converted to input, cache-hit input, and output prices per million tokens:

    1. High-quality models: API pay-as-you-go price and subscription-converted price;
    2. Low-cost models: API pay-as-you-go price and subscription-converted price;
    3. Pooled plans: a certain model inside a plan consumes only part of the total quota (for example, a small slice of the overall quota). When converting, only that portion of the quota must be used; otherwise, the real unit price will be underestimated.

    Illustrative table (values demonstrate the method and are not real quotes):

    1. High-quality model Input Cache hit Output
    2. Subscription A 0.058 0.0058 0.346
    3. Pay-as-you-go B 0.435 0.0036 0.870
    4. Pooled B 0.290 0.0024 0.580
    5. Low-cost model Input Cache hit Output
    6. Pay-as-you-go C 0.200 0.020 1.200
    7. Subscription C 0.0058 0.00058 0.0346
    8. Pay-as-you-go D 0.140 0.0028 0.280
    9. Pooled D 0.0233 0.00047 0.0467

    4. The Most Overlooked Variable: Cache Writes and Cache Reads

    Many calculations distinguish only “input / cache hit / output,” but some APIs have added a cache write step that can be controlled manually. Using the default strategy may increase input-side cost by about 25%, while the subscription side usually does not charge separately for cache writes.

    The correct approach is therefore to introduce a three-state input:

    1. Total cost = Uncached input * unit_in
    2. + Cache write * unit_write
    3. + Cache hit * unit_cache
    4. + Output * unit_out

    Engineering recommendations:

    • Explicitly write stable prefixes (system prompts, long documents, code context) to cache;
    • Disable writes for one-off short requests to avoid a “write-heavy, read-light” burden;
    • Track hit rate with monitoring metrics, and automatically fall back to normal input when the hit rate drops below a threshold.

    5. Realistic Scenario Modeling: Do Not Draw Conclusions from a Single Workload

    A single “long context” or “short Q&A” workload will produce a one-sided conclusion. It is recommended to build at least three workload profiles:

    1. Long-context code understanding (high input, high cache hit, medium output);
    2. High-frequency short Q&A (low input, low cache, low output);
    3. Batch generation (medium input, low cache, high output).

    Substitute the effective unit prices into each profile to obtain the weighted real cost. Example script:

    1. def cost(inp, cache_hit, write, out, p):
    2. return (inp*p["in"] + write*p["write"]
    3. + cache_hit*p["cache"] + out*p["out"])
    4. # p is a dict of effective unit prices for each option, in per million tokens
    5. scenarios = {
    6. "long_ctx": dict(inp=800_000, cache_hit=1_000_000, write=200_000, out=300_000),
    7. "short_qa": dict(inp=20_000, cache_hit=0, write=0, out=50_000),
    8. "batch": dict(inp=300_000, cache_hit=0, write=0, out=900_000),
    9. }

    6. Conclusions and Selection Recommendations

    • Subscription plans offer extremely low effective unit prices under heavy, stable workloads, but they are constrained by quotas and tiers, and cost efficiency drops when usage is volatile;
    • Pay-as-you-go APIs offer high ceilings and good elasticity, but cache writes must be managed explicitly; otherwise, the default strategy will push up input costs;
    • Pooled plans only apply to models that are allocated a sub-quota, and the calculation must count only the corresponding sub-quota;
    • The final decision should be based on weighted real-scenario cost + hit rate + quota constraints, not the nominal discount multiple.

    Turn the above methodology into scripts and dashboards. When prices change, simply replace the unit price dictionary to recalculate quickly, forming a sustainable cost governance loop.