5 ms·
The docs are a good place to start: https://platform.claude.com/docs/en/build-with-claude/prompt-caching#how-prompt-caching-works https://platform.claude.com/do
by bcherny 5mo ago
The docs are a good place to start: https://platform.claude.com/docs/en/build-with-claude/prompt-caching#how-prompt-caching-works https://platform.claude.com/docs/en/build-with-claude/prompt...
- snthpy 5mo agoThanks. Just noting that those docs say the cache duration is 5 min and not 1 hour as stated in sibling comment: > By default, the cache has a 5-minute lifetime. The cache is refreshed for no additional cost each time the cached content is used. > > If you find that 5 minutes is too short, Anthropic also offers a 1-hour cache duration at additional cost.
- yoaviram 5mo agoApparently Anthropic downgraded cache TTL to 5 min without telling anyone. My biggest issue with the recent issues with Claude Code is the lack transparency, although it looks like even Boris doesn't know about one: https://news.ycombinator.com/item?id=47736476 https://news.ycombinator.com/item?id=47736476