Skip to content

Claude Code Adds Idle Compaction Before Prompt Cache Expiration

1 reports 1 reporting sources 2 days agoNew

Understand the event

AI overview

Baoyu says Claude Code has added idle compaction, which proactively runs /compact before the prompt cache expires to help avoid a spike in token costs on the first request after an hour away. In the post Baoyu quoted, @lydiahallie says the feature compresses long idle sessions just before the prompt cache expires, at roughly one hour. According to @lydiahallie, returning users then need only the summary reprocessed instead of the entire conversation, saving some usage.

Generated by AI from reports · Updated 2 days ago

Report timeline

Follow the reports to explore different sides of the event.

10/15
  1. Claude Code adds idle compaction before prompt caches expire

    Baoyu says Claude Code now proactively runs /compact before the cache expires, helping avoid a spike in token costs on the first request after an hour away, and calls it useful 👍 https://t.co/4PT3UQ5kWD In the quoted post, @lydiahallie says idle compaction compresses long idle sessions just before the prompt cache expires (~1h), so returning users only need the summary reprocessed instead of the entire conversation, saving some usage. https://t.co/SG3QyTNFwr

Event heat trend

可比范围当前
3
Peak within comparable coverage
1010/15 07:00 (UTC+8)
近 24 小时变化
-50%

Trends compare the same continuously observed participants, which may cover fewer sources than current heat. Point or click to inspect hourly heat, or use left and right arrow keys.

Keep reading

Latest daily · Issue 24NVIDIA and AI4Bharat Introduce Nemotron-pretraining-Indic-v1 and an Open Data Generation Pipeline

Trending now

  1. 1Meta Releases Muse Spark Open With Mac and Cloud Support, Topping US Open-Weight Index
  2. 2Google Launches Gemini 4 Argon Globally, Expands Paid Access as Benchmark Results Vary
  3. 3OpenAI Updates GPT-6 Astra Pro in ChatGPT With Parallel Agents and Faster Responses
  4. 4Meta’s New Business Terms Raise Dispute Over Website Crawling and AI Training Rights