subagentic.ai RSS X YouTube GitHub
AI-generated illustration

News

Claude Code moves auto-compact to near 400K on most 1M models

Claude Code 2.1.334 changes auto-compact’s per-model auto setting to near 400K on most current 1M models, including -p and SDK runs. A new /config row shows and changes that size.

claude-codeanthropiccontext-windowauto-compact

Claude Code 2.1.334, published December 1, 2026, changes auto-compact’s per-model auto setting to near 400K on most current 1M models. The release notes say the same change covers -p and SDK runs, not only an interactive session.

The changelog calls it a rollout. It is on now with third-party providers, or when telemetry is off. Otherwise it is still rolling out. The entry points readers to /autocompact.

What changes is when a session is summarized, not how. On December 2, Lydia Hallie (@lydiahallie) replied that it “still summarizes the same way, just earlier in the session,” and that “the cache gets rebuilt right after for the shorter history.” She also pointed to docs on what is kept after compaction.

This build adds a control for the threshold. An Auto-compact window row in /config shows and changes the size that /autocompact sets. The release notes do not list the values that row accepts, so the command and the config row are what to check if you need a size other than the new auto setting.

Two smaller additions sit in the same release. /model gets a search box when the list has more than 25 models, matching names and model IDs. On Windows Arm, /desktop and claude --desktop are now available.

If you run long sessions on a 1M model, expect the auto setting to compact sooner, including in -p and SDK runs once the rollout reaches you. It is already on if you use a third-party provider or have telemetry off. After you install 2.1.334, open /config, read the Auto-compact window row, and run /autocompact before a long session so you know the size this build will use.

Sources