Anthropic Prompt Caching Savings Calculator

Anthropic prompt caching charges 1.25x on a 5-minute TTL write (or 2.0x on a 1-hour TTL write) and only 0.10x (90% off) on every subsequent cache read. Drag the sliders below to find your exact break-even read count and monthly dollar savings.

Interactive calculator

Caching StrategyWrite Cost / MoRead Cost / MoTotal Input / MoSavings vs Uncached

Frequently asked questions

How many cache reads does it take to break even on Anthropic prompt caching?

For the 5-minute TTL (1.25x write, 0.10x read), just 1 cache read breaks even. For the 1-hour TTL (2.0x write, 0.10x read), you need 2 cache reads per write to come out ahead.

What accidentally invalidates Anthropic prompt caches in coding agents?

Inserting dynamic timestamps, changing MCP tool order, or editing root CLAUDE.md mid-session breaks prefix byte-equality and forces a fresh cache write.

When should I choose 1-hour TTL over 5-minute TTL?

Choose 1-hour TTL when developers pause 10 to 40 minutes between turns while reviewing diffs or running slow CI builds, avoiding repeated cold cache writes.

All calculations run 100% locally in your browser with zero external API calls. Pricing and rate limits reflect published 2026 provider rate cards.