# Claude Code will now summarize your session at 400K tokens instead of 1M

Source: [The New Stack](https://thenewstack.io/claude-code-400k-autocompact/) · 2026-12-04 · Cloud & DevOps
Page: https://themorning.dev/story/claude-code-will-now-summarize-your-session-at-400k-tokens-instead-of-1m-e77161fa7d9afcab
Kind: release · Impact: medium

## In 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.

## Versions

- Claude Code 2.1.334

## Coverage

- [Claude Code will now summarize your session at 400K tokens instead of 1M](https://thenewstack.io/claude-code-400k-autocompact/) — The New Stack, 2026-12-04

Tags: claude-code, anthropic, autocompact, ai-coding-tools, context-window

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
