Claude Code now compacts at 400K tokens
Long sessions get summarized sooner on 1M-context models
ACN Wirevia The New Stack
Written with AI assistance, reviewed by the ACN desk.
Anthropic released Claude Code version 2.1.334, which makes autocompact trigger at roughly 400,000 tokens on most current 1M-context models instead of roughly 967,000, according to The New Stack. The change covers interactive sessions, -p script runs and Claude Agent SDK runs and is rolling out gradually; The New Stack reports users can return to the larger window with the /autocompact 1m command. Lydia Hallie of Anthropic’s Claude Code team said on X that the new default should help with usage for people who run longer sessions.
Spot an error? Email corrections@aicodingnews.si. Fixes are logged on the corrections page.
Sponsor
Long sessions get summarized sooner on 1M-context models
Experimental Code Mode reaches Amazon, Google and Microsoft clouds
Anthropic blames overcaution on long tasks
Skills, background tasks and user prompts
Sponsor
Sponsor
Sponsor
Sponsor