Claude Code 2.1.334 moves auto-compact to near 400K on 1M models and adds a /model search box
Claude Code 2.1.334 changes auto-compact's per-model automatic setting to near 400K tokens on most current 1M-context models, in -p and SDK runs too. The release notes say it is rolling out, and is already on with third-party providers or telemetry off; /autocompact shows the setting. /config gains an "Auto-compact window" row to see and change the size.
Other additions:
/model: a search box appears when the list has more than 25 models, matching names and model IDs./code-review: local reviews also followREVIEW.mdfiles in folders above a committed change.- Windows on Arm:
/desktopandclaude --desktopnow work. - Gateway and pricing:
modelPricinggainscacheWrite5mandcacheWrite1h(andlongPromptfor Haiku 5.5), with matchingcache_write_5m,cache_write_1handlong_promptkeys in gatewaypricing.overrides; old keys still work.claude gateway --config <file> --check configvalidates a config without starting. - Self-hosted runner:
--health-host 127.0.0.1for the orchestrator's health and metrics pages; calls now end after 60 seconds by default. - Mods:
placement: "full"and ClientautoFocuslet a mod's pane fill the terminal in fullscreen mode.
Behavior changes to check:
- Grep applies fewer ignore files in some sessions, so it can show files that were hidden before.
- Managed PostToolUse hooks now get an error when a tool can't use a rewrite; return the tool's own output shape to keep the rewrite.
--system-promptwith aSYSTEM_PROMPT_DYNAMIC_BOUNDARYline on Bedrock, Agent Platform, Foundry, gateways or with experimental betas off gives the text above it its own cache breakpoint.- The account email check now also refuses the git email as a client's identity; the Privacy plugin can be disabled to stop it.
The release also lists well over a hundred fixes, including worktree branch handling, Code Mode, MCP servers' CPU and memory use, Vim mode, plugins, and many VS Code (new look), Claude Code on the web, Remote Control and Claude Tag items.
Sources
- v2.1.334claude
Get news like this as a push.
AI Tracker alerts you when something changes for the tools you use.