chiprook
← AI
AIOctober 20, 2026, 17:50

Experiment measures how long Claude Code's prompt cache lasts

A developer measured prompt cache lifetime in Claude Code 2.1.295 on Opus 5.5: pauses up to 55 minutes changed nothing, but after 65 minutes the cache was gone and the same message cost 507% more. With a subscription within included usage the cache lasts an hour; with usage credits or an API key it lasts 5 minutes.

Experiment measures how long Claude Code's prompt cache lasts
#Anthropic#Claude
Read next
AI

Claude Code /compact costs $0.06 with warm cache, $0.53 cold

AI

Opus 5.5 renders video as code: 13 examples and their prompts

Software

Torvalds used Claude Code to fix Linux page cache, reviewers found a race

Software

OutSystems Agent Experience now generally available for any coding agent