All postsSHORT4 min read
Claude's Default 5-Minute Prompt Cache: What a Coffee Break Costs
Claude's default cache timer, documented API rates, Requesty's own coding-traffic findings and a keep-alive setup to evaluate.
Claude's default prompt cache lasts 5 minutes after its last use. A coffee break can take a cached conversation past that timer. Requesty's Dec 1, 2026 post puts numbers on the effect using its own gateway traffic.
How the two default cache lifetimes differ
Anthropic documents a default 5-minute lifetime. A cache read or write restarts it. The clock runs from the start of that request.
OpenAI documents a default minimum lifetime of 30 minutes for GPT-5.6 and later. Entries may stay cached longer.
| Documented setting | Lifetime or API rate |
|---|---|
| Claude default cache | 5 minutes |
| GPT-5.6 and later default cache | 30 minutes minimum |
| Opus 5.5 and Sonnet 5.5 default cache write | 1.25 times base input price |
| Opus 5.5 and Sonnet 5.5 cache read | 0.05 times base input price |
| Claude 1-hour cache write | 2 times base input price |
On Claude Opus 5.5 and Sonnet 5.5 at API prices, writing the cached conversation again after a pause longer than the default 5-minute lifetime costs 25 times reading the same cached tokens. That compares the cache write with the cache read on that turn.
Claude Opus 5.5 API list prices per 1M tokens are $4 input, $20 output, $5 for a 5-minute cache write and $0.20 for a cache read. Anthropic's 1-hour cache option charges 2 times base input to write.
What Requesty measured
Requesty says it analyzed 30 days of coding-agent traffic on its gateway, Oct 24 to Nov 22, 2026. It used token and billing counters. These are shares of each model family's bill in that traffic.
| Pause range in Requesty's data | Share of the Claude bill | Share of the GPT bill |
|---|---|---|
| 5 to 30 minutes | 15.2% | 0.8% |
| More than 5 minutes | 23.1% | 9.3% |
| Longer than 30 minutes | 7.8% | 8.5% |
Requesty attributes those bill shares to rebuilding expired prompt caches. The longer-than-30-minute row shows roughly similar shares in its data.
Requesty's example: an 8-minute break in a 210,000-token Claude Opus 5.5 session turns a $0.04 cache read into a $1.05 cache write at Anthropic's list price.
Who is reporting this
Requesty sells an AI gateway with spend management, so it has a commercial interest in this topic. The numbers are its own. The sources we read contain no independent verification.
What Requesty says about the 1-hour cache
In Requesty's replay of its 30 days of coding-agent traffic on its gateway, Oct 24 to Nov 22, 2026, turning on Claude's 1-hour cache from turn 1 made 87% to 89% of sessions pay more. Anthropic's documented write price for that option is 2 times the base input price.
That's a reason to test the setting against a team's usage logs before enabling it from turn 1.
The keep-alive ping Requesty tested
Anthropic documents pre-warming with max_tokens: 0. The API reads the prompt, writes the cache at a cache-control breakpoint and returns without generating output. For the default 5-minute cache, Anthropic says to send a new pre-warm request at least every 5 minutes.
Requesty's tested approach stores the last request body and re-sends that exact request with max_tokens: 0 after 4.5 minutes idle. It uses the same provider, region and credentials, removing stream: true.
In Requesty's replay of 30 days of coding-agent traffic on its gateway, Oct 24 to Nov 22, 2026, pings capped by session depth cut about 8 to 9% net off the Claude coding bill.
The setup needs to store the last request body. Anthropic rejects max_tokens: 0 with stream: true, extended thinking enabled, structured outputs, forced tool choice or Message Batches. Those limits need checking before adding pings to an agent.
In Requesty's replay of that same traffic, 43% to 52% of long sessions spent more on pings than they saved individually. The aggregate result and an individual session's result can differ.
Check your own usage logs
Requesty suggests this self-check:
- Find continuing turns after a gap longer than 5 minutes.
- Look for
cache_read_input_tokensdropping near zero. - Check whether
cache_creation_input_tokensspikes to full prompt size on those turns. - Count the matching turns.
My addition: run the same count again after a change, so the cache reads and writes can be compared before and after.
Here's how you get paid
My take, my opinion, no income guaranteed: sell a cache keep-alive setup to teams building their own agents on the Claude API. Include request storage, checks for API compatibility and a comparison of usage logs before and after the change.
In Requesty's replay of that coding-agent gateway traffic, pings capped by session depth cut about 8 to 9% net off the Claude coding bill. The request storage requirement, API limits and individual-session losses described above apply. I'd make the usage-log comparison part of the deliverable.
Daily email
Get each breakdown in your inbox.
One email each evening, right after the Short goes live: the AI tool it covers, the full write-up with sources, and how to get paid for it. Free, and you can unsubscribe anytime.
Sources
- Requesty, cache-pause analysis (Dec 1, 2026): https://www.requesty.ai/blog/claude-5-minute-prompt-cache
- Anthropic, prompt caching: https://platform.claude.com/docs/en/build-with-claude/prompt-caching
- Anthropic, pricing: https://platform.claude.com/docs/en/about-claude/pricing
- OpenAI, prompt caching: https://developers.openai.com/api/docs/guides/prompt-caching
- OpenAI, pricing: https://developers.openai.com/api/docs/pricing