LLM Prompt Caching Price Cut 75%: How to Save and How to Pick a Reasoning Level

    A recent pricing adjustment cuts cached input costs by 75%, while headline numbers like "25% overall savings" depend heavily on your cache hit rate. This article explains the billing mechanics, shows how to estimate savings with a worked example, shares engineering practices to raise cache hit rates, and walks through choosing among five reasoning levels with a task-routing strategy to control inference costs.

    1. Start with the Billing Rules: What Can Actually Be Saved

    The following prices come from recent reports about a provider’s pricing adjustment. They are for illustration only—always verify against the official documentation and your actual bills.

    • Input: roughly $10 per million tokens, unchanged.
    • Output: roughly $50 per million tokens, unchanged.
    • Cache reads: reduced from $1 to $0.25 per million tokens, a 75% cut.

    The reported “25% overall reduction” is a blended figure that assumes a certain cache hit rate. If your application rarely hits the cache, your bill won’t change much. The higher your hit rate, the closer your actual savings get to the single-item discount. Cache writes are also billed, usually at a separate rate, so include write costs in any estimate.

    2. Why Cache Reads Save Money

    Cache reads apply when the model reuses an input prefix it has already processed. Those tokens are billed at the read price—about one-fortieth of the regular input price ($0.25 vs. $10).

    Scenarios with high prefix repetition tend to benefit most:

    1. Multi-turn conversations: Each request carries the full conversation history, and the historical portion stays essentially unchanged.
    2. Long system prompts: Agent applications often include thousands of tokens of system instructions, tool definitions, and few-shot examples that remain consistent across requests.
    3. Fixed documents in RAG: When you repeatedly ask questions about the same long document, its content can be cached and reused.
    4. Agent loops: An agent re-sends its prior trajectory to the model at every step, and that trajectory prefix is highly stable.

    Here’s a hypothetical scenario to estimate the order of magnitude. A customer support bot carries about 8,000 tokens of fixed prompt and conversation history per request, with 100,000 daily calls.

    • Daily input volume: 8,000 × 100,000 = 800 million tokens.
    • All billed as regular input: 800M × $10 = $8,000/day.
    • All billed as cache reads: 800M × $0.25 = $200/day.
    • Savings of roughly $7,800 per day, or about $234,000 over 30 days.

    This is the theoretical ceiling assuming a 100% hit rate. In practice, hit rates fall short of 100%, and cache write fees and cache expiration offsets eat into some of the savings. Short prompts may not be worth caching because write costs can exceed read savings. Cache TTLs and minimum cacheable lengths vary by provider—check the relevant documentation.

    3. Engineering Practices to Improve Cache Hit Rates

    Caching doesn’t happen automatically; it requires deliberate architectural design.

    • Stable prefixes first: Put immutable content—system instructions, tool definitions, reference material—at the very front of the prompt. Put dynamic content, like the user’s question, at the end. Cache matching is prefix-based, so the more stable the prefix, the higher the hit rate.
    • Avoid volatile fields in the prefix: Timestamps, random IDs, and session numbers should not appear at the start of the prompt, or every request will have a different prefix and the cache will miss entirely.
    • Only cache what’s worth caching: Short, rarely reused content doesn’t need caching. A 1,024-token threshold is a reasonable starting reference, but the actual threshold depends on your provider’s minimum cacheable length.
    • Monitor hit rates: Instrument your call chain to track cache-related metrics. If the hit rate drops unexpectedly, first check whether the prompt structure was modified.

    4. Choosing Among Five Reasoning Levels

    Reasoning levels control how much internal reasoning the model performs before answering. Higher levels consume more reasoning tokens and typically improve accuracy on complex tasks. Whether those reasoning tokens are billed at the output rate, and how to configure the parameter names, allowed values, and defaults, should be verified against the official documentation. The table below covers common use cases for each level:

    Level Characteristics Best for
    Off No extra reasoning; fastest and cheapest Simple classification, format conversion, intent detection
    Low Light reasoning Standard Q&A, summarization, extraction
    Medium Balanced Code completion, general logic analysis
    High Deep reasoning Multi-step math, complex code debugging
    Max Maximum reasoning; most expensive Architecture design, hard algorithm problems, research-grade analysis

    The core principle is to match the level to task difficulty rather than running every request at the highest setting. A common mistake is enabling maximum reasoning for all requests, which multiplies costs even for trivial tasks. The better approach is to build a routing layer:

    1. def route_task(query):
    2. if is_simple_task(query): # classification, extraction
    3. return {"thinking": "off"}
    4. elif is_complex_task(query): # multi-step reasoning, hard problems
    5. return {"thinking": "high"}
    6. else:
    7. return {"thinking": "medium"} # default balanced level

    Routing can be rule-based—using keywords or task-type labels—or use a small model to predict task difficulty. Requests that can’t be classified default to medium and get logged for later review of misrouted cases. Before rollout, run A/B tests to measure task success rates at each level and identify the lowest level that delivers acceptable quality.

    5. A Combined Cost Optimization Strategy

    Combining caching with reasoning levels lets you cut costs on four fronts:

    1. Architecture: Restructure prompts to keep prefixes stable. A hit rate target of 80%+ is reasonable, but validate it against your own traffic data.
    2. Routing: Build task-difficulty routing so simple requests use lower reasoning levels. The share of simple requests depends on your workload distribution—measure it from your logs.
    3. Observability: Log the token composition of every call: regular input, cache reads, cache writes, output, and reasoning tokens. Cache hit rate = cached-read tokens ÷ total input tokens (cache reads + cache writes + regular input). Analyze the data regularly to find your biggest cost drivers.
    4. Guardrails: Set per-request token limits and budget alerts to prevent a few unusually complex requests from causing bill surprises.

    6. Conclusion

    The savings from the cache-read price cut depend on your hit rate; the savings from reasoning routing depend on your task distribution. If both measures are implemented well, overall inference costs can drop meaningfully, though the exact magnitude requires analysis of your own billing data. Billing rules are governed by the provider’s official documentation and invoices, and prices may change with the model, region, and time.