Claude Code now auto-compacts near 400K tokens on 1M-context models
Starting in version 2.1.334, Claude Code lowered its default auto-compact point on 1M-context models from roughly 967K tokens to near 400K, with the change rolling out gradually. The move aims to reduce token usage in long sessions by keeping later requests smaller. Compaction now fires at about 367K, so context meters measured against the full 1M window will show around 37% when compaction occurs. The article recommends storing durable rules in CLAUDE.md files rather than chat, and handing off work before clearing context on the user's own terms. Users who want the previous behavior can run /autocompact 1M to restore the full-window threshold.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in