Claude’s 5-minute cache timer eats 23% of coding bills

Coding with Claude carries a hidden charge for stepping away from the keyboard. Requesty analyzed 30 days of coding-agent traffic, from October 24 to November 22, across Claude Code, OpenCode, Codex, Pi and Kilo. It found that 23.1% of the total Claude bill went to rebuilding prompt caches that had expired while the developer was away. On GPT models the figure was 9.3%.
Requesty traces the gap to one setting. Both labs charge the same cache prices on their current models, but Claude keeps the cache for 5 minutes by default, while GPT-6.1 Sol keeps it for at least 30.
How the timer works
A coding agent resends the whole conversation on every turn: the system prompt, the tool definitions and everything said and done so far. The cache makes those repeats cheap. New text is written into the cache once at 1.25x the normal input price, and every later turn reads the stored part at 0.05x. While the agent works on its own, running tests and editing files, requests arrive every few seconds, and each read resets the timer.
The bill jumps when the agent stops and waits for you. Read a diff or grab coffee for 8 minutes, and Claude’s cache is gone: the next turn pays 1.25x on the entire conversation, 25 times what a warm read would cost. In Requesty’s example, a 210,000-token session on Claude Opus 5.5 turns a $0.04 cache read into a $1.05 cache write at Anthropic’s list price, and that happened on 81% of Opus 5.5 pauses in the window. Requesty also tested it live: after a 12-minute pause, GPT-6.1 Sol still read the whole conversation from cache, while every Claude route it tried had dropped it.
Same price, different bill
The clearest comparison is Claude Sonnet 5.5 against GPT-6.1 Sol. Both list at $2 per million input tokens and $10 per million output tokens, with the same cache multipliers. When a miss happens, the damage is almost the same: $0.35 on Sonnet, $0.37 on GPT. The difference is how often. Sonnet missed 81.2% of breaks lasting 5 to 30 minutes, GPT 2.3%. That makes a typical break cost $0.28 on Sonnet and less than a penny on GPT.
Assuming four such breaks a day, Requesty puts it at about $23 a month per developer on Sonnet 5.5 and about $0.66 on GPT-6.1 Sol; on Opus 5.5, about $69. It rules out habits as the cause: developers paused for more than 5 minutes at the same rate on both model families. And the short breaks hurt most. On Claude, pauses of 5 to 10 minutes took 8.0% of the whole coding bill, more than every break over an hour combined (5.3%).
What helps
Claude offers a 1-hour cache, but writes cost 2.0x, and most tools don’t use it: OpenCode sent none of its large Claude writes that way, Claude Code 2% to 10% on most routes. Turning it on from the first turn left 87% to 89% of sessions paying more in Requesty’s replay. Switching a warm conversation to 1 hour mid-session is worse: on the Anthropic API and Vertex it rewrote the entire prompt at 2.0x.
The best fix Requesty tested is a keep-alive ping: after 4.5 minutes idle, the tool resends the last request with max_tokens: 0, which keeps the cache warm without generating any output. Capped by how deep the conversation is, it cut about 8% to 9% off the Claude coding bill. It has limits: Anthropic rejects such requests with extended thinking enabled, structured outputs, forced tool choice or batches, the tool has to store the last request, and pings sent after a developer has stopped for the day are wasted.
Requesty suggests teams check their own logs for turns that come more than 300 seconds after the last one, where cache_read_input_tokens drops near zero and cache_creation_input_tokens jumps to the full prompt size. It also asks the model providers to publish the default cache lifetime next to their prices, move it closer to how long engineers spend reading a diff, or let a 1-hour write extend a warm 5-minute cache instead of rebuilding it.
Up next
AWS Greenlight proves what AI agents can’t do
In an AWS demo, an airline AI agent rebooked a group, failed to ticket one passenger and cancelled their old ticket anyway. Greenlight, in preview, proves rules that stop it.
Related stories
- Missing Claude’s cache on Opus 5.5 costs up to 40x more
- OpenCode says Claude subscriptions work in its agent
- Cursor’s new plans bill Claude from the very first request
- Copilot drops Claude Opus 4.8 fast mode
- Google drops Argon and 3.8 Flash from Antigravity
- OpenAI resets ChatGPT Work and Codex limits tomorrow
Comments
Join the conversation
Sign in to leave a comment. It appears after moderation.

