Skip to content
Original
Tutorials宝玉 · XRelayed· @dotey·· 2 days ago

438 views · 0 likes · 0 reposts (at collection)

Claude Code adds idle compaction before prompt caches expire

Who
dotey
What
explains Claude Code’s idle compaction feature, which compacts long idle sessions before the prompt cache expires

What happened

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 👍 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.

Links in the post: 2

The story so far

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.

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

Tomorrow at 08:00, a briefing like this arrives in your inbox.

The same kind of briefing as the one above: a few stories worth reading. Free. Mail starts after you confirm, and every letter has a one-click unsubscribe. Read a past issue · 2026-10-17