Unverified50% confidenceFactExact time
Claude API prompt caching has a lifetime, typically a few minutes to a few hours, after which it must be written again.
1
Sources
50%
Confidence
Long-term
Relevance
11/22/2026
First Seen
Sources
5 Claude API Cost-Saving Tips Every Developer Should Know
youtubecode.coffee.repeat11/21/2026
Related Entities
Related Claims
VerifiedClaude Code's fast cache is retained for only one hour, after which the entire conversation needs to be reprocessed72% similarUnverifiedOn the API side, Claude's prompt cache duration is set to 12 hours.72% similarUnverifiedAnthropic's prompt caching lives for about five minutes by default (TTL), each hit refreshes the timer, and the cache expires if there is no request beyond its lifetime.71% similarUnverified持久化Agent需要在数小时、数天甚至更长的时间跨度内持续存在,跨越多次交互并保持记忆与状态的连续性70% similarUnverifiedClaude Code requests a 1-hour cache on every request, so after leaving for six minutes the next question can still read about 18,000 tokens from the cache; the claim that 'the cache expires after 5 minutes' does not hold.69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1196576API
curl https://kongchang.com/api/v1/knowledge/claims/1196576MCP
get_claim(id=1196576)