Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.287 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.288 ·

Auto-compact window can now be set per model

autoCompactWindow can now hold a different value for each model, and /autocompact and /config show and save it for the current model

Group of 3 Use it now Notable New Features
JSON All of v2.1.288
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
CompactionArea: what it touches
New FeaturesKind: in v2.1.288,
What probably matters to youSection of the release

What

The auto-compact window is how full the conversation gets before Claude Code automatically summarises it to free up room. It used to be one value for all models. It can now differ by model:

  • autoCompactWindow can be set inside modelSettings for a model, in tokens (100000 to 1000000) or auto. It is read both at the top level and per model, and combined across settings files.
  • The value can also be an object with byModel and default. auto falls back to the later sources: server-provided data, any experiment, then the model's own default.
  • /autocompact saves to the per-model setting.
  • /config and the auto-compact dialog now name the model, for example "Auto-compact window for " and "Current setting for ", and the set and reset messages say the same.
  • The message about the CLAUDE_CODE_AUTO_COMPACT_WINDOW environment variable override is unchanged.

Why

A window you set while using one model no longer applies to every other model, so models with different context sizes can each compact at a point that suits them.

Read from
What the documentation says
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 doubtIt is not shown whether the top-level setting was already read in the same way before.

See this entry in the whole of v2.1.288 →

Feedback