Release
Claude Code will now summarize your session at 400K tokens instead of 1M
The New Stack · By Ritoban Mukherjee ·
The Brief
- Anthropic is changing Claude Code's autocompact feature so it summarizes a session at 400K tokens instead of 1M.
- The change ships in Claude Code version 2.1.334 and applies to most current models, per The New Stack.
Why it matters
Autocompact replaces long session history with a summary, so developers on long coding sessions will see earlier context condensed sooner and less of the full session sent with each prompt.
Who’s affected
- Claude Code users running long coding sessions
- Claude Code 2.1.334
- #claude-code
- #anthropic
- #autocompact
- #ai-coding-tools
- #context-window
Anthropic is making changes to Claude Code’s autocompact feature to avoid dragging the full weight of a long coding session into every prompt. On Tuesday, the company released Claude Code version 2.1.334, which will trigger autocompact on most current models with a 1…