Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Auto-compact window can now be raised to fit what loads with every request

Claude Code can raise a conversation's auto-compact window when every request carries a heavy fixed load, and the CLAUDE_CODE_AUTO_COMPACT_WINDOW maximum warning is gone

Group of 3 You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release

Unclear Whether a value above 1,000,000 now takes effect, or is still capped somewhere else, is not settled.

What

Auto-compact is when Claude Code summarises older parts of a conversation to free up room. The auto-compact window is how large the conversation may grow, in tokens (the small chunks of text the model counts), before that happens. Claude Code can now raise this window for a conversation when the fixed load sent with every request is large. That fixed load includes things like tool and MCP server definitions.

  • When the window is raised, a notice appears: "Raised this conversation's auto-compact window from" followed by the old and new token counts.
  • The context usage view now adds an Auto-compact window line saying it was raised from one size to another in this conversation "to fit what loads with every request". The line appears only when the window was raised.
  • The context data and the session status gain an optional loadRaise field with fromWindow and toWindow. It is present while the window is raised above the base window.
  • The warning for an invalid CLAUDE_CODE_AUTO_COMPACT_WINDOW no longer has an upper limit case. It now reads "Set it to a size of at least ..." instead of asking for a size between a minimum and a maximum. The maximum-window check when reading the value was dropped, and the limit now uses the larger, raised window.
  • The auto-compact window slider now works out its stops from the model's context window and the configured value. The slider is wider, its left and right arrows highlight on hover and respond to clicks, and the tab headers are padded and aligned.

Why

If many tools or MCP servers load with every request, a small auto-compact window can leave little room for the conversation itself. Raising the window means compaction may start later in those sessions. Check the context usage view to see whether this has happened in your conversation.

Read from
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_AUTO_COMPACT_WINDOW, on Create custom subagents. If you also set [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`](https://code.claude.com/docs/en/env-vars#variables), the subagent uses the lowest of the `autoCompactWindow` value, the model's context window, and the window the variable sets. Before v2… sub-agents see the edit
Added since A small documentation edit on Model configuration touched a line naming CLAUDE_CODE_AUTO_COMPACT_WINDOW after this was published. A warning that quotes your `CLAUDE_CODE_AUTO_COMPACT_WINDOW` value means your session isn't using the value as you set it. To stop the warning, set a number such as `CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000`. On Claude Code v2.1.304 or later… model-config see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether a value above 1,000,000 now takes effect, or is still capped somewhere else, is not settled.
Anthropic's documentation agreesA small documentation edit on Model configuration touched a line naming CLAUDE_CODE_AUTO_COMPACT_WINDOW after this was published.

See this entry in the whole of v2.1.327 →

Feedback