The 5-minute timer in your Claude Code bill is the default lifetime of Anthropic's API prompt cache: if no new request arrives for more than 5 minutes, the cached context expires, and the next round has to rebuild the cache at 1.25 times the input price, while a cache hit costs only 0.05 times. In one third-party analysis, these rebuilds made up 23.1% of the Claude coding bill -- stepping away to review code, sit in a meeting, or grab coffee triggers it.
- Prompt caching stores the long context at the start of a conversation for reuse: writing to the cache costs 1.25 times the input price, reading it costs only 0.05 times -- a 25-fold gap, so a single miss is expensive.
- The timer starts when a request begins, and every cache hit refreshes it, so continuous conversation never breaks; but once you stop for more than 5 minutes, the whole cached prefix expires.
- Routing service Requesty analyzed traffic from October 24 to November 22, 2026: pauses of 5 to 30 minutes accounted for 15.2% of the Claude bill, versus 0.8% for GPT over the same pauses, because GPT's default cache lasts 30 minutes.
- One example: an 8-minute break in a 210,000-token Opus 5.5 session turned a cache read that should have cost $0.04 into a $1.05 rebuild.
First check whether this money is yours at all
If you pay per API token, open the usage page in Anthropic Console and look at the cache-read and cache-write token counts: the higher the write share, the more money pauses are costing you. Claude Code on a subscription defaults to a 1-hour cache, not 5 minutes, so this cost mainly hits per-token API traffic -- confirm which billing model you're on first. For the quota rules themselves, see: Claude Code quota exhausted? First tell the five-hour and weekly limits apart.
Three ways to save
- Don't let sessions idle: before you go review a diff or run tests, decide the next step, and send the next message as soon as you're back -- don't let the 5 minutes slip away.
- Turn on the 1-hour cache where you can: the API supports a 1-hour cache lifetime. Writes cost twice as much, but the rebuilds it saves in long sessions are worth more, which suits work with frequent pauses.
- Don't let sessions grow too long: the longer the context, the more each rebuild costs. Start fresh sessions regularly and write conclusions to a file before continuing, instead of dragging a session of hundreds of thousands of tokens.