Claude's 5-minute prompt cache vs GPT's 30-minute cache: the cost of pauses
Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses
Across 30 days of coding-agent traffic from Claude Code, OpenCode, Codex, Pi and Kilo, 23.1% of the Claude bill went to rebuilding prompt caches that expired during developer breaks, versus 9.3% on GPT models. The gap comes almost entirely from 5 to 30 minute pauses, where Claude loses 15.2% of the bill and GPT 0.8%, because Claude's default cache TTL is 5 minutes while GPT's is 30 minutes. On matched $2 per million input token models, Claude Sonnet 5.5 misses 81.2% of 5 to 30 minute breaks versus 2.3% for GPT-6.1 Sol, making each such break cost $0.28 versus $0.008.
A 30-day production billing analysis shows how Claude's 5-minute prompt cache TTL versus GPT's 30-minute default turns identical per-token prices into very different coding-agent bills.
Source:Hacker News · AI · requesty.ai