AI TrackerGet the app
← All news
AnthropicCoding

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 follow REVIEW.md files in folders above a committed change.
  • Windows on Arm: /desktop and claude --desktop now work.
  • Gateway and pricing: modelPricing gains cacheWrite5m and cacheWrite1h (and longPrompt for Haiku 5.5), with matching cache_write_5m, cache_write_1h and long_prompt keys in gateway pricing.overrides; old keys still work. claude gateway --config <file> --check config validates a config without starting.
  • Self-hosted runner: --health-host 127.0.0.1 for the orchestrator's health and metrics pages; calls now end after 60 seconds by default.
  • Mods: placement: "full" and Client autoFocus let 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-prompt with a SYSTEM_PROMPT_DYNAMIC_BOUNDARY line 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.

Get news like this as a push.

AI Tracker alerts you when something changes for the tools you use.

Get the app