What probably matters to youSection of the release
Unclear It is not shown whether the top-level setting was already read in the same way before.
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.
/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.
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.
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 sinceAnthropic's documentation has since written up modelSettings, on Use Claude Code in VS Code.When the current model supports [effort levels](/docs/en/model-config.md#adjust-effort-level), the picker also shows an **Effort** row and the model name button shows the selected level. When you pick a level other than `max`, Claude Code …vs-codesee the edit
Confirmed sinceAnthropic's documentation has since written up autoCompactWindow, on Claude Code changelog.* Added `autoCompactWindow` to subagent frontmatter and `--agents` definitions, so a subagent can auto-compact earlier than the main conversation's windowchangelogsee the edit
Added sinceA small documentation edit on Deploy managed settings touched a line naming autoCompactWindow after this was published.* **The auto-compact window for a session**: a managed [`autoCompactWindow`](/docs/en/settings-reference#autocompactwindow) is a default too. The `--autocompact` flag and the `CLAUDE_CODE_AUTO_COMPACT_WINDOW` variable still set the [auto-c…managed-settingssee 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 doubtIt is not shown whether the top-level setting was already read in the same way before.
Anthropic's documentation agreesA small documentation edit on Deploy managed settings touched a line naming autoCompactWindow after this was published.
Anthropic's release notes agreeChanged /autocompact to save the auto-compact window per model, so each model keeps its own setting when you switch