Cached input token pricing: compare four AI models

·

When does cached input save money?

For a prefix written once and then fully read from cache without additional charges, caching pays when successful reads within its retention window exceed the model's break-even expression, (W − I) ÷ (I − C), provided ordinary input price I exceeds cached-read price C. Claude Sonnet 5.5's cached-read price is $0.10 per million tokens; use the price comparison and cost calculator alongside the write-price rule below rather than selecting on cached reads alone.

Standard input, cached reads and writes

This table compares first-party Claude Sonnet 5.5, GPT-6.1 Sol in Standard mode, Gemini 4 Carbon on the paid Standard tier through November 30, 2026, and DeepSeek V4.1 Flash 1017 during peak hours. Input and read prices are per million tokens; for priced writes, use the model's published write price for the selected duration, not a multiple of its ordinary input price.

Model and billing scope Ordinary input Cached read Published write options and source
Claude Sonnet 5.5, first-party $2.00 $0.10 Separate 5-minute and 1-hour write prices in Anthropic pricing
GPT-6.1 Sol, Standard $2.00 $0.10 Separate 30-minute and 12-hour write prices in OpenAI pricing
Gemini 4 Carbon, paid Standard through 2026-11-30 $2.00 $0.10 Explicit caching unsupported; no separate implicit-write rate listed in Google pricing
DeepSeek V4.1 Flash 1017, peak hours $0.30 $0.006 Cache misses use ordinary input pricing; no separate write rate listed in DeepSeek pricing

For DeepSeek V4.1 Flash 1017, peak hours are 01:00–04:00 and 06:00–10:00 coordinated universal time (UTC), Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including entire weekends and Chinese public holidays; DeepSeek states that off-peak rates are half the peak rates.

A cached-read discount applies only to tokens billed as cache hits, not automatically to the entire request. Compare each model's actual token counts for identical text, and budget generated output separately.

Retention, storage and endpoint conditions

The following pricing-page terms were checked on 2026-11-16. A priced retention option does not establish minimum cacheable length or complete refresh behavior.

Model Retention and read terms Storage and remaining limits
Claude Sonnet 5.5 and Claude Fable 5.2 Both list 5-minute and 1-hour writes, with their own cached rates for hits and refreshes. The model pricing table does not list a separate cache-storage fee, minimum cacheable length or complete expiration rules.
GPT-6.1 Sol and GPT-6.1 Terra Both list 30-minute and 12-hour writes; Standard, Batch and Fast have separate prices, while Sol also appears in Ultrafast. The pricing page does not list a separate prompt-cache storage fee, minimum cacheable length or complete refresh rules.
Gemini 4 Carbon Paid tier only and implicit caching only; explicit caching is unsupported, and the current Standard rates apply through November 30, 2026, before the announced December 1 adjustment. The pricing page lists neither a selectable retention period nor separate implicit-cache write or storage prices.
DeepSeek V4.1 Flash 1017 Cache-hit and cache-miss rates depend on peak or off-peak billing. The pricing page does not specify a retention period, minimum cacheable length or separate storage fee.

“Not listed” is not a promise of free storage or a particular retention duration. Gemini 4 Carbon's terms do not establish caching terms for Gemini 4 Argon or Gemini 4 Hydrogen.

For supported Claude models starting with Sonnet 4.5, Haiku 4.5 and Opus 4.5, partner-operated Bedrock and Google Cloud regional or multi-region endpoints carry a 10 percent premium over global endpoints. The first-party Claude API is global by default; consult Anthropic's linked data-residency pricing for first-party residency options rather than applying the partner-cloud premium.

OpenAI regional-processing endpoints carry a 10% uplift for models released on or after March 5, 2026; check each model's release date before applying that rule to GPT-6.1 Sol or GPT-6.1 Terra. OpenAI FedRAMP endpoints also carry a 10% uplift. Partner-cloud invoices require the partner's pricing.

Break-even rule for a repeated prefix

Consider a 10,000-token prefix written once, followed by successful full-prefix cache reads without another write. This is a hypothetical equal-token workload, not equal text: Claude Sonnet 5.5, GPT-6.1 Sol, Gemini 4 Carbon and DeepSeek V4.1 Flash 1017 must each be measured with their own tokenizer.

Let I be ordinary input price, C cached-read price and W the initial write price, all per million tokens. Let R be the number of subsequent successful reads. Excluding output and other charges:

  • Uncached prefix cost = (10,000 ÷ 1,000,000) × (R + 1) × I.
  • Cached prefix cost = (10,000 ÷ 1,000,000) × (W + R × C).
  • Strict savings require R × (I − C) > W − I.

For I > C and W ≥ I, the smallest saving-producing integer read count is floor((W − I) ÷ (I − C)) + 1, where floor means rounding down.

In the following table, W5m and W1h mean Claude Sonnet 5.5's own published 5-minute and 1-hour write prices from Anthropic pricing. W30m and W12h mean GPT-6.1 Sol's own published Standard 30-minute and 12-hour write prices from OpenAI pricing. All four write variables are prices per million tokens, not input-price multipliers.

Model and condition Successful reads required for strict savings
Claude Sonnet 5.5, 5-minute write floor((W5m − $2.00) ÷ ($2.00 − $0.10)) + 1
Claude Sonnet 5.5, 1-hour write floor((W1h − $2.00) ÷ ($2.00 − $0.10)) + 1
GPT-6.1 Sol, Standard, 30-minute write floor((W30m − $2.00) ÷ ($2.00 − $0.10)) + 1
GPT-6.1 Sol, Standard, 12-hour write floor((W12h − $2.00) ÷ ($2.00 − $0.10)) + 1
Gemini 4 Carbon, paid Standard through 2026-11-30, conditional on ordinary initial input billing and no additional charge floor(($2.00 − $2.00) ÷ ($2.00 − $0.10)) + 1
DeepSeek V4.1 Flash 1017, listed miss/hit billing with all requests at peak rates floor(($0.30 − $0.30) ÷ ($0.30 − $0.006)) + 1

Gemini 4 Carbon's conditional expression is not a selectable retention commitment, and DeepSeek V4.1 Flash 1017's expression does not establish a retention period. Neither pricing page specifies a usage-metadata field for verifying cached-token counts, so use measured cache-hit billing rather than assuming every repeated request qualifies. Rewrites, partial hits and storage charges, if applicable, change the threshold.

Prices in this guide come from modelpick's price data and update when a provider changes them (last checked Nov 24, 2026, 04:16 UTC). Each model links to its own page with the source and date of its price.

Models in this guide

Sources

Questions

How should I compare cached input prices?
Compare ordinary input, cached reads and the published write price for the same model and billing tier. Use successful cached reads within the retention window to test whether the write premium is recovered.
Does repeating a prompt establish cache savings?
No. Calculate savings from tokens actually billed as cache hits, not the number of repeated requests. Partial hits, additional writes and other applicable charges can change the result.