Claude Code v2.1.334 · 1 Dec 2026
Sessions on auto can compact earlier, with a notice and an opt-out
Sessions on the auto window can now compact near a smaller size than 1m, with a notice saying /autocompact 1m opts out
You'll notice Tier: how much it should matter to you
4 Useful: my rating, 1 to 5
3 Signal: worth watching, 1 to 5
Compaction Area: what it touches
Improvements Kind: in v2.1.334, 01 Dec 26
What probably matters to you Section of the release
Unclear It is not stated what switches the lowered window on or whether it is active for anyone yet.
What
Compaction is when Claude Code summarises the conversation so far to free room in the context window (how much text the model can hold at once). The auto-compact window is how full that window gets before compaction happens on its own.
Claude Code can now lower this window for a session that is on auto . When it does, a notice says the session now autocompacts near a smaller number of tokens instead of 1m, to lower the cost of long sessions. The notice has separate wording for the cloud, the desktop app and the terminal.
/autocompact 1m opts out and keeps the 1m window.
The settings dialog opened by /config gained a row for the auto-compact window.
The notice text comes from a remotely supplied setting.
Why
Long sessions may compact sooner than you expect. If you want the larger window back, run /autocompact 1m.
How sure we are
Something disagrees Something we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt It is not stated what switches the lowered window on or whether it is active for anyone yet.
Anthropic's release notes agree Added an Auto-compact window row to /config to see and change the size that /autocompact sets
See this entry in the whole of v2.1.334 →
1 Dec 2026 · 544 entries, this one is #18.
Use it now15 You'll notice322 Nothing to try yet40 Under the hood167
Open the release →
Names in this entry
slash /autocompact Set the auto-compact window: how full the context window gets before Claude Code compacts automatically. Pass a size such as 500k, or auto to return to the window tuned for your model. Claude Code saves the value to user settings and applies it to the current session. See Set the auto-compact window for accepted values and what overrides it. Without an argument, opens a dialog that shows the current window. Requires Claude Code v2.1.221 or later
setting auto You can set the auto-compact window at launch with --autocompact, using auto or 100k to 1M.
slash /config Open the Settings interface to adjust theme, model, output style , and other preferences. Pass one or more key=value pairs to set a setting directly without opening the interface, for example /config thinking=false, /config theme=dark, or /config model=sonnet. The key=value form also works in non-interactive mode (-p) and from the Claude mobile app via Remote Control . The key=value form can't turn on a setting that needs your confirmation in the panel, such as autoContinueAtUsageLimit , though it can turn one off. Run /config --help to list the keys it accepts. Alias: /settings
Anthropic's notes
Upstream's own release notes for v2.1.334 name something this entry names, so the two are probably about the same change. Probably: the pairing is made on a shared name rather than on the words around it.
Added an Auto-compact window row to /config to see and change the size that /autocompact sets
Remote Control: Fixed it turning back on by itself after you switched it off in /config while it showed a sign-in failure
Changed auto-compact's per-model auto setting to near 400K on most current 1M models, -p and SDK runs too (rolling out; on now with third-party providers or telemetry off); see /autocompact
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 17 of 544
Subagents can work in their own git worktree on a remote tools server
Under the hood Subagents
In v2.1.334 What probably matters to you release-page order
Next → · 19 of 544
New --health-host option keeps the health check on your own machine
Use it now Health Check