Requesty: Claude's 5-minute cache costs 23.1% of coding bills vs 9.3% on GPT

Requesty analysed 30 days of production coding-agent traffic (October 24 to November 22, 2026) across Claude Code, OpenCode, Codex, Pi and Kilo, running on Anthropic API, Bedrock, Vertex, OpenAI and Azure. It used token and billing counters only, with no prompt text. Its headline result: 23.1% of the total Claude bill went to rebuilding prompt caches that had expired while the developer was away. On GPT models, across the same tools and window, the figure was 9.3%.
The article says the cause is the default cache lifetime, not price. Both labs charge the same per-token cache multipliers on their current models: 1.25x to write new tokens into the cache and 0.05x to read the cached prefix on every later turn. Claude's default TTL is 5 minutes; GPT's is 30. With caching, Claude coding bills fall to 16.7% of list price (83% saved). While an agent loops on its own, requests arrive every few seconds and each read resets the timer. The bill jumps when the agent stops and waits for the human. After an 8-minute break, Claude's cache has expired and the next turn pays 1.25x across the whole prefix, 25x what a warm read would cost. GPT-6.1 Sol, which bills the same 1.25x write fee on GPT-5.6 and later (unlike GPT-5.5 and earlier), still has 22 minutes left and serves the read at 0.05x. For one 8-minute break on a 210,000-token Claude Opus 5.5 session, a $0.04 cache read becomes a $1.05 cache write at Anthropic's list price. That happens on 81% of Opus 5.5 pauses in that window.
By break length, the two families look the same beyond 30 minutes: Claude loses 7.8% of the bill and GPT 8.5%, because both caches are gone. Between 5 and 30 minutes Claude loses 15.2% and GPT 0.8%. Pauses of 5 to 10 minutes alone eat 8.0% of the entire Claude coding bill, more than every break over an hour combined (5.3%). Nearly half of Claude's pause losses happen within 15 minutes of the last message, and two-thirds within 30 minutes. The article says the common assumption, that the big misses come from overnight breaks, is the opposite of what production data shows.
The cliffs show up in the hit rates. Measured as the share of continuing turns that read at least 90% of the prior prompt from cache, the Anthropic API sits at 98.4% between 4:45 and 5:00 and falls to 6.5% at 5:15 to 5:30. Vertex mirrors it, from 92.2% to 5.0%. GPT-6.1 Sol on Azure holds 95.8% up to 27 to 29 minutes, reaches 52.5% across minutes 29 to 31 and drops to 1.9% by 31 to 33 minutes, matching OpenAI's documented 30-minute floor. Bedrock uses the same 5-minute TTL on a friendlier clock: measured start-to-start its hit rate only falls to 54.6% at minute five, but measured from the end of the previous response it drops from 91.3% at 4:45 to 5:00 to 2.5% at 5:00 to 5:15. Anthropic and Vertex start the clock when a request begins, so slow reasoning turns eat into the 5 minutes; turns that run past 5 minutes expire their own cache, which is 0.19% of input spend today. In live tests with random prompts on fresh sessions, GPT-6.1 Sol read the entire prefix after a 12-minute pause on both OpenAI direct and Azure Sweden Central, then missed at 40 minutes. Every Claude route tested (Anthropic API, Bedrock, Vertex) had evicted the cache after 12 to 13.5 minutes.
The article rules out developer behaviour and tooling as the explanation. Main-agent pauses over 5 minutes happen at the same rate across session lengths on both families. Restricted to OpenCode, which has persistent conversation IDs on both families, pause rebuilds took 30.6% of the Claude bill versus 11.3% on GPT. Breaks over 30 minutes cost the same on both models (3.7% for 30 to 60 minutes, 6.7% past an hour); the whole difference came from 5 to 30 minute pauses, 20.2% on Claude and 0.9% on GPT. Among active coding organizations ($100+ monthly spend), the median Claude team loses 23.3% of its bill to pauses (IQR 11.1% to 29.4%, p90 34.7%), versus a median of 7.8% on GPT (IQR 3.1% to 14.2%). On 5 to 30 minute pauses, about 85% of Claude teams lose more than 5% of their bill, while 0% of GPT teams do. Against a perfect warm cache, Claude's 23.1% loss means paying 1.30x, while GPT's 9.3% means 1.10x.
Replaying real sessions under different cache lifetimes (holding prompts, gaps and read multipliers fixed, and assuming a 1.25x rebuild whenever a gap exceeds the TTL), the two families converge. With a 30-minute default, Claude sessions lose 8.7%, identical to GPT's 8.7%. Put GPT on a 5-minute cache and its loss jumps to 35.6%, because input tokens are a bigger share of GPT coding bills. The replay's 5-minute Claude estimate of 27.5% sits above the measured 23.1%, since the replay assumes every turn past the TTL misses and ignores the small share already on 1-hour writes.
Dollars: on Opus 5.5, a 5 to 30 minute pause misses 81% of the time on a median prompt of 207,000 tokens. One miss adds $1.06 in write cost ($3.09 at p90), so the expected cost of each such break is $0.86. For a like-for-like comparison the article pairs Claude Sonnet 5.5 with GPT-6.1 Sol: both list at $2 per million input tokens and $10 per million output tokens direct, both bill 1.25x to write and 0.05x to read, and both reach roughly 140,000 tokens at a miss. A miss costs about the same ($0.35 on Sonnet 5.5, $0.37 on GPT-6.1 Sol), but Sonnet 5.5 misses 81.2% of 5 to 30 minute breaks and GPT-6.1 Sol misses 2.3%. That is $0.28 per break versus $0.008, a 34x gap. Assuming a developer pauses four times a day for 5 to 30 minutes (20 breaks a week, 80 a month), that adds about $5.70 a week (about $23 a month) per seat on Sonnet 5.5 against about $0.17 a week (about $0.66 a month) on GPT-6.1 Sol. On Opus 5.5 the same pattern costs about $17 a week, about $69 a month per developer, or about $1,380 a month for a 20-person team. At two breaks a day, a team of 20 on Opus 5.5 still pays about $690 a month. The article says teams miss this early because under 15 minutes the median pause loss is 0% on both families, 76% of Claude coding conversations finish inside 5 minutes, and conversations running past an hour carry about 80% of total spend.
On fixes, Requesty tested five on live Claude endpoints (Anthropic API, Bedrock, Vertex) and replayed them on 30 days of traffic. Claude's 1-hour cache option, which charges 2.0x on writes, is rarely used: OpenCode sent 0% of large Claude writes at 1 hour and Claude Code used it on 2% to 10% across most routes. Turning it on from turn 1 means 87% to 89% of sessions end up paying more. Switching a warm 5-minute conversation to 1 hour mid-session backfired in live runs on Anthropic API and single-region Vertex: the new turn read 0 tokens and rewrote the whole prompt at 2.0x. Bedrock was an undocumented exception in 4 of 4 runs. Two ways to get 1-hour caching without the upfront tax are to switch cold on the first turn after a 5-minute pause (about 5% to 7% net), or to put static tools and system prompts on 1 hour and messages on 5 minutes from turn 1; 1-hour markers must precede 5-minute ones or the API returns HTTP 400.
The approach the article says beats every 1-hour option is the adaptive keep-alive ping. After 4.5 minutes idle, re-send the exact last request body with max_tokens set to 0 (and stream removed) to the same provider, region and credentials. Live runs on Anthropic API (Opus 5.5), Bedrock (eu-central-1, Opus 5.5) and Vertex (europe-west1, Sonnet 4.6) confirmed 0 output tokens, 100% prefix reads and warm survival past 13.5 minutes; count_tokens does not refresh the cache. A ping pays off whenever the odds of the developer returning beat read / (write - read), which is 4.2% on Opus 5.5 and Sonnet 5.5 (8.7% on 0.10x models, 2.0% on Fable 5.2). Production return probability rises with turn depth, from 2.7% on turns 1 to 5 to 30.8% past turn 100, so capping pings by turn depth (none early, 2 to 6 on deeper threads) cut about 8% to 9% net off the Claude coding bill in replay, closing over half of the 14-point gap to GPT.
The article closes with a recommendation to stop benchmarking coding models on per-token price sheets alone, and to pull your own usage logs and count every continuing turn past 300 seconds that missed the cache.
Key facts
- Over 30 days (October 24 to November 22, 2026) of coding-agent traffic, 23.1% of the Claude bill went to rebuilding expired prompt caches, versus 9.3% on GPT models, per Requesty.
- Per-token cache multipliers are the same (1.25x write, 0.05x read); the difference is the default TTL: 5 minutes on Claude, 30 minutes on GPT. Breaks of 5 to 30 minutes cost Claude 15.2% of the bill and GPT 0.8%.
- On a like-for-like pair at $2 input and $10 output per million tokens, Sonnet 5.5 misses 81.2% of 5 to 30 minute breaks and GPT-6.1 Sol 2.3%: $0.28 versus $0.008 per break, a 34x gap.
- Claude's 1-hour cache (2.0x writes) leaves 87% to 89% of sessions paying more when enabled from turn 1; adaptive keep-alive pings after 4.5 minutes idle cut about 8% to 9% net off the Claude coding bill in replay.
- Replays are simulations: with a 30-minute default Claude and GPT both lose 8.7%, and GPT on a 5-minute cache would lose 35.6%.
Why it matters
Per-token price sheets show the same cache multipliers for Claude and GPT, yet the article reports very different real bills: 23.1% of the Claude bill goes to rebuilding expired caches against 9.3% on GPT. Against a warm cache that never expires on pauses, that is 1.30x for Claude and 1.10x for GPT. The surprise is where the loss sits: pauses of 5 to 10 minutes cost 8.0% of the Claude coding bill, more than all breaks over an hour combined (5.3%), so a short read-the-diff or coffee break is the expensive case, not the overnight one. Two models at the same $2 and $10 per million token list prices differ by 34x per coffee break ($0.28 versus $0.008).
Who it affects
Teams running coding agents on Claude through Claude Code, OpenCode, Codex, Pi, Kilo or direct APIs (Anthropic API, Bedrock, Vertex). Among active coding organizations with $100+ monthly spend, the median Claude team loses 23.3% of its bill to pauses, and about 85% lose more than 5% on 5 to 30 minute pauses, against 0% of GPT teams. Under the article's own assumption of four such pauses a day, an Opus 5.5 developer costs about $69 a month extra, or about $1,380 a month for a team of 20. Engineers who compare models on token prices alone are also affected.
How to use it
The article's main remedy is a keep-alive ping: after 4.5 minutes idle, re-send the exact last request body with max_tokens set to 0 and stream removed, to the same provider, region and credentials, keeping model, system, tools, messages, thinking and effort identical. Pings pay off when the chance of the developer returning beats read / (write - read), which is 4.2% on Opus 5.5 and Sonnet 5.5, so the article suggests capping pings by turn depth: none on early turns, 2 to 6 on deeper threads. For the 1-hour cache, avoid turning it on from turn 1 or switching mid-session; instead switch cold on the first turn after a 5-minute pause, or put static tools and system prompts on 1 hour and messages on 5 minutes from turn 1, with 1-hour markers placed before 5-minute ones. The article's closing advice is to pull your own usage logs and count every continuing turn past 300 seconds that missed the cache.
How solid is it
The numbers come from Requesty's own production traffic and its own live tests, and the article publishes no outside check. It is specific about method: 30 days of token and billing counters across five tools and five provider routes, with a pause miss defined as a continuing turn after a gap over 5 minutes that reads under 10% of the prior prompt from cache. Live checks used fresh random prompts, and the measured GPT cliff on Azure matches OpenAI's documented 30-minute floor. The article says the gap is not explained by developer behaviour, since pauses over 5 minutes occur at the same rate on both families, and the OpenCode-only comparison shows the same split. The visible text names no authors and does not say how many developers, organizations or requests are in the dataset. No response from Anthropic or OpenAI is given.
Risks and caveats
The dollar figures per developer rest on the article's own assumption of four 5 to 30 minute pauses a day, not a measured per-developer number. The replay results (8.7% under a 30-minute cache, 35.6% for GPT on 5 minutes, 27.5% for Claude, and the 8% to 9% saving from pings) are simulations, not measured production outcomes, and the article does not give a measured dollar saving from pings. Pings have limits: Anthropic documents that max_tokens set to 0 is rejected with extended thinking enabled, structured outputs, forced tool_choice and Message Batches; the harness must store the last request body for up to about 30 minutes; and altering thinking settings changes the cache key. Pings sent after a developer stops working go unused: in replay, 43% to 52% of long sessions spent more on pings than they saved, even though aggregate coding spend fell 8% to 9%. Model names and prices are the article's own.
“Both labs charge the same per-token cache multipliers on their current models. The split comes from the default TTL”
— Requesty, blog post