Cache-Hit Input Price Cuts and LLM Inference Cost Optimization
A specified cache-hit input rate drops to 20% of its previous price, while other rates stay the same. This article explains what that change covers, how prefix caching differs from answer reuse, how to estimate savings from bill share rather than an across-the-board 80% cut, and how to structure inputs and reconcile usage so price effects and engineering changes are measured separately.
1. Confirm the scope: one rate changes, not the whole call
According to the given announcement, from 00:00 on November 23, 2026 (Beijing time), the cache-hit input unit price for specified model services in specified regions is adjusted to 20% of the previous price. All other prices remain unchanged. In other words, the 80% reduction applies only to the “cache-hit input” billing item. It cannot be extended to other models or regions, and it does not mean that every input token, or the full inference bill, receives the same discount.
For an engineering team, the estimate should start from actual usage, not from request count alone. A request may include a reusable shared prefix and also dynamic content such as the current turn or live retrieval results. Whether a shared prefix is reused depends on the service’s cache rules and on how usage is actually metered. Dynamic content should not be treated as a cache hit just because it is semantically close to an earlier request. For budgeting, the reliable basis is the token volume billed as cache-hit input, not how often text looks repeated on the application side.
2. What a cache hit means: reused input processing is not a reused answer
LLM inference usually processes the input first, then generates the output step by step. A common prefix-cache mechanism reuses intermediate computation for a repeated input prefix, which avoids processing that prefix again. That is different from an application-level answer cache. An answer cache returns an existing result when reuse conditions are met. With a prefix cache, even on a hit, the model typically still has to process new input and generate the current response. A cache hit on input therefore does not make output free, and it does not mean two answers will be the same.
In an enterprise knowledge Q&A system, for example, role instructions, response rules, and fixed examples may repeat across many requests, while the user question and retrieved evidence often change every time. If the stable content sits at the front of the input in the same order and meets the service’s cache conditions, it has a better chance of being reused. If a request ID, timestamp, or session detail is inserted before that fixed text, the matching contiguous prefix can become shorter even when the instructions that follow are identical. This describes a common mechanism, not an implementation promise in the pricing announcement. Matching rules, cache lifetime, and metering should follow the actual service documentation.
3. Estimate savings from the bill share, not by applying 80% to everything
When the accounting basis is consistent and usage and hit patterns stay the same, inference cost can be split into four parts:
- Uncached input cost = uncached input tokens × the corresponding unit price
- Cache-hit input cost = cache-hit input tokens × the corresponding unit price
- Output cost = output tokens × the corresponding unit price
- Other costs = charges outside the three items above that are included in this estimate
Normalize rate units before calculating. If prices are quoted per million tokens, convert token counts to millions of tokens before multiplying by the unit price. Because only the cache-hit input rate changes, and if everything else stays the same:
Cost after the cut = original total cost − original cache-hit input cost × 80%.
Reduction in total cost = (original cache-hit input cost ÷ original total cost) × 80%.
Suppose, in one reporting period, a workload’s original total cost is 1,000 yuan, of which cache-hit input is 200 yuan, uncached input is 300 yuan, and output is 500 yuan. Under the new rate, cache-hit input falls to 40 yuan, the other two items stay the same, and the total becomes 840 yuan—a 16% reduction overall. These figures only illustrate the calculation; they are not actual prices.
Two metrics are easy to mix up. Token hit rate is the share of input tokens metered as hits. Cache-hit input cost share is that line item’s contribution to the total bill. Because input and output rates differ, a high token hit rate does not guarantee a large bill reduction. A long-form document task can reuse a large fixed input and still spend most of its budget on output. Workloads with long shared prefixes, short outputs, and frequent calls are better candidates to estimate first.
4. Shape the input: make stable content reusable, and keep dynamic content separate
Split input by how stable it is. Request content can be divided into shared instructions, task templates, and per-request data. Shared instructions are constraints that do not change across requests. Task templates are field descriptions and examples used for a class of tasks over a long period. Per-request data includes the user question, retrieved material, and live state. Without changing instruction priority, business meaning, or data-isolation requirements, put the stable part first and the dynamic part after it. Do not merge tenant data or permission context that should stay isolated into a shared template just to raise the hit rate.
Limit meaningless template changes. Field order, separators, whitespace, and message order can all change the final input sequence. Generate shared content from one template layer instead of letting each caller assemble it differently. When a new version ships, record the template version and watch hit rate, cost, and answer quality. If the hit rate falls after an upgrade, check whether the shared prefix changed, then decide whether the drop is a transition or a lasting structural issue. Do not pad prompts with useless text to lengthen a cacheable prefix: extra tokens can still cost money and consume context.
Pilot high-reuse tasks first. Batch classification, field extraction, and fixed-format review usually have stable instructions and examples, so they are good first checks. Long conversations need extra care with history trimming: if trimming often rewrites the front of the input, reuse can swing. For rare long-tail tasks, or tasks that must send a large amount of unique material every time, a complex cache change may be less worthwhile than simply removing redundant input. Whether to invest further should depend on unit business cost and quality metrics together.
5. Close the loop on billing, and separate the price effect from engineering gains
Before rollout, take representative traffic as a baseline. Group it by region, model, scenario, and template version, and record request count, input tokens, cache-hit input tokens, output tokens, and cost. If call responses do not include usage at that level of detail, use the bill line items or usage summaries that are available, and note the granularity. Do not infer real hits from text similarity, and do not substitute “number of requests that had a hit” for hit-token volume. Two requests can both hit the cache while reusing very different amounts of tokens.
Attribution can use two calculations. First, hold historical token volumes fixed and apply the rates before and after the change. That isolates savings from the price change alone. Second, hold rates fixed and compare hit and miss usage before and after the template change. That estimates the effect of restructuring the input. Also watch cost per thousand successful requests, error rate, and output quality, so retries, longer outputs, or traffic shifts are not mistaken for savings. When reconciling across the effective time, use one time zone and split usage by the billing-time basis on the invoice, so calls that do not qualify for the new rate are not included in the comparison.
In short, this change lowers the cost of input that is already billed as a cache hit. The most useful order of work is to confirm scope and billing definitions, quantify the original share of cache-hit input cost, and then run a small change on high-reuse scenarios. That puts the discount that can actually be realized into the budget, and it shows whether further optimization is worth the effort.
