Claude Code 'No Longer Charge for Classifier Requests': Why This Session Isn't Eligible
Claude Code says auto mode will stop charging for classifier requests, then tells you this session isn't eligible. You're paying for safety checks other sessions get free, usually because a gateway drops them. Who is billed, the fix, and why since 2.1.319 some gateway sessions ask you to approve actions instead.
"We're changing auto mode to no longer charge for classifier requests in Claude Code. However, this session isn't eligible" means Anthropic's free, server-side safety checks aren't reaching your session, so Claude Code runs its own classifier requests and bills them as token usage, exactly as before. Nothing is broken. The usual cause is an LLM gateway or proxy that drops the safety fields; the fix is to make it pass them through, then start a new session. Since Claude Code 2.1.319, some sessions get a different message instead, "Auto mode can't check actions in this session", and approve or deny actions rather than paying for a fallback.
Last reviewed 10 November 2026, against Claude Code 2.1.322. The notice text below is unchanged from 2.1.296 to 2.1.322; I checked both builds, downloaded from npm into a throwaway folder and searched without running them.
This is the notice, in its two forms:
We're changing auto mode to no longer charge for classifier requests in Claude Code.
However, this session isn't eligible because your requests go through a LiteLLM gateway,
which isn't compatible with this update.
Nothing breaks: auto mode keeps working, and its classifier requests are billed as before.
To fix it and access the new version of auto mode, ask your gateway to implement:
https://code.claude.com/docs/en/auto-mode-classifier-billingWe're changing auto mode to no longer charge for classifier requests in Claude Code.
However, this session isn't eligible.
Nothing breaks: auto mode keeps working, and its classifier requests are billed as before.
If this keeps happening, contact support or your company's admin:
https://code.claude.com/docs/en/auto-mode-classifier-billingThe first appears when the CLI can tell which gateway sits in the way, and names it. The second appears when it can't.
In the desktop app, when the app itself turned the gateway check on, the 2.1.322 build has gentler wording for the same situation: Auto mode switched to its built-in safety check for this session, followed by "You can keep working. The built-in check reviews actions before they run. It sends extra requests to Claude, which are paid for like the rest of your work."
What I checked
I first downloaded Claude Code 2.1.296, the latest release on npm when I wrote this in October, and read the notice straight out of the program: both wordings above, the conditions that show it, and the gateway names it can print. Then I checked each point against Anthropic's billing page, its permission modes reference and gateway compatibility guide, and LiteLLM's notes on fixing their gateway. I didn't trigger the notice on a live account, so nothing below depends on a bill I've seen. On 10 November I repeated the check on 2.1.322: the notice, the eight gateway names and the 24-hour reminder are unchanged, and the new 2.1.319 messages are quoted from that build.
Does Claude Code auto mode use more tokens?
Only when the safety check falls back. If Anthropic's server reviews actions inside your normal model requests, Claude Code auto mode adds no separate classifier charge. If Claude Code makes its own classifier requests instead, each check costs extra tokens on Enterprise, Claude API and cloud-provider accounts.
In auto mode, a second model, the classifier, reviews shell commands and network actions before they run, instead of asking you. Reads and edits inside your working directory skip it.
Who pays for those reviews, and what Claude Code auto mode costs you, depends on where the check runs:
| Where the check runs | Extra classifier charge? | /status → Auto mode server |
|---|---|---|
| Anthropic's server, inside your normal model requests | No. There are no separate classifier calls | Enabled |
| Claude Code's own classifier requests (the fallback) | Yes, on token-billed accounts: Enterprise, Claude API, and the cloud providers | Disabled |
| Requested, but the server's review isn't getting through | Billed fallback on Bedrock, Vertex and Foundry, and where telemetry and feature flags are on; approvals or denials where either is off (2.1.319+) | Not reaching this session |
| Either, on a Pro, Max, Ultra or Team plan | No billing notice on these plans | n/a |
Anthropic's docs describe the fallback's cost plainly: each check "sends a portion of the transcript plus the pending action," and "the overhead comes mainly from shell commands and network operations." So a session that runs a lot of shell commands in auto mode is the one where the fallback costs you most. To put a number on one of those checks, an LLM cost calculator prices a request from the model and its token count; multiply by the shell and network commands in a typical session. The docs give no per-check token figure, so treat the result as an estimate.
The server-side checks are the new part. The CLI started asking the server for them by default in versions 2.1.271 to 2.1.281, depending on how you connect, per Anthropic's server-side review docs, and LiteLLM's notes date Anthropic's rollout to September 18, 2026. The notice exists to tell you when that free path isn't working for you.
Why does Claude Code say this session isn't eligible?
Claude Code shows "this session isn't eligible" when Anthropic's free server-side checks can't reach it. Usually an LLM gateway drops the safeguards request field or the safeguard_results reply. Less often, your platform or region simply hasn't been rolled out yet.
There are two causes, and the notice's wording tells you which one you're more likely to have.
1. A gateway or proxy is dropping the safety fields. This is the common cause. Server-side review works by sending an extra field with each request, safeguards, and reading the verdicts back from a safeguard_results field in the reply. A gateway that only forwards the fields it already knows about, rewrites requests, or edits responses breaks that round trip. The server never sees the request for checks, or the CLI never sees the answer, so it falls back.
When Claude Code can identify the gateway, it names it. If your ANTHROPIC_BASE_URL points anywhere other than an anthropic.com address, the 2.1.296 and 2.1.322 builds print that host, for example your requests go through llm.internal.example.com. It also has wording for eight gateway products it can recognise:
- a LiteLLM gateway
- a Helicone gateway
- a Portkey gateway
- Cloudflare AI Gateway
- a Kong gateway
- a Braintrust proxy
- a Bifrost gateway
- a Databricks gateway
2. Your platform, region or credential doesn't have server-side checks yet. Anthropic says availability "depends on that platform's rollout." If you see the short version of the notice, with no gateway named and no gateway in your setup, this is the likely cause. There's nothing to fix on your side. Report it with /feedback or ask your admin.
How do I check if my session gets free server-side checks?
In a session that's in auto mode, run:
/statusLook for the Auto mode server row. Enabled means the server's checks are deciding your actions, at no classifier charge. Disabled means the session has fallen back to Claude Code's own classifier requests. Since 2.1.319 there's a third value, Not reaching this session, followed by a link to Anthropic's server-side review docs. Before that release, /status could show Enabled behind a gateway that silently dropped the review, so if you checked this row on an older version, check it again.
It's the quickest way to confirm a gateway fix worked: start a new session after the change and check the row says Enabled.
How do I fix "this session isn't eligible"?
Make the gateway pass traffic through unchanged, then start a new session. The fix lives in the gateway, not in Claude Code. Anthropic's gateway compatibility guide asks gateways to treat headers and body fields "as open lists, not closed ones":
- Forward request headers and body fields as they are, including ones the gateway doesn't recognise, such as
safeguards, and theanthropic-betaheader verbatim. Don't allowlist the values you've seen so far. New Claude Code releases add new ones. - Return responses and streaming events without dropping keys, such as
safeguard_results, and without rewriting tool-use IDs. - Don't cut streams short. If the review results arrive late or mangled, you get a different, more disruptive error. More on that below.
If you run LiteLLM, this is a known, fixed bug: its /v1/messages route silently dropped the safeguards field, while the /anthropic/v1/messages pass-through route was unaffected. According to LiteLLM's notes:
- Fixed versions: v1.104.0, with backports in v1.99.3, v1.100.2, v1.101.1, v1.102.1 and v1.103.2. No configuration needed.
- Bedrock behind LiteLLM: point Claude Code at a
bedrock/<inference profile>deployment, not the Converse route. - Beta header involved:
dangerous-tool-use-2026-09-03.
For other gateways, send your admin or vendor the compatibility guide. That's the link the notice itself points to.
Once the gateway passes traffic through, new sessions use the server's checks again. A running session that has already fallen back stays on the fallback.
What happens when I press Enter or Esc on the notice?
At an interactive prompt, the notice holds the first action it would have checked until you answer:
- Enter continues. That action and the rest of the session use the CLI's own classifier requests, billed as before, and the notice won't appear again in that session. If the notice named a gateway, acknowledging it also keeps it away on this machine for 24 hours. If it didn't name one, it comes back the next time a session falls back.
- Esc or Ctrl+C cancels. The held action doesn't run and the turn stops, still in auto mode. Nothing is remembered, so you'll see the notice again before the next checked action.
The 24-hour window isn't only in the docs. The 2.1.296 build stores when you acknowledged it and shows the notice again once a full day has passed.
In non-interactive runs (claude -p), the notice goes to stderr and the run continues. In stream-json output it arrives as a system warning message, which an Agent SDK app can read from the stream. If you parse CI logs for unexpected stderr, expect this line.
What does "Auto mode can't check actions in this session" mean?
"Auto mode can't check actions in this session" means Claude Code 2.1.319 or later couldn't run the server-side safety check for this session and has no billed fallback, so each action that needs the check asks for your approval or is denied. It applies to sessions with telemetry or feature flags off, including behind LLM gateways. Bedrock, Vertex (Google Cloud's Agent Platform) and Foundry keep the billed fallback. Other sessions that fall back also keep it, per Anthropic's billing docs, and still get the notice above. The changelog entry reads: "calls the server can't check are asked about or denied, with no fallback to the built-in classifier; set CLAUDE_CODE_AUTO_MODE_SERVER=0 to keep using it (Bedrock, Vertex and Foundry are unchanged)." So instead of the billing notice and billed checks, you see this, quoted from the 2.1.322 build:
Auto mode can't check actions in this session
Auto mode's safety check runs on the server. Your requests go through <your gateway>, and the check isn't getting through.
You can stay in auto mode and approve each action that needs the check yourself.Without a recognized gateway, the second line reads "Auto mode's safety check runs on the server, and it isn't running for this session." Individual prompts then say Auto mode can't check actions in this session, so this one needs your approval or Auto mode couldn't check this action, so it needs your approval.
The dialog also offers to leave for accept edits mode, which has no safety check at all, and it states the cause. The causes it can name in 2.1.322:
| The message says | What to do |
|---|---|
| Your requests go through a gateway "which doesn't pass it through" | Fix the gateway, as below |
| The check "needs experimental betas, which are turned off here" | Remove CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, then start a new session; if your organization's policy sets it, ask your admin |
CLAUDE_CODE_AUTO_MODE_SERVER "turns that check off here" | Set it to 1 or remove it, then start a new session |
| The permission rules and auto mode settings "are too large to send" | Shorten your deny and ask rules and the autoMode lists to "under about 1 MB in all", as the message puts it |
| "Anthropic has turned it off for now" | Nothing; "the check comes back on its own" |
Two more 2.1.319 changes matter if you run a gateway. CLAUDE_CODE_AUTO_MODE_SERVER=1 now turns the server-side check on behind a gateway even when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS is set (if managed settings set the latter, they must set the 1 as well). And a project's settings files or a plugin can no longer switch the server-side check back on once you've switched it off outside the project.
If you use the new permissions.denyInsteadOfPrompting setting, which denies anything that would wait on a prompt, note what the 2.1.322 build says about the billing notice: "Calls that need the classifier are denied until permissions.denyInsteadOfPrompting is off and the notice is answered." An unattended session that falls back stays blocked until someone answers.
Does CLAUDE_CODE_AUTO_MODE_SERVER=0 stop the classifier charges?
No. It hides the notice but doesn't cut the bill.
Setting CLAUDE_CODE_AUTO_MODE_SERVER=0 stops Claude Code requesting server-side checks:
export CLAUDE_CODE_AUTO_MODE_SERVER=0That tells the CLI not to ask the server for checks at all. Every classifier request is then its own, billed the same way, and the notice has nothing to warn about. LiteLLM's notes say it bluntly: the variable only hides the notice, and you keep paying for classifier requests until the gateway is fixed.
Use it when you already know your gateway can't carry the checks and you want quiet logs. Three things to know before you rely on it:
- On a direct connection to the Anthropic API, it needs version 2.1.281 or later.
- Anthropic calls it "a temporary setting" that "may be removed in a later release." The 2.1.322 build already carries the message for that day: in one case it says
CLAUDE_CODE_AUTO_MODE_SERVERturns the check off and "Claude Code no longer has a check of its own to use instead." Don't build a long-term setup on=0. CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1, which some gateway setups use to avoid400errors, also turns the server's checks off whileCLAUDE_CODE_AUTO_MODE_SERVERis unset. If you set that variable months ago, it may be why you're not eligible.
How do I turn off the auto mode classifier?
Leave auto mode. The classifier only runs in auto mode, so pressing Shift+Tab to switch permission modes, and approving actions yourself, is the only way to stop it reviewing your commands. CLAUDE_CODE_AUTO_MODE_SERVER=0 doesn't turn the classifier off; it only moves the checks from Anthropic's server to billed classifier requests.
If what you actually want is to stop paying for classifier checks, the options are making the gateway pass traffic through, connecting directly, or leaving auto mode.
How is this different from "gave no verdict"?
A gateway can break server-side review in two ways, and they look very different:
- The review request or results go missing entirely → the CLI quietly falls back and shows this billing notice. Your actions still run.
- The results arrive truncated or in a form Claude Code can't read → it refuses to run the action unreviewed, and you get "The server-side auto mode classifier gave no verdict", and the turn stops after ten consecutive no-verdict denials.
If you're seeing denials rather than a notice, read Claude Code auto mode "gave no verdict" instead. Both trace back to the same rule: the gateway has to pass traffic through unchanged. And if you'd rather not run auto mode at all, the auto mode guide shows how to turn it off for one session or for good.
Quick reference
| You see | It means | Do this |
|---|---|---|
| Notice naming a gateway (LiteLLM, Portkey, Kong…) | The gateway drops safeguards or safeguard_results | Upgrade or reconfigure the gateway to pass fields through; LiteLLM v1.104.0+ |
| Notice naming your own proxy's hostname | Same: your ANTHROPIC_BASE_URL gateway drops the fields | Send the admin the gateway compatibility guide |
| Short notice, no gateway in your setup | Server-side checks haven't reached your platform or region | Nothing to fix; /feedback if it persists. With telemetry off on 2.1.319+, see the next rows |
/status → Auto mode server: Disabled | This session is on billed fallback checks | Fix the cause, then start a new session |
/status → Not reaching this session | The server's review is requested but not getting through | Same: usually the gateway; fix it and start a new session |
| "Auto mode can't check actions in this session" | 2.1.319+: no billed fallback for this session; actions ask or are denied | Fix the cause the message names, or CLAUDE_CODE_AUTO_MODE_SERVER=0 (built-in classifier, billed on token-billed accounts) for now |
You set CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 | That also switches server checks off | Remove it once your gateway passes beta fields through |
| You just want the notice gone | Same billing either way | CLAUDE_CODE_AUTO_MODE_SERVER=0 (same billing, temporary setting) |
What changed recently?
| Version | Change |
|---|---|
| 2.1.296 | Notice wording as quoted above, with eight recognized gateways and the 24-hour reminder |
| 2.1.319 | Sessions with telemetry or feature flags off, including behind LLM gateways: actions the server can't check are asked about or denied, no billed fallback (Bedrock, Vertex and Foundry unchanged) |
| 2.1.319 | /status no longer shows Enabled when the review isn't reaching the session; new Not reaching this session value |
| 2.1.319 | CLAUDE_CODE_AUTO_MODE_SERVER=1 works behind a gateway even with experimental betas off; project settings and plugins can't switch the check back on |
| 2.1.319 | Help links in /status and in this notice no longer break when they wrap |
| 2.1.322 | Notice text unchanged; checked in the build |
Key takeaways
- The auto mode classifier billing notice means the free server-side safety checks aren't reaching your session, so the CLI runs its own classifier requests, billed as token usage as before. Nothing breaks.
- Fallback classifier calls are billed on Enterprise plans, Claude API accounts, Claude Platform on AWS, Bedrock, Google Cloud's Agent Platform and Foundry. Pro, Max, Ultra and Team plans never see the notice.
- Since 2.1.319, sessions with telemetry or feature flags off, including behind LLM gateways, get 'Auto mode can't check actions in this session' instead: actions ask or are denied, with no billed fallback. Bedrock, Vertex and Foundry are unchanged.
- The usual cause is an LLM gateway that drops the safeguards request field or the safeguard_results reply. Versions 2.1.296 and 2.1.322 print your base URL's host, or one of eight gateway products they recognise.
- Run /status: Auto mode server Enabled means free server checks, Disabled means billed fallback, Not reaching this session means the review is being dropped. Fix the gateway (LiteLLM v1.104.0 or a listed backport), then start a new session.
- CLAUDE_CODE_AUTO_MODE_SERVER=0 hides the notice but keeps the same billing, and it's documented as temporary; the 2.1.322 build already has a message for when there's no built-in check left.
FAQ
Frequently asked questions
What does 'this session isn't eligible' mean in Claude Code auto mode?
In auto mode, a classifier reviews shell commands and network actions before they run; reads and edits inside your working directory skip it. Anthropic's servers can now do that check for free as part of your normal model requests. The notice means those server checks aren't reaching your session, so Claude Code is making its own classifier requests instead, billed as token usage the way they always were. Auto mode keeps working. The usual cause is an LLM gateway or proxy between Claude Code and the API.
Does Claude Code auto mode use more tokens?
It depends on where the safety check runs. When Anthropic's server reviews actions as part of your model requests, there are no separate classifier calls to pay for. When the check falls back to Claude Code's own classifier requests, each check sends part of the transcript plus the pending action, and on Enterprise plans, Claude API accounts, Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry those calls count toward token usage. Reads and edits inside your working directory skip the classifier, so the overhead comes mainly from shell commands and network operations.
Does CLAUDE_CODE_AUTO_MODE_SERVER=0 stop the classifier charges?
No. It stops Claude Code asking the server for checks, so the notice disappears, but every classifier request is then Claude Code's own and billed the same way. LiteLLM's own notes on this change say the same: the variable only hides the notice. It's the right setting when you know your gateway can't pass the checks through, not a way to save tokens.
How do I check whether my session gets free server-side checks?
Run /status at the Claude Code prompt while the session is in auto mode. The Auto mode server row reads Enabled while the server's checks decide your actions, Disabled once the session has fallen back to Claude Code's own classifier requests, and, since 2.1.319, 'Not reaching this session' when the server's review is requested but isn't getting through, for example because a gateway drops it.
How do I turn off the auto mode classifier in Claude Code?
The classifier only runs in auto mode, so the way to turn it off is to leave auto mode: press Shift+Tab to switch permission modes and approve actions yourself. CLAUDE_CODE_AUTO_MODE_SERVER=0 doesn't turn the classifier off. It only stops Claude Code asking Anthropic's server to run the checks, so they run as billed classifier requests instead.
Do Pro, Max, Ultra or Team users see the auto mode classifier billing notice?
No. Anthropic's docs say Pro, Max, Ultra and Team plans never show it. It appears on accounts where classifier requests are billed as token usage, such as Enterprise plans, Claude API keys and the cloud providers.
What does 'Auto mode can't check actions in this session' mean?
It's the message Claude Code shows since 2.1.319 when auto mode's server-side check can't run and there is no billed fallback for the session, with telemetry or feature flags off, including behind LLM gateways (Bedrock, Vertex and Foundry are unchanged). Actions that need the check then ask for your approval, or are denied. Fix the cause the message names, usually a gateway that doesn't pass the check through, or set CLAUDE_CODE_AUTO_MODE_SERVER=0 to go back to the built-in classifier, whose requests count as token usage on token-billed accounts; Anthropic calls that variable a temporary setting.
If your gateway is also a TLS-inspecting company proxy, the same "something in the middle changed the traffic" problem causes Claude Code's SSL certificate errors. To see where the rest of your tokens go, read why Claude Code uses so many tokens, and for every other message, the Claude Code troubleshooting index. On Google Cloud, the gateway is often not the problem at all: see Claude Code on Google Cloud returning model not found. I help teams roll out Claude Code behind enterprise gateways and proxies. See recent projects.
References
- Auto mode classifier request charges (Claude Code docs)code.claude.com · accessed 2026-11-10
- Choose a permission mode: server-side classifier review (Claude Code docs)code.claude.com · accessed 2026-11-10
- Claude Code gateway compatibility guide (Claude Code docs)code.claude.com · accessed 2026-11-10
- Claude Code server-side auto mode (LiteLLM blog)docs.litellm.ai · accessed 2026-11-10
- @anthropic-ai/claude-code 2.1.296 (npm registry record)registry.npmjs.org · accessed 2026-10-12
- @anthropic-ai/claude-code-linux-x64 2.1.322 (npm)npmjs.com · accessed 2026-11-10
- Claude Code changelog (2.1.319 to 2.1.322)github.com · accessed 2026-11-10
Last reviewed November 10, 2026
Tahir Nazir
Senior AI Engineer & Full-Stack Lead
5+ years shipping AI-powered products — RAG pipelines, agentic workflows, and MCP tooling. Top Rated on Upwork with a 100% job success score.
More about Tahir →Related articles
Claude Code Auto Mode Is Now the Default: Turn It Off, or Keep It
Claude Code now starts in auto mode: 'Auto mode is now Claude Code's default permission mode.' What auto mode does, how to turn it off with permissions.defaultMode or Shift+Tab, how it compares with accept edits, plan and bypass permissions, and what each 'auto mode unavailable' message means.How-toAI Engineering22 min readClaude Code 'Auto Mode Check Unavailable' or 'Classifier Unavailable'? 4 Fixes
Bash, Edit and MCP calls all refused while Read still works. The auto mode safety check failed, not your command. What the error means, why it stops after ten, and four fixes from Anthropic's own docs.TroubleshootingAI Engineering16 min readClaude Code Not Working? Every Error and Its Fix
Every Claude Code error I've written up, grouped by what actually broke: network and enterprise setup, cost and context limits, or setup and tools. Find your exact message in the lookup table, get the one-line answer, then follow the link to the full fix.TroubleshootingAI Engineering21 min read
Follow along
New posts land here first. Follow along by RSS, or get in touch if you are building something similar.