Claude engineer clarifies auto-compact: full summary replaces context, cache reads still burn quota
lydiahallie · x · 2026-10-10
Anthropic engineer Lydia Hallie clears up misconceptions about Claude Code's auto-compact:
- Auto-compact does summarize: when triggered, the whole conversation is replaced by a short summary — it never keeps the last 1M tokens around.
- The 967K threshold only applies to 1M-context models. Compacting is a single request reading roughly as many tokens as the message sent right before it, mostly cheap cache reads if the cache is warm.
- But waiting until 967K means every earlier message carries the full conversation history. Even with mostly cache hits, it still counts toward usage and adds up — which explains users burning 2%–15% of their 5h limits on a single auto-compact.
- Practical fix: /autocompact 400k triggers summarization at 400K so messages never balloon that big.
More from coding & agent
- NVIDIA expands OpenShell for agent permissions; Anthropic, CrowdStrike, Palantir already using it — NVIDIAAI · 2026-12-02
- Anchor Browser lands in Hermes Agent: cloud browser handles logins without pasting passwords — ghumare64 · 2026-12-02
- Technical guidelines for AI agent containment: nesting agents in VMs with gated egress — adnan_hashmi · 2026-12-02
- Developer uses Neon to fix the weirdest bugs Opus left in centrifuge controllers — jonathanberte · 2026-12-02
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- Solo filmmaker makes 3.5-min AI short film: 21 shots with Midjourney, Seedance 2.5 and ElevenLabs — DavidmComfort · 2026-12-02