Hacker News

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

Which summary reads better? Pick one — models revealed after.Both summaries are AI-generated.

Anthropic's strict 5-minute prompt cache TTL wastes 15.2% of your coding-agent bill on rebuilding expired caches during short developer pauses, whereas GPT's 30-minute TTL loses only 0.8%. An 8-minute pause on a 210,000-token Claude Opus session instantly spikes your cost from a $0.04 cache read to a $1.05 cache write. For production agents with human-in-the-loop verification steps, this tax severely penalizes idle developer time, forcing you to either accept a massive cost inflation or actively refactor your agent architecture to statefully manage session pauses.

Mistral Large quota or rate limit — check usage and plan. Original headline: Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

原文来源:snipvote.com