Claude Code makes 400K auto-compact the default for 1M models
Claude Code is rolling out 400K auto-compact as the default for most 1M-context models to help control usage in long sessions. Previously, compaction only kicked in at around 967K, so every message carried the entire conversation; although much of that is cheaper cache reads, it still counts toward usage. Running /autocompact 400k summarizes earlier at 400K, or /autocompact 1m in /config preserves the full 1M window.
400k auto-compact is now rolling out as the default in Claude Code for most 1M models! This should help with your usage if you run longer sessions
You can still keep the full 1M window by running "/autocompact 1m" or in /config
View the quoted post on XJust to avoid some confusion: auto-compact does summarize. When it runs, your whole conversation is replaced by a short summary. It doesn't keep the last 1M tokens around.
The ~967K is only when it runs on 1M models. Compacting itself is just one request that reads about as many tokens as the message you sent right before it, and it's mostly cache reads if your cache is still warm.
What @rohit3a found is that waiting until 967K means every message before that point uses a lot of tokens, because each one includes your whole conversation so far. Most of it is read from the cache, which is much cheaper (so this is usually fine as long as your cache is warm), but it still counts toward your usage and adds up as your conversation grows.
/autocompact 400k makes it summarize at 400K instead, so your messages never get that big.
Source: Lydia Hallie ✨ · x.com