5分钟缓存加剧Claude暂停成本
一项针对2026年10月24日至11月22日共30天生产编码代理流量的分析发现,在开发者暂停期间,因提示缓存过期而进行的重建占Claude账单的23.1%,而同一时期使用相同工具的GPT模型为9.3%。在暂停5至30分钟时,Claude账单中有15.2%因缓存未命中而损失,GPT则为0.8%。报告将这一差异归因于默认缓存有效期:Claude Opus 5.5和Sonnet 5.5为5分钟,GPT-6.1 Sol为30分钟。
报告表明,编码代理团队仅比较每Token价格可能忽略缓存有效期。尽管Claude Sonnet 5.5与GPT-6.1 Sol价格相近,不同的暂停未命中率仍造成显著不同的成本,因此缓存持续时间也是编码代理预算中的重要项目。
Across 30 days of coding-agent traffic (October 24 to November 22, 2026), 23.1% of the total Claude bill across Claude Code, OpenCode, Codex, Pi, and Kilo 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%.
On breaks longer than 30 minutes, both families lose roughly the same share of the bill (7.8% on Claude, 8.5% on GPT), because both caches are gone. On breaks between 5 and 30 minutes, Claude loses 15.2% of the bill and GPT loses 0.8%. One 8-minute break on a 210,000-token Claude Opus 5.5 session turns a $0.04 cache read into a $1.05 cache write at Anthropic's list price, and that happens on 81% of Opus 5.5 pauses in that window.
Both labs charge the same per-token cache multipliers on their current models. The split comes from the default TTL:
| Claude Opus 5.5 / Sonnet 5.5 | GPT-6.1 Sol | |
|---|---|---|
| Cache read | 0.05x input | 0.05x input |
| Cache write (default) | 1.25x input | 1.25x input |
| Default TTL | 5 minutes | 30 minutes (minimum) |
| Longer TTL option | 1 hour at 2.0x write | 12 hours at 2.5x write (Responses API) |
| Read refreshes the timer | Yes | Yes |
#Anthropic#OpenAI#Claude Opus 5.5#Claude Sonnet 5.5#GPT-6.1 Sol#Claude Code#OpenCode#Codex#Pi#Kilo#Anthropic API#OpenAI API