LLM Cache Billing and Five-Tier Reasoning: A Selection Guide

    This article explains how lower cache-read pricing and configurable five-tier reasoning levels change LLM cost structure and invocation strategy. It covers cost formulas, cache-friendly context design, task routing, offline quality-cost evaluation, and cost/quality monitoring so teams can estimate cost per successful task rather than relying on list token prices alone.

    1. Background: A Pricing Change Is a Billing-Structure Change

    Recent LLM service announcements have sent two key signals. First, standard input and output unit prices may not change; the overall cost reduction mainly comes from a sharp decrease in the cache-read unit price. Second, reasoning capability is split into five levels from low to high, with no option to fully disable reasoning. For developers, this is not a simple price promotion. It is a signal that cost structure, invocation strategy, and evaluation methods all need to be recalibrated.

    This article is not tied to any specific vendor or product. It discusses a general technical question: when cache-read pricing is significantly lower than standard input pricing, and reasoning levels affect internal thinking and output tokens, how should engineering teams select models or tiers, calculate costs, and design cache-friendly context structures?

    The core formula is:

    1. Cost per request ≈ uncached input tokens × input unit price
    2. + cached read tokens × cache-read unit price
    3. + output tokens × output unit price
    4. + extra thinking/generated tokens from reasoning tier × corresponding unit price

    If the cache-read unit price drops to about one quarter of the original price, the cost of repeatedly reading the same context will fall significantly. Public estimates suggest that typical workloads may see overall costs fall by about one quarter, while agentic workloads that repeatedly read the same context may see savings closer to 40% to 50%. Whether these estimates hold depends on cache hit rate, context repetition ratio, output length, and reasoning tier.

    2. Why Cache Reads Matter for Agentic Workloads

    A typical agentic workload repeatedly reads the same system prompt, tool definitions, task instructions, knowledge snippets, and intermediate state over multiple rounds. In each round, the model continues planning, calling tools, and validating results based on the same prefix. Without caching, this repeated input is billed at the standard input price. With cache hits, it is billed at the lower cache-read price, and the cost curve becomes noticeably flatter.

    However, caching does not happen automatically. Engineering teams should focus on four conditions:

    1. Prefix stability: System prompts, tool descriptions, and fixed knowledge snippets should be placed at the front of the context, and their order, format, and wording should remain stable. Do not place timestamps, random IDs, or dynamic user information at the very beginning.
    2. Reuse frequency: Caching is suitable for high-frequency repeated reads. One-off tasks and low-concurrency tasks have limited benefits, and cache write and storage costs should also be considered.
    3. TTL and batching windows: Caches usually have a lifecycle. If the interval between tasks is too long, the hit rate will drop. Batch processing, session aggregation, and task queues can improve reuse per unit of time.
    4. Hit-rate observability: Cache hit rate, the share of cache-read tokens, and the share of uncached input tokens must be included in the cost dashboard. Otherwise, teams cannot determine whether the price reduction actually reaches the business.

    A common optimization mistake is to change only the unit price without changing the context structure. For example, inserting dynamic fields at the beginning of the system prompt changes the prefix for all subsequent content and invalidates a large portion of the cache. The correct approach is a “stable prefix + dynamic suffix”: fixed rules, tool schemas, and domain knowledge go first; user questions, real-time data, and temporary state go later.

    3. Five Reasoning Tiers: Low Is Not Off; Select by Task Value Density

    The essence of five reasoning tiers is to turn “thinking depth” into a configurable cost item. Lower tiers usually reduce internal reasoning and trial and error, making them suitable for high-throughput, low-ambiguity tasks. Higher tiers add planning, validation, and multi-step reasoning, making them suitable for complex tasks, but they also produce more thinking tokens and longer latency. Importantly, there is no “disable reasoning” option, which means even the lowest tier has a baseline reasoning cost. Budgets cannot assume zero reasoning cost.

    Use the following decision framework for tier selection:

    Task Type Cost of Error Context Repetition Recommended Tier Key Monitoring
    Classification, extraction, format conversion Low High Low Accuracy, throughput, cache hit rate
    Routine Q&A, summarization, code completion Medium Medium Low to medium Human spot checks, retry rate
    Multi-step tool calling, code modification Medium-high High Medium to high Task completion rate, rollback rate
    Complex planning, long-chain agent tasks High Very high High End-to-end success rate, cost per successful task
    High-value, low-tolerance analysis Very high Medium Highest Quality gates, human review rate

    Tier selection should not be based on intuition. Start with an offline quality-cost curve: for the same set of representative tasks, run evaluations across all five reasoning tiers and record quality score, latency, output tokens, thinking tokens, cache hit rate, and cost per task. Then calculate “cost per successful task” instead of looking only at price per million tokens. In many scenarios, a lower tier is cheaper per call but increases the retry rate, making the final cost per successful task higher. A higher tier may be more expensive per call but achieve a higher first-pass success rate, making it more economical overall.

    4. Implementation: Routing, Caching, and an Evaluation Loop

    First, establish task routing. Simple tasks use a low tier, complex tasks use medium or high tiers, and a failed task can be retried once with a higher tier. Pseudocode:

    1. function route(task):
    2. if task.type in [classification, extraction, formatting] and task.risk == low:
    3. return low_tier
    4. if task.requires_tools and task.steps <= 3:
    5. return medium_tier
    6. if task.steps > 3 or task.requires_planning:
    7. return high_tier
    8. if task.value == high and task.tolerance == low:
    9. return highest_tier

    Second, design cache-friendly context. Place fixed system prompts, tool definitions, and domain knowledge base summaries in the prefix. Place dynamic user input, real-time data, and temporary tool results in the suffix. Keep tool schema order fixed. Avoid inserting random IDs, timestamps, and session noise into the prefix. For long tasks, create layered summaries of historical state and place only stable summaries in the cached prefix.

    Third, build a cost and quality dashboard. Core metrics include cache hit rate, cache-read token share, output tokens per task, thinking tokens per task, retry rate, tier-upgrade rate, cost per successful task, and quality spot-check score. General-purpose object storage, logging services, and monitoring/alerting capabilities from a cloud provider—for example, Baidu AI Cloud where available—can be used to build an evaluation data archive, metric collection, and anomaly alerting loop.

    Fourth, pay attention to lifecycle and security boundaries. Model versions, knowledge cutoffs, and retirement windows all affect long-term system design. The architecture should retain model routing and canary or gradual rollout capabilities. For security-sensitive scenarios, evaluate the false positive rate and blocking boundary of guardrails. When the same underlying model is configured with different guardrail levels for different scenarios, public services and controlled-access services may have different capability boundaries, and evaluation conclusions should not be mixed.

    5. Conclusion

    The value of lower cache-read pricing is realized only when cache hit rates are high, prefixes are stable, and costs are observable. The value of five reasoning tiers is unlocked only through offline evaluation, task routing, and cost-per-successful-task accounting. Teams should follow a path of “evaluate first, then canary, then route, and monitor continuously”: use representative tasks to draw quality-cost curves, validate cache hits and tier-upgrade strategies with small traffic, and then codify routing rules and cost dashboards into the engineering process. This captures the benefits of billing-structure optimization while avoiding the mistake of treating a price cut as unconstrained cost reduction.