LLM API Pricing Increased 5x: How to Evaluate the Real Cost

    A practical framework for evaluating a 5x LLM API price increase by looking beyond per-token rates. Learn how three-part pricing (input, output, cached tokens), effective cost per successful task, subscription credit conversion, and engineering optimizations such as prompt caching, batch processing, and model routing determine what your budget actually buys.

    1. The Signal: A 5x Price Increase, and Why Unit Price Is the Wrong Metric

    A recent industry discussion centers on a new-generation LLM whose API pricing is roughly five times higher than the previous generation: about 100 RMB per million output tokens, 20 RMB per million input tokens, and 1 RMB per million cached tokens. Two opposite conclusions followed. One side calls it “not expensive,” since first-tier closed-source models charge more per token and the new model ranks near the top of public benchmarks. The other calls it “far more expensive,” because once subscription plans are converted into usable quota, the output per dollar from domestic models is clearly lower than overseas alternatives.

    Both conclusions can be self-supporting, which shows the discussion is using the wrong unit of measure. Unit price is a quote; cost is the basis for a decision. For developers and enterprise users, only three questions matter: how much does it cost to complete one real task; how many tasks can a given budget support; and which engineering techniques can reduce unit cost without degrading quality. This article builds a reusable evaluation method around those three questions.

    2. Breaking Down the Pricing Structure: What Three-Part Pricing Means

    Mainstream LLM API billing is usually split into three parts: input tokens, output tokens, and cached tokens. The price differences are not a marketing design but a reflection of compute characteristics.

    • Output is the most expensive. Generation is autoregressive, every step requires a full forward pass, intermediate results cannot be reused, and compute consumption scales roughly linearly with generated length.
    • Input comes next. A prompt only needs one forward pass to be “read in,” but the attention overhead of long context still applies.
    • Cache hits are the cheapest. When a request prefix matches already-cached content, those tokens can skip repeated computation, so the price is typically a fraction of the input price.

    This structure leads to a key inference: a 5x price increase does not mean a 5x bill. The real bill is a weighted result of the three prices, and the weights are determined by the shape of the workload. A workload centered on long-document summarization, with a fixed system prompt and very short output, naturally has a high cache hit rate, which significantly dilutes the impact of the increase. A generative workload that changes context every turn and outputs thousands of tokens gets almost no cache benefit, and its bill scales close to linearly with the output price.

    A simplified cost model can be written as:

    1. def task_cost(input_tokens, output_tokens, cache_hit_ratio,
    2. p_in=20.0, p_out=100.0, p_cache=1.0):
    3. """Unit: RMB / million tokens; returns cost per task (RMB)"""
    4. cached = input_tokens * cache_hit_ratio
    5. fresh = input_tokens - cached
    6. return (fresh * p_in + cached * p_cache + output_tokens * p_out) / 1_000_000

    Plugging your real token distribution into this function tells you more than any benchmark ranking.

    3. Converting Benchmark Rankings into Cost: Correcting a Common Fallacy

    The argument “it ranks third in the world, so the price is justified” has a break in the chain. Benchmarks measure the ceiling of capability; the bill depends on the density of capability usage. Measurements from industry evaluation organizations have offered a notable observation: when completing the same batch of tasks, the average token consumption of different models can be of the same order of magnitude, meaning a more capable model does not necessarily consume fewer tokens.

    This leads to a counterintuitive but important conclusion: if two models consume a similar number of tokens per task, the one with the lower unit price necessarily has the lower cost per task; the one with the higher unit price can only close the total-cost gap if it completes the task with fewer turns, fewer retries, and less rework. Evaluation must therefore include a quality dimension rather than choosing between unit price and benchmark rank.

    A practical engineering approach is to convert quality into a cost term:

    1. effective cost = (input cost + output cost + retry cost + manual rework cost) / task success rate

    Retry cost includes output tokens already consumed by failed requests, and manual rework cost can be converted as “human minutes × labor rate.” Many teams discover only after adopting this formula that a cheaper-per-token option with a low success rate actually has a higher effective cost.

    4. The Real Value of Plan Quota: A Unified Conversion Framework

    The most valuable insight in the original discussion is the challenge to subscription plans: if a plan priced at 199 RMB yields only 1,200 to 2,800 RMB worth of API usage, while overseas options offer hundreds of dollars of usage for a monthly fee of about 20 USD and thousands of dollars for 200 USD per month, then domestic options are indeed at a disadvantage in “usable quota per dollar of budget.”

    To make this comparison rigorous, normalize everything to an effective quota multiplier:

    1. effective quota multiplier = usable API value within the plan / plan price
    2. effective task count = effective quota / average cost per task

    Three constraints must be considered in the calculation. First, whether the quota distinguishes input from output; some plans convert with weighting, where output carries a higher weight. Second, whether the quota resets monthly or can accumulate across months. Third, rate limits and concurrency caps mean “nominal quota” cannot be fully consumed, so it must be converted by actual throughput. Once these three points are applied, differences in nominal multipliers often shrink or widen, and only the converted numbers are usable for decisions.

    5. Optimization Practice: Lowering Unit Cost Without Sacrificing Quality

    5.1 Improve the Cache Hit Rate

    Cache benefit depends entirely on prefix stability. Splitting requests into a “stable prefix + variable suffix” is the most effective way to raise the hit rate.

    1. [system instructions][tool definitions][domain knowledge][fixed examples] <- stable prefix, unchanged over time
    2. [current user input][dynamic info such as timestamps] <- variable suffix, placed at the end

    Anti-patterns to avoid include: prepending the current time, a random request identifier, or dynamic retrieval results to the start of the prompt; repeatedly rewriting system instructions within the same session; and reassembling context in a different order each turn in long-document scenarios.

    5.2 Trade Batch Processing and Asynchrony for Discounts

    Most platforms offer price discounts for asynchronous batch jobs, at the cost of relaxing response latency from seconds to minutes or even hours. Offline summarization, bulk labeling, log aggregation, and code-base index building should default to the batch channel, while only interactive paths use the real-time channel.

    5.3 Tiered Routing and Model Orchestration

    Layering tasks by difficulty and using a lightweight model for intent recognition, format conversion, and field extraction, while sending only complex reasoning and long-form generation to a high-capability model, is the most deterministic approach to cost governance.

    1. def route(task):
    2. if task.est_output_tokens < 200 and task.difficulty == "low":
    3. return "small_model"
    4. if task.requires_long_context:
    5. return "long_context_model"
    6. return "flagship_model"

    5.4 Control Output Length and Context Size

    Output is the most expensive part, so constraining output length saves money directly: enforce structured output, require the conclusion first and the supporting evidence after, set a maximum generation length, and rerank and compress retrieval results before putting them into the prompt. Retrieval-augmented scenarios in particular should be wary of “stuffing an entire document into the context”; the benefit of fragment filtering and deduplication usually exceeds that of switching models.

    5.5 Build an Observable Cost System

    Cost governance presupposes visibility. At a minimum, collect the following dimensions and configure alerts: token consumption by business line, API, and tenant; cache hit rate and the share of cached tokens; average and P95 cost per task; and failure retry rate. Collection and asynchronous aggregation can rely on general-purpose cloud logging services, monitoring and alerting, and message queues. Cost data must be bound to call-chain identifiers, otherwise you can only locate a vague total bill rather than a specific business flow.

    6. Selection Decision Checklist

    1. Replay real business samples, measure the actual distribution of input, output, and cache hits, and compute cost per task with the cost model.
    2. Compare options using “effective cost = total cost / task success rate” rather than unit price or benchmark rank.
    3. Convert plans into an effective quota multiplier and effective task count, and verify reset rules, rate limits, and concurrency constraints.
    4. Prefer a combination of platform capabilities with transparent caching, an available batch channel, and support for tiered routing.
    5. Agree on cost definitions and alert thresholds in contract or budget reviews to avoid an out-of-control bill at month end.

    7. Conclusion

    A 5x unit price increase is a signal, not a conclusion. When pricing consists of three parts—input, output, and cache—the bill is determined by the shape of the workload; when capability is close and consumption is close, the cost difference is determined entirely by the room for engineering optimization. For developers, rather than arguing about whether it is expensive, it is better to get four things solid: prompt structure, the batch channel, model tiering, and cost observability. These four determine how many effective tasks the same budget can buy, and whether your bill stays under control through the next round of price changes.