Skip to content
← Back to release · 2.1.278
Improvements / v2.1.278

Server-side auto mode classifier by default

CHANGELOG · original

Changed auto mode for Claude API and Enterprise users, and on Bedrock, Vertex, Foundry and gateways, to default to the server-side classifier, which does not charge for classifier overhead (CLAUDE_CODE_AUTO_MODE_SERVER=0 opts out on Bedrock, Vertex, Foundry and gateways); warns on billed fallback. See https://code.claude.com/docs/en/auto-mode-classifier-billing
Open official changelog ↗

Documentation

Documentation excerpt

Server-side classifier review

On Enterprise plans and accounts that use the Claude API, on Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, and whenever you point ANTHROPIC_BASE_URL at an LLM gateway or proxy, Claude Code in auto mode asks the server to review the actions that go to the classifier as part of the session's model requests. Where the server reviews them, its verdicts decide those actions. Where it doesn't, most often because an LLM gateway or proxy interferes with the traffic, or because the platform, region, or credential doesn't have server-side checks yet, Claude Code falls back to its own classifier requests, and once that fallback holds for the rest of the session it shows a notice about classifier request charges on accounts where those requests are billed. To skip asking the server and always use Claude Code's own classifier requests, set CLAUDE_CODE_AUTO_MODE_SERVER=0. The variable isn't read on a direct connection to the Anthropic API. If you set CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 and leave CLAUDE_CODE_AUTO_MODE_SERVER unset, Claude Code also stops asking the server.

Asking the server by default requires Claude Code v2.1.278 or later.

Documentation snapshot · 2026-09-23

Change details