Claude’s 5-minute cache costs teams 23% more in AI bills

A cracked hourglass with sand spilling from the top chamber, but only the bottom five minutes are filled—symbolising how most value is lost just after a short window.

Across a month of real-world coding-agent usage (October 24 to November 22, 2026), 23.1% of total spend on Anthropic’s Claude models went toward reprocessing prompts after short breaks. On OpenAI’s GPT-6.1 Sol, the same waste accounted for just 9.3%. The difference? A single design choice: default cache lifetime. Claude expires cached prompts after 5 minutes of inactivity; GPT holds them for at least 30 minutes. For engineering teams in the UK, UAE, US, and Kazakhstan relying on AI coding agents, this gap translates into thousands in avoidable costs.

The financial impact isn’t driven by overnight pauses or long weekends. It’s concentrated in micro-interruptions: reading a diff, grabbing coffee, or switching tabs. Between 5 and 30 minutes away, 15.2% of the Claude bill is lost to full prompt rewrites, compared to just 0.8% on GPT. On a single 8-minute pause during a 210,000-token Opus 5.5 session, a $0.04 cache read becomes a $1.05 write—25 times more expensive.

Cache TTL is the hidden cost lever

Prompt caching slashes AI inference costs by storing the conversation prefix once (at 1.25x input price) and reusing it cheaply (0.05x) on subsequent turns. While both Anthropic and OpenAI apply the same per-token multipliers on their current models, the default time-to-live (TTL) creates a structural divergence. Claude’s 5-minute TTL means any pause longer than that triggers a full rebuild. GPT’s 30-minute minimum ensures most short breaks stay within the warm window. Read refreshes the timer on both, so active loops stay efficient—but human pauses expose the gap.

This isn’t about user behaviour. Data shows identical pause frequency across both platforms: 3.3 pauses over 5 minutes per 1–4 hour session on both Claude and GPT. When restricted to the same tool (OpenCode), rebuilds cost 30.6% of the Claude bill versus 11.3% on GPT. The disparity is entirely due to TTL, not usage patterns.

The real cost of a coffee break

Most assume the biggest cost comes from resuming work the next day. In reality, pauses between 5 and 10 minutes alone account for 8.0% of the entire Claude coding bill—more than all breaks over an hour combined (5.3%). Two-thirds of Claude’s pause-related losses occur within 30 minutes of the last message. On GPT, the equivalent loss over 5–30 minutes is just 0.8%.

For a developer taking four 5–30 minute breaks daily, the monthly cost on Sonnet 5.5 is $23 per seat versus $0.66 on GPT-6.1 Sol. For a 20-person team using Opus 5.5, that’s $1,380 a month—over $16,000 annually—burned on pauses under half an hour.

Fixes that don’t scale

Teams have tried workarounds. Adaptive keep-alive pings (sending max_tokens: 0 requests) reduce waste by 8–9%, but keep the session active in memory and face API rate limits. Switching to a 1-hour TTL after the first cache miss saves 5–7%, but waiting for a miss means paying the penalty first. Using 1-hour caching from the start backfires: 87–89% of sessions pay more due to the 2.0x write cost.

Worse, switching mid-session from 5-minute to 1-hour cache on Anthropic API or Vertex triggers a full rewrite at 2.0x—defeating the purpose. AWS Bedrock behaves differently (in testing, it preserved the prefix), but this is undocumented and unreliable.

What it means

For businesses, this isn’t just about cost—it’s about predictability and control. A 5-minute TTL increases dependence on the provider’s infrastructure logic, forcing teams to build complex keep-alive systems or absorb waste. GPT’s longer default gives breathing room without requiring intervention.

In markets like Kazakhstan and the UAE, where AI infrastructure spend is rising but budgets are scrutinised, such inefficiencies can distort ROI. UK startups relying on tight unit economics may find Claude’s model harder to justify at scale, despite comparable per-token pricing.

Teams should audit their pause patterns and model choices. For long-running coding agents, GPT’s 30-minute floor offers better cost stability. If using Claude, consider tools that minimise idle time or explore Bedrock’s slightly more forgiving timing—though the fundamental TTL limit remains.

The lesson: pricing tables don’t tell the full story. The real cost of AI isn’t just in tokens—it’s in how the system handles silence.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *