AI & Tech··1 sources verified
Claude Code Now Auto-Compacts Long Sessions at 400K Tokens, Down From 1M
Summarised by Relevant News AI · Read time: 3 min
Anthropic has lowered the threshold at which Claude Code automatically summarizes, or compacts, long sessions from 1 million tokens to 400,000. The company says the earlier compaction will support longer sessions overall, and users can switch back to the previous setting.
Why it matters: Developers who run long Claude Code sessions will see context compacted much sooner, which can change how much earlier detail the agent retains and whether they need to adjust their settings.
All sources