Unverified50% confidenceFactExact time
Compaction has Claude generate a summary of earlier turns, can be triggered on ordinary requests by setting a token threshold, with a default of 150,000 input tokens and a minimum of 50,000, and after setting pause_after_compaction to true it can pause to re-insert recent turns.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
11/14/2026
First Seen
Valid until: 2/12/2027
Sources
Claude Context Window and Prompt Caching: A Practical Guide to Cost Optimization
youtubeCodeFlow Daily11/14/2026
Related Entities
Related Claims
UnverifiedClaude 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.72% similarUnverifiedWhen the prefix cache is hit, repetitive prefill of tens of thousands of tokens can be almost entirely skipped, dropping first-token latency from seconds to milliseconds.69% similarUnverified对于500 Token的回答,流式输出可以让用户在首Token延迟(约500ms)后就开始看到内容,而非等待完整生成(约10秒)67% similarUnverifiedThe latency data comes from a separate synthetic load: 4,096 document tokens and 50 questions. Q64's median cold-request latency is 2.237 seconds, versus 5.383 seconds for the native baseline and 56.872 seconds for the batched AnyJev configuration.66% similarUnverifiedClaude Code's fast cache is retained for only one hour, after which the entire conversation needs to be reprocessed65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1169838API
curl https://kongchang.com/api/v1/knowledge/claims/1169838MCP
get_claim(id=1169838)