Skip to content

AI Compass / News

Claude's prompt cache: breaks over five minutes make up almost a quarter of the bill, Requesty says

Costs

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.

Technical drawing: two bars above a timeline running to 30 minutes. Claude's cache ends after 5 minutes, GPT's after 30 minutes.Technical drawing: two bars above a timeline running to 30 minutes. Claude's cache ends after 5 minutes, GPT's after 30 minutes.

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:

What helps and what doesn’t, according to Requesty:

What you can do:

  1. When comparing models, don’t look only at the price per token. How long the cache lasts changes the monthly bill.
  2. Don’t switch on the 1-hour lifetime across the board.
  3. 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