Dev tools

Claude Code 2.1.278 stops charging for auto-mode safety checks on Claude API and Enterprise plans

September 18, 2026 at 9:20 PM PT

Claude Code auto mode safety check billing change

Why it mattersTeams that keep coding agents in auto mode were paying for extra classifier calls on every shell command and network request; that cost is gone for API and Enterprise plans on a direct path to Anthropic, and Claude Code shows in `/status` whether the current session is eligible.

Anthropic released Claude Code v2.1.278 on 19 September. In auto mode, the tool used to run a small classifier request against each shell command or network request it was about to make, and those requests counted as token usage on the bill. The new default sends those safety checks with the session's own model request, and Anthropic says the server does not charge for them.

What changed by default

Auto mode in Claude Code checks each action against a safety classifier before it runs. Until this release, the classifier ran as its own model call that was billed like any other call, so a session that made many small tool actions paid for a matching number of classifier requests.

Version 2.1.278 asks the server to run those checks as part of the same request that decides the action, and Anthropic says the server does not charge for that work. The default applies to Claude API accounts, Enterprise plans, Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and the Claude apps gateway. Pro, Max, and Team plans were never billed for classifier requests, so they see no change.

To check a live session, run /status. A new Auto mode server row reads Enabled when the server is running the checks and Disabled when the session has fallen back to Claude Code's own classifier calls.

When a session still pays

The server-side path only works if the request and reply reach Anthropic unchanged. An LLM gateway or proxy that strips headers, drops request fields it does not recognise, or edits streaming events can break it, and so can a platform, region or credential where Anthropic has not rolled the feature out yet. In either case Claude Code falls back to its own classifier requests, which are billed as before, and shows a one-time notice at the prompt naming the gateway when it can identify one.

The fallback is per session, not per action. Once the notice appears and the user presses Enter, Claude Code stops asking the server for checks for the rest of that session and does not show the notice again on the same machine for 24 hours. A single action the server could not check does not trip the notice; the tool handles that action locally and asks the server again on the next request.

On Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and signed-in Claude apps gateway sessions, only Claude Sonnet 5, Opus 4.7 or later, and the Fable models support auto mode at all.

The opt-out and the environment variable

Teams that run through a gateway they know cannot pass the request through can set CLAUDE_CODE_AUTO_MODE_SERVER=0 in the shell or in the env settings key before starting a session. Claude Code then never asks the server for checks, uses its own classifier calls, and does not show the notice. Anthropic notes in the documentation that this variable is temporary and may be removed in a later release. The variable is ignored on a direct connection to the Anthropic API.

For gateway operators, Anthropic's LLM gateway protocol reference lists what a gateway has to pass through unchanged for the feature to keep working, including the safeguards request field and the safeguard_results field on streaming events. A gateway that forwards headers and body fields verbatim, and does not rewrite tool-use IDs, keeps auto mode on the no-charge path.

Source

Source: Anthropic

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

Claude Code 2.1.277 reads AGENTS.md when a project has no CLAUDE.md

Anthropic released Claude Code v2.1.277 on 18 September at 18:06 UTC. In a project with no CLAUDE.md, Claude Code now reads AGENTS.md instead, the file OpenAI Codex and other agents already use for project instructions.

Source: GitHubDev tools

Claude Code 2.1.275 syncs skills from claude.ai to the terminal and stops plugin install scripts from running

Anthropic released Claude Code v2.1.275 on 17 September at 22:33 UTC. The release syncs skills and plugins enabled on a claude.ai account to any signed-in terminal session, adds a plugin install command that first offers to add the marketplace, and fetches plugins from npm with install scripts disabled.

Source: GitHubDev tools

Anthropic redesigns Claude Code Projects with a coordinator that splits a goal across parallel threads, and warns each thread counts as its own session

The New Stack reports that Anthropic is rolling out a redesigned Claude Code Projects in beta on Pro and Max plans, with a coordinator that breaks an engineering goal into parallel threads, shared memory across them, and the warning that each thread counts as a full Claude Code session against usage limits.

Source: PressDev tools