Prompt Caching ROI Calculator
Model 5-minute and 1-hour cache write surcharges against cache read discounts to verify your exact break-even reuse threshold and 30-day net savings.
Profitable caching — saving $802.80/mo (72.1% total bill reduction)
Break-even on Claude Opus 5.5 (5m tier) is 1 reuse per window. Your 12 reuses per window across 15,600 monthly calls clears the write surcharge comfortably.
| Cache Write (5m / 1h) | ||||||
|---|---|---|---|---|---|---|
Anthropic · 1M ctx | $0.10 | $0.13/$0.20 | $0.0100-90% | 1 reuse | +$18.99 (68%) | $8.86 |
OpenAI · 1.05M ctx | $0.10 | $0.13/— | $0.0100-90% | 1 reuse | +$18.99 (68%) | $8.86 |
OpenAI · 1.05M ctx | $0.10 | $0.13/— | $0.0100-90% | 1 reuse | +$18.99 (68%) | $8.86 |
DeepSeek · 1.05M ctx | $0.15 | $0.15 (1×)/— | $0.0030-98% | 1 reuse | +$31.75 (78%) | $8.96 |
Qwen · 1M ctx | $0.15 | $0.15 (1×)/— | $0.0160-89% | 1 reuse | +$28.94 (73%) | $10.86 |
Qwen · 1M ctx | $0.15 | $0.15 (1×)/— | $0.0160-89% | 1 reuse | +$28.94 (73%) | $10.86 |
Mistral · 262K ctx | $0.15 | $0.15 (1×)/— | $0.0150-90% | 1 reuse | +$29.16 (72%) | $11.56 |
MiniMax · 1.05M ctx | $0.15 | $0.15 (1×)/— | $0.0150-90% | 1 reuse | +$29.16 (72%) | $11.56 |
Z.ai · 1.05M ctx | $0.15 | $0.15 (1×)/— | $0.0300-80% | 1 reuse | +$25.92 (65%) | $14.09 |
OpenAI · 400K ctx | $0.20 | $0.20 (1×)/— | $0.0200-90% | 1 reuse | +$38.88 (68%) | $18.57 |
Google · 1.05M ctx | $0.30 | $0.30 (1×)/— | $0.0300-90% | 1 reuse | +$58.32 (64%) | $32.24 |
Z.ai · 1.05M ctx | $0.37 | $0.37 (1×)/— | $0.0750-80% | 1 reuse | +$63.72 (64%) | $35.10 |
Z.ai · 1.05M ctx | $0.37 | $0.37 (1×)/— | $0.0750-80% | 1 reuse | +$63.72 (64%) | $35.10 |
Mistral · 1.05M ctx | $0.70 | $0.70 (1×)/— | $0.0700-90% | 1 reuse | +$136.08 (74%) | $49.01 |
Meta · 524K ctx | $0.35 | $0.35 (1×)/— | $0.17-51% | 1 reuse | +$38.88 (42%) | $53.32 |
OpenAI · 400K ctx | $0.75 | $0.75 (1×)/— | $0.0750-90% | 1 reuse | +$145.80 (68%) | $68.31 |
Google · 1.05M ctx | $0.82 | $0.82 (1×)/— | $0.0825-90% | 1 reuse | +$160.38 (70%) | $69.35 |
DeepSeek · 1.05M ctx | $0.76 | $0.76 (1×)/— | $0.20-74% | 1 reuse | +$121.82 (62%) | $74.64 |
OpenAI · 1.05M ctx | $1.00 | $1.25/— | $0.0500-95% | 1 reuse | +$200.70 (72%) | $77.76 |
OpenAI · 1.05M ctx | $1.00 | $1.25/— | $0.0500-95% | 1 reuse | +$200.70 (72%) | $77.76 |
Z.ai · 1.05M ctx | $1.40 | $1.40 (1×)/— | $0.0689-95% | 1 reuse | +$287.52 (77%) | $84.07 |
Qwen · 1M ctx | $1.43 | $1.78/— | $0.0713-95% | 1 reuse | +$285.99 (76%) | $90.81 |
xAI · 2M ctx | $1.25 | $1.25 (1×)/— | $0.20-84% | 1 reuse | +$226.80 (70%) | $94.95 |
Google · 1.05M ctx | $1.50 | $1.50 (1×)/— | $0.0750-95% | 1 reuse | +$307.80 (74%) | $109.89 |
Google · 1.05M ctx | $2.00 | $2.00 (1×)/— | $0.10-95% | 1 reuse | +$410.40 (74%) | $146.52 |
Google · 1.05M ctx | $2.00 | $2.00 (1×)/— | $0.10-95% | 1 reuse | +$410.40 (74%) | $146.52 |
Anthropic · 1M ctx | $2.00 | $2.50/$4.00 | $0.10-95% | 1 reuse | +$401.40 (72%) | $155.52 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.10-95% | 1 reuse | +$401.40 (72%) | $155.52 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.10-95% | 1 reuse | +$401.40 (72%) | $155.52 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.10-95% | 1 reuse | +$401.40 (72%) | $155.52 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.10-95% | 1 reuse | +$401.40 (72%) | $155.52 |
Z.ai · 1M ctx | $1.68 | $1.68 (1×)/— | $0.34-80% | 1 reuse | +$290.30 (65%) | $155.61 |
Moonshot · 1.05M ctx | $2.00 | $2.00 (1×)/— | $0.20-90% | 1 reuse | +$388.80 (70%) | $168.12 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.20-90% | 1 reuse | +$379.80 (68%) | $177.12 |
OpenAI · 1.05M ctx | $2.00 | $2.50/— | $0.20-90% | 1 reuse | +$379.80 (68%) | $177.12 |
xAI · 500K ctx | $2.00 | $2.00 (1×)/— | $0.50-75% | 1 reuse | +$324.00 (61%) | $204.84 |
Google · 1.05M ctx | $3.00 | $3.00 (1×)/— | $0.15-95% | 1 reuse | +$615.60 (74%) | $219.78 |
OpenAI · 1.05M ctx | $2.50 | $2.50 (1×)/— | $0.25-90% | 1 reuse | +$486.00 (68%) | $227.70 |
Anthropic · 1M ctx | $3.00 | $3.75/$6.00 | $0.30-90% | 1 reuse | +$569.70 (68%) | $265.68 |
Qwen · 1M ctx | $4.00 | $4.00 (1×)/— | $0.50-88% | 1 reuse | +$756.00 (71%) | $301.68 |
Claude Opus 5.5Selected Anthropic · 1M ctx | $4.00 | $5.00/$8.00 | $0.20-95% | 1 reuse | +$802.80 (72%) | $311.04 |
OpenAI · 1.05M ctx | $4.00 | $5.00/— | $0.40-90% | 1 reuse | +$759.60 (68%) | $354.24 |
Anthropic · 1M ctx | $5.00 | $6.25/$10.00 | $0.50-90% | 1 reuse | +$949.50 (68%) | $442.80 |
Anthropic · 1M ctx | $8.00 | $10.00/$16.00 | $0.20-98% | 1 reuse | +$1,648.80 (74%) | $578.88 |
OpenAI · 1.05M ctx | $8.00 | $10.00/— | $0.40-95% | 1 reuse | +$1,605.60 (72%) | $622.08 |
OpenAI · 1.05M ctx | $8.00 | $10.00/— | $0.40-95% | 1 reuse | +$1,605.60 (72%) | $622.08 |
Anthropic · 1M ctx | $10.00 | $12.50/$20.00 | $0.25-98% | 1 reuse | +$2,061.00 (74%) | $723.60 |
OpenAI · 1.05M ctx | $10.00 | $12.50/— | $1.00-90% | 1 reuse | +$1,899.00 (68%) | $885.60 |
OpenAI · 1.05M ctx | $10.00 | $12.50/— | $1.00-90% | 1 reuse | +$1,899.00 (68%) | $885.60 |
How it works
- 1Select a primary model and pick a workload preset—or enter your Cached Prefix Tokens (system prompt, tool schemas, RAG context), dynamic per-call tokens, and expected output tokens.
- 2Toggle between the 5-minute cache tier and the extended 1-hour cache tier (available on supported Claude models) to inspect how the write surcharge changes.
- 3Set your expected Reuses per Cache Window and Cache Writes per Day—the calculator flags immediately if your reuse count falls below the break-even threshold.
- 4Compare 30-day uncached vs cached spend, break-even reuses, and net monthly savings across every cache-capable model in the live catalog.
Frequently asked questions
Why is there a 1.25× surcharge on 5-minute cache writes?
Providers like Anthropic and OpenAI charge 1.25× the base input token price when explicitly writing a prefix to the 5-minute KV cache, because the gateway must prefill and persist those key-value tensors in high-bandwidth memory. Once written, subsequent cache reads within the TTL window drop by 90% to 95%.
When should I pay the 2× surcharge for a 1-hour cache?
Anthropic offers an extended 1-hour cache TTL at 2× base input price on Claude models. It pays off when agent sessions, human-in-the-loop approvals, or low-frequency RAG queries pause longer than 5 minutes between turns—provided each 1-hour window still accumulates at least 2 reuses.
How is the exact break-even reuse count calculated?
We compare 1 write plus N cache reads against (1 + N) uncached calls: break-even reuses = ceil((WriteRate - BaseInputRate) / (BaseInputRate - CacheReadRate)). Whenever WriteRate exceeds BaseInputRate, you need at least that many reuses inside the TTL window just to recover the write premium.
When does prompt caching actually lose money?
Prompt caching increases your bill whenever you write prefixes that are reused fewer times than the break-even threshold—most commonly on 1-hour caches with only 1 reuse, or when dynamic timestamps, UUIDs, or unpinned tool orderings sit inside the prefix and bust the cache key on every request.
Related tools
View all tools →Simulate total monthly spend across 33+ frontier and open-weight models using cache hit rates.
Measure vision tile and PDF page tokens before placing shared documents into a cached prefix.
Count exact system prompt and tool schema tokens for Claude Fable 5.2 and Claude 5.5.