Prompt Caching Saves 95% on Input Tokens: Current Pricing From OpenAI, Anthropic, and Google
Cached input costs 5% of standard input across three current mid-tier models. For a 20,000-token system prompt reused 10,000 times daily, caching costs about $20–40 versus $400–800 uncached.
Prompt caching lets you reuse the beginning of an API request—a system prompt, a knowledge base, a set of examples—across multiple calls, paying a steep discount on those tokens in later requests. For the three current mid-tier models available today, cached-token reads cost exactly 5% of the standard input price. The question for anyone running this in production is whether the write surcharge (where it applies) and cache lifetime match your workload and traffic pattern.
Pricing: OpenAI GPT-6.2 Sol
Standard input costs $2.00 per million tokens, cached input costs $0.10 per million, and cache writes cost $2.50 per million for 30-minute retention or $5.00 per million for 12-hour retention. The minimum cacheable prompt length is 1,024 tokens. Prices as of 2 December 2026.
The 30-minute default TTL suits synchronous workloads where requests cluster tightly. The 12-hour explicit TTL, at 2.5× the base input rate, makes sense for traffic spread across a business day without sharp restart cycles.
One operational detail: on GPT-6.2 models, a prompt in the top-level instructions field is billed at the uncached rate even on a cache hit. To benefit from caching, place the reusable prompt in the first developer message instead.
Pricing: Anthropic Claude Sonnet 5.5
Standard input costs $2.00 per million tokens, cached input costs $0.10 per million, cache writes cost $2.50 per million for 5-minute retention or $4.00 per million for 1-hour retention. The minimum cacheable prompt length is 512 tokens for Sonnet 5.5, Opus 5.5 and Haiku 5.5. Each cache hit automatically refreshes the remaining lifetime at no additional cost, so frequent requests within the TTL window stay warm without extra writes. Prices as of 2 December 2026.
The 5-minute default TTL is permissive for typical request patterns: at 10,000 requests per day, the gap between requests rarely exceeds five minutes. The 1-hour option trades a 2× write charge (versus 1.25× for 5 minutes) for a wider reuse window and suits lower-frequency workloads.
Pricing: Google Gemini 4 Carbon
Standard input costs $4.00 per million tokens, cached input costs $0.20 per million; output costs $20.00 per million tokens. Caching is implicit only (explicit caching is not supported), offers best-effort retention up to 24 hours, and has a minimum input of 4,096 tokens to trigger caching. There is no separate write surcharge; the first request still costs full input price, but caching is automatic and free to enable once the threshold is crossed. Gemini 4 Argon routes to Gemini 4 Carbon from 15 December 2026. Prices as of 2 December 2026.
Google’s approach removes the operational burden of managing TTLs and write costs: requests larger than 4,096 tokens cache automatically on first use. The tradeoff is a higher minimum threshold and no control over lifetime.
Worked example: 20,000-token prefix, 10,000 requests per day
Assume a 20,000-token system prompt sent with every request, 10,000 times per day, within a 24-hour window.
Without caching: 20,000 tokens × 10,000 requests = 200 million tokens daily at standard rate. - OpenAI: 200M × $2.00 / 1M = $400/day - Anthropic: 200M × $2.00 / 1M = $400/day - Google: 200M × $4.00 / 1M = $800/day
OpenAI GPT-6.2 Sol, 30-minute cache: The first request writes 20,000 tokens at $2.50 / 1M = $0.05. Within 30 minutes, all hits read from cache at $0.10 / 1M = $0.002 per request. Assuming requests cluster so tightly that one cache write handles all 10,000 daily requests (realistic for many synchronous workloads): - Writes: 1 × $0.05 = $0.05 - Reads: 9,999 × $0.002 = $19.998 - Total: ~$20.05/day. Savings: 95%.
OpenAI GPT-6.2 Sol, 12-hour cache: Two cache writes per day at $5.00 / 1M = $0.10 per write, plus reads: - Writes: 2 × $0.10 = $0.20 - Reads: 9,998 × $0.002 = $19.996 - Total: ~$20.20/day. Savings: 95%.
Anthropic Claude Sonnet 5.5, 5-minute cache, single write: Because each cache hit refreshes the 5-minute lifetime, steady traffic with no gap longer than five minutes needs one write at $2.50 / 1M = $0.05, with cached reads at $0.10 / 1M = $0.002 per request: - Writes: 1 × $0.05 = $0.05 - Reads: 9,999 × $0.002 = $19.998 - Total: ~$20.05/day. Savings: 95%.
Anthropic Claude Sonnet 5.5, 5-minute cache, worst case: Evenly spaced traffic (a request every 8.64 seconds) never lets the cache lapse, so it needs only the single write above. If gaps let the cache expire in every five-minute window, that is 288 writes per day: - Writes: 288 × $0.05 = $14.40 - Reads: 9,712 × $0.002 = $19.424 - Total: ~$33.82/day. Savings: 91.5%.
Anthropic Claude Sonnet 5.5, 1-hour cache, single write: One write at $4.00 / 1M = $0.08: - Writes: 1 × $0.08 = $0.08 - Reads: 9,999 × $0.002 = $19.998 - Total: ~$20.08/day. Savings: 95%.
Anthropic Claude Sonnet 5.5, 1-hour cache, one per hour: 24 writes per day at $4.00 / 1M = $0.08: - Writes: 24 × $0.08 = $1.92 - Reads: 9,976 × $0.002 = $19.952 - Total: ~$21.87/day. Savings: 94.5%.
Google Gemini 4 Carbon (implicit caching): No write surcharge. The first request pays full input price; all subsequent requests within 24 hours read from cache at $0.20 / 1M = $0.004 per request. - First request: 20,000 × $4.00 / 1M = $0.08 - Reads: 9,999 × $0.004 = $39.996 - Total: ~$40.08/day. Savings: 95%.
Break-even and cache lifetime
On OpenAI and Anthropic, the write surcharge means caching breaks even after one or two reads. A 5-minute write on Anthropic (1.25× input) pays back after one read at 0.05× input. A 1-hour write (2× input) pays back after two reads. OpenAI’s 12-hour write (2.5× input) pays back after two reads as well. On Google, caching pays off on the second request with no surcharge; the first request is the cost of enabling caching.
For synchronous workloads where the same prefix repeats within seconds or minutes—chatbots, retrieval-augmented-generation pipelines, batch translation jobs—all three providers approach 95% savings. For sparse traffic, write costs dominate; run the numbers for your request rate and interval before committing.
Minimum lengths and automatic behavior
- OpenAI: 1,024-token minimum. Shorter prompts bypass caching silently and pay full price.
- Anthropic: 512-token minimum for Sonnet 5.5, Opus 5.5, and Haiku 5.5. Shorter prompts bypass caching.
- Google: 4,096-token minimum. Shorter prompts are not cached and pay full input price.
Google’s higher threshold means system prompts under 4,096 tokens never cache, even if traffic would benefit. OpenAI and Anthropic are more tolerant of small reusable prefixes. For Google, embed the minimum into your prompt engineering: if your base prompt is under 4,096 tokens, add examples or context to cross the threshold.