Claude Code will now summarize your session at 400K tokens instead of 1M
Claude Code now auto-compacts long sessions at 400K tokens instead of 1M. Anthropic believes this will help longer sessions but lets you switch back.
Anthropic has updated Claude Code's autocompact feature to a default of 400,000 tokens, down from 1 million. This change aims to reduce token costs and improve system memory utilization for developers running longer coding sessions. Anthropic's documentation states that this adjustment applies to all current-generation LLMs with a 1M context window, including Fable models, Sonnet 5, Haiku 5.5, and Opus 4.7.
Users can still adjust their autocompact settings or roll back to the previous 967,000 token cutoff if desired. The update is being rolled out progressively and is already live for users who run Claude Code through third-party providers or disable tracking via the Telemetry feature. Anthropic is encouraging users to see a one-time message confirming the change and to check their settings for the new "Auto-compact window" value.
While many developers find the shorter context window acceptable, some remain skeptical about its impact on response quality and reasoning chains. Anthropic has not yet provided additional information on real-world performance impacts, but users can easily roll back to the previous settings if needed.
Rewritten by urgent.news; may contain errors โ check the original.
Source: thenewstack.io