Five-minute Claude cache TTL drives higher coding-agent bills than GPT
OtherPublished: Source: Hacker News (100+ points)
TL;DR:3% for GPT. 8% on GPT, whose default cache lifetime is 30 minutes compared with Claude’s five. Requesty also tested mitigations, reporting net savings of about 8%–9% from adaptive keep-alive pings under its tested conditions.

Requesty analyzed 30 days of coding-agent traffic and found that expired prompt caches consumed 23.1% of Claude spending, versus 9.3% for GPT. The gap was concentrated in pauses of 5–30 minutes: they accounted for 15.2% of Claude spending but just 0.8% on GPT, whose default cache lifetime is 30 minutes compared with Claude’s five. Requesty also tested mitigations, reporting net savings of about 8%–9% from adaptive keep-alive pings under its tested conditions.
Key points
- The analysis covered 30 days of traffic across Claude Code, OpenCode, Codex, Pi, and Kilo.
- Cache rebuilds represented 23.1% of Claude spending and 9.3% of GPT spending overall.
- For pauses of 5–30 minutes, the respective shares were 15.2% and 0.8%.
- Adaptive keep-alive pings produced an estimated 8%–9% net savings on Claude in tests.
Why it matters
Teams running long coding-agent sessions can use pause patterns and cache settings to estimate avoidable model costs. The findings point to short idle breaks—not only overnight gaps—as a material cost driver, and identify keep-alive requests as one tested mitigation.
Companies and models mentioned
- Requesty
- Claude
- ChatGPT
- Claude Code
- OpenCode
- Codex
- Pi
- Kilo