AI Compass / News
Claude's prompt cache: breaks over five minutes make up almost a quarter of the bill, Requesty says
Requesty analysed 30 days of data from coding tools. With Claude, 23.1 percent of costs went into rebuilding the cache after breaks, compared with 9.3 percent for GPT. The reason is the cache's shorter default lifetime.
Source: Claude's 5-minute timer is 23% of your coding bill (Requesty),
Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.


The background: In a long session, a coding tool sends the whole conversation so far with every message. To avoid paying full price for that each time, there’s the prompt cache: the model keeps the part it has already seen for a while, and follow-up requests read it at a low price. According to Anthropic’s docs, Claude’s cache lasts 5 minutes by default and is refreshed for free every time it’s used. Writing to the cache costs 1.25 times the normal input price, and a 1-hour lifetime costs 2 times. Once the cache has expired, the next step writes it again and you pay again.
What was measured: Requesty runs a gateway, a service that routes requests to different model providers. On 1 December 2026, the company published data from 24 October to 22 November 2026, covering Claude Code, OpenCode, Codex, Pi and Kilo:
- After breaks longer than 5 minutes, 23.1% of the Claude bill went into rebuilding the cache, compared with 9.3% for GPT.
- The difference comes from breaks of 5 to 30 minutes: 15.2% for Claude, 0.8% for GPT. Requesty’s explanation: GPT’s cache lasts 30 minutes by default.
- After breaks longer than 30 minutes, the two are almost level (7.8% and 8.5%).
- According to Requesty, a 5-to-30-minute break with Opus 5.5 has an expected cost of about 0.86 US dollars: the cache expires in 81% of these breaks, and a typical rebuild then costs 1.06 US dollars.
What helps and what doesn’t, according to Requesty:
- 1 hour from the start: usually doesn’t pay off. 87 to 89% of sessions would have cost more.
- 1 hour only after the first break of 5 minutes or more, from the tenth request of a session onwards in Requesty’s model: saves about 5 to 7%.
- Switching mid-session while the 5-minute cache is still warm: saves nothing. In Requesty’s tests on Anthropic and Vertex, the whole conversation was written again at double the price.
- Keeping it warm: about 4.5 minutes after the last request, the tool sends it again with an instruction not to generate any output (
max_tokens: 0). That keeps the cache from expiring. Requesty capped these resends by session length: none early in a session, 2 to 6 later on. Modelled that way, they saved 8 to 9% net. But in 43 to 52% of long sessions, the extra requests cost more than they saved. The tool has to store the last request for up to about 30 minutes and resend it itself. The API also rejectsmax_tokens: 0with extended thinking switched on, with structured outputs (a fixed response format), with a forced tool choice and in Message Batches (bulk jobs).
What you can do:
- When comparing models, don’t look only at the price per token. How long the cache lasts changes the monthly bill.
- Don’t switch on the 1-hour lifetime across the board.
- If you build your own tools on the Claude API, run the options above against your own sessions before changing anything. For n8n, there’s a separate news item: prompt caching for Claude has to be switched on per node.
Context: The figures come from a company that sells a gateway itself, and only from its own customers’ traffic. Nobody has measured them independently yet. Requesty itself points out that its replay estimate for Claude, 27.5%, is higher than the measured 23.1%. The basic mechanics, the 5-minute default and the higher write prices, are documented by Anthropic itself.
My workshops show you how to bring AI into your team. See the workshops