Claude Code will now summarize your session at 400K tokens instead of 1M
Anthropic launched Claude Code version 2.1.334, lowering the auto-compaction trigger threshold to roughly 400,000 tokens for models with a 1 million-token context window. While aimed at trimming token expenses and managing system memory, the move drew mixed developer reactions. Anthropic stated that developers can still modify settings to restore the earlier cutoff limit.
Key points
- Claude Code version 2.1.334 triggers autocompact at 400,000 tokens instead of 967,000.
- The change lowers token costs and memory footprint but has received pushback.
- Users retain the option to revert to the previous context limit manually.
Summary and key points written by AI from the headline and a short excerpt, so they can be incomplete or wrong. The New Stack did the reporting; read the original for the full story.
Read the full story at The New Stack