Prompt caching break-even: it pays on the second request, if you stay inside the cache lifetime
Using the multipliers in Anthropic's prompt caching docs (read on 17 November 2026): a 5-minute cache write costs 1.25x, reads 0.1x or less. The arithmetic shows caching wins from request two, and loses 25% if the cache keeps expiring.
Prakhar
Backend engineer · PressentifyPublished

Many LLM calls start with the same long text: instructions, tool definitions, a document, a few examples. Prompt caching lets the provider keep that prefix and charge less to read it again. The saving is real, but it has a price of entry, because writing to the cache costs more than a normal request. Whether you come out ahead depends on how soon the next request arrives. This post works that out from the published multipliers.
Prices change
What the docs say
- A cache write with the default 5-minute lifetime costs 1.25 times the base input token price.
- A cache write with the 1-hour lifetime costs 2 times the base input price.
- A cache read costs 0.1 times the base input price, with exceptions per model: 0.05 times on Claude Opus 5.5 and Claude Sonnet 5.5, and 0.025 times on the Fable and Mythos 5.1 and 5.2 models.
- The cache is refreshed at no extra cost each time the cached content is used, so a prefix used at least every 5 minutes stays warm.
- Prompts shorter than the minimum cannot be cached, and no error is returned. The minimum is 512 tokens for several current models, and 1,024 to 4,096 for others.
The arithmetic
Measure everything in one unit: the cost of sending the shared prefix once at the normal input price. Without caching, n requests cost n. With caching, the first request pays the write multiplier and every later one inside the lifetime pays the read multiplier.
def total(n, write, read):
# cost of the shared prefix over n requests,
# in units of "the prefix sent once at the base input price"
return write + (n - 1) * read
total(2, 1.25, 0.1) # 5-minute cache, read 0.1x -> 1.35 (uncached: 2.00)
total(2, 2.0, 0.1) # 1-hour cache, read 0.1x -> 2.10 (uncached: 2.00)
total(3, 2.0, 0.1) # 1-hour cache -> 2.20 (uncached: 3.00)We ran that for a range of request counts.
n no cache 5m, read .1 1h, read .1 5m, read .05
1 1.00 1.25 2.00 1.25
2 2.00 1.35 2.10 1.30
3 3.00 1.45 2.20 1.35
5 5.00 1.65 2.40 1.45
10 10.00 2.15 2.90 1.70
100 100.00 11.15 11.90 6.20
The break-even points
| Option | Read multiplier | Cheaper than no cache from request |
|---|---|---|
| 5-minute cache (write 1.25x) | 0.1x | 2 |
| 5-minute cache (write 1.25x) | 0.05x | 2 |
| 1-hour cache (write 2x) | 0.1x | 3 |
| 1-hour cache (write 2x) | 0.05x | 3 |
So a prefix reused a single time inside five minutes already pays for itself, and the longer a run gets, the closer the cost per request gets to the read multiplier alone. At 100 requests inside the window the saving on the shared part was 89% at a 0.1x read and 94% at 0.05x.
The case that loses money
If requests arrive more than the lifetime apart, the cache has expired by the time the next one comes. Every request pays the 1.25x write and none gets a read. That is 25% more than not marking the prefix at all, on every request. This is the pattern to watch for in low-traffic features such as a nightly job, an internal tool used a few times an hour, or a chat that people leave open. A 1-hour cache fixes it if requests come at least hourly, and costs 2x to write.
What this does not cover
Check it on your own traffic
- Mark only the stable prefix, and put anything that changes after it.
- Make sure the prefix is at least the minimum length for your model.
- Read the usage fields in each API response (
cache_creation_input_tokensandcache_read_input_tokens). Writes with no reads mean the cache is expiring or the prefix changes between calls. - Work out the gap between requests that share a prefix. If it is usually under 5 minutes, use the default. If it is usually between 5 minutes and an hour, price the 1-hour option. If it is longer, skip caching.
- Recompute when you change model, because the read multiplier changes.
Sources & Credits
- Anthropic, “Prompt caching,” Claude developer documentation, read 17 November 2026: platform.claude.com
The multipliers, lifetimes and minimum lengths are quoted from that page. The arithmetic, tables and chart are our own work. Prices and model lists on the page change; if yours differ, trust the page. Last verified 2026-11-17. Spotted a mistake? Tell us and we will correct it here with the date.
Share this article
Written by
Prakhar
Backend engineer · Pressentify
Backend engineer building Pressentify — interactive cheatsheets, handbooks and a job-hunt workspace.
Get the next one in your inbox
One practical backend article at a time. No spam; unsubscribe in one click.
Keep reading

How many eval cases before you trust a prompt change? Simulated numbers
A prompt that truly passes 85% against one that passes 80%: on 30 test cases the better one scored higher only 63% of the time, and the worse one was ahead 25% of the time. The intervals and the simulation behind that.
17 Nov · 3 min

ChainDrop: how the self-propagating npm worm steals tokens and republishes itself
A Shai-Hulud-family worm turns one stolen npm token into poisoned releases of every package that publisher controls. What the advisories say, and what rotation and allowlisting limit.
· 6 min

Consistent hashing, measured: how many keys move when you add a node
Adding an 11th node to a hash(key) % N cluster moved 90.7% of 100,000 keys in our test; a consistent-hash ring moved about 9%. What virtual nodes change, and what they cost.
17 Nov · 4 min