Prompt Caching ROI & Cache-Write Break-Even Calculator
Prompt caching slashes repeated system prompts, codebase context, and few-shot examples by 50% to 90%. Model your prefix-to-turn ratio and cache refresh frequency to see net monthly savings after cache-write surcharges.
| Model | Base Input / 1M | Cache Read / 1M | Cache Write / 1M | Cache Discount | Write Break-Even | Monthly w/ Cache | Monthly Saved |
|---|---|---|---|---|---|---|---|
| OpenAI: GPT-6.2 Sol | $2.00 | $0.1 | $2.50 | -95% | 0.3 hits | $1,626 | $1,224 |
| OpenAI: GPT-6.2 Astra | $8.00 | $0.4 | $10.00 | -95% | 0.3 hits | $6,504 | $4,896 |
| OpenAI: GPT-6.1 Terra | $1.00 | $0.05 | $1.25 | -95% | 0.3 hits | $813.00 | $612.00 |
| OpenAI: GPT-6 Luna | $0.1 | $0.01 | $0.125 | -90% | 0.3 hits | $84.90 | $57.60 |
| OpenAI: GPT-6.1 Sol | $2.00 | $0.1 | $2.50 | -95% | 0.3 hits | $1,626 | $1,224 |
| OpenAI: GPT-6 Sol | $2.00 | $0.2 | $2.50 | -90% | 0.3 hits | $1,698 | $1,152 |
| OpenAI: GPT-6 Astra | $10.00 | $1.00 | $12.50 | -90% | 0.3 hits | $8,490 | $5,760 |
| Anthropic: Claude Fable 5.2 | $8.00 | $0.2 | $10.00 | -98% | 0.3 hits | $6,360 | $5,040 |
| Anthropic: Claude Haiku 5.5 | $0.1 | $0.01 | $0.125 | -90% | 0.3 hits | $84.90 | $57.60 |
| Anthropic: Claude Sonnet 5.5 | $2.00 | $0.1 | $2.50 | -95% | 0.3 hits | $1,626 | $1,224 |
| Anthropic: Claude Opus 5.5 | $4.00 | $0.2 | $5.00 | -95% | 0.3 hits | $3,252 | $2,448 |
| Anthropic: Claude Fable 5.1 | $10.00 | $0.25 | $12.50 | -98% | 0.3 hits | $7,950 | $6,300 |
| Anthropic: Claude Opus 5 | $5.00 | $0.5 | $6.25 | -90% | 0.3 hits | $4,245 | $2,880 |
| Anthropic: Claude Sonnet 5 | $2.00 | $0.2 | $2.50 | -90% | 0.3 hits | $1,698 | $1,152 |
| Google: Gemini 4 Neon | $3.00 | $0.15 | $0.083 | -95% | 1 hits | $2,228 | $2,047 |
| Google: Gemini 4 Hydrogen | $1.50 | $0.075 | $0.083 | -95% | 1 hits | $1,116 | $1,021 |
| Google: Gemini 4 Carbon | $2.00 | $0.1 | $0.188 | -95% | 1 hits | $1,493 | $1,357 |
| Google: Gemini 4 Argon | $2.00 | $0.1 | $0.188 | -95% | 1 hits | $1,493 | $1,357 |
| Google: Gemini 3.8 Flash | $0.75 | $0.075 | $0.042 | -90% | 1 hits | $585.15 | $483.60 |
| Google: Gemini 3.7 Flash | $0.75 | $0.075 | $0.042 | -90% | 1 hits | $585.15 | $483.60 |
| DeepSeek: DeepSeek V4 Flash Vision Exp | $0.3 | $0.006 | $0.00 | -98% | 1 hits | $193.32 | $211.68 |
| DeepSeek: DeepSeek V4 Flash 0423 | $0.3 | $0.006 | $0.00 | -98% | 1 hits | $193.32 | $211.68 |
| DeepSeek: DeepSeek V4 Pro 0423 | $1.32 | $0.044 | $0.00 | -97% | 1 hits | $764.28 | $918.72 |
| DeepSeek: DeepSeek V3.2 | $0.28 | $0.028 | Free | -90% | 1 hit | $158.69 | $165.31 |
| SpaceXSI: Grok 4.7 | $2.00 | $0.5 | Free | -75% | 1 hit | $1,585 | $964.80 |
Prompt Caching Mechanics & FAQ
To maximize cache hit rates in production, keep static tool definitions, system instructions, and repository summaries strictly at the start of the message array before dynamic timestamps or user queries. Explore full workload pricing across all 368 models on the flagship calculator.
Why do some providers charge extra for cache writes?
Anthropic bills explicit ephemeral cache creation at 1.25x base input (or 2x for 1-hour TTL) while reading hits at 0.1x (90% discount). OpenAI and Gemini typically automatically cache prefixes with zero cache-write surcharge.
How many hits does it take to break even on Anthropic cache writes?
With a 1.25x write price ($0.25x extra) and 0.1x read price ($0.90x savings per hit), breaking even takes less than 1 subsequent cache hit (typically 1–2 reads inside the TTL window).