Unclear It is not stated which parts of Claude Code use this test, so it is unclear what changes for gateway users.
What
A gateway is a service your company may place between Claude Code and the model, to handle sign-in and traffic. Claude Code has a new way of deciding whether you are using one. It counts you as a gateway user if any of these is true:
- You hold an active gateway sign-in.
- Your provider is set to gateway.
- A custom check passes on
ANTHROPIC_AUTH_TOKEN, the variable that sets the value sent in theAuthorizationheader.
At least one other place that checked only for the gateway provider now uses this wider test.
Why
This affects how Claude Code recognizes gateway users, both in what it shows and in how it signs you in.
Names in the bundleANTHROPIC_AUTH_TOKEN
ANTHROPIC_AUTH_TOKEN
Configuration reference modified, high confidence
> * **Credentials:** have the launcher supply an inference credential, such as `ANTHROPIC_AUTH_TOKEN`, and have it keep `ANTHROPIC_BASE_URL` or set your gateway's. Without them, replies can fail.see the edit
ANTHROPIC_AUTH_TOKEN
Manage Claude Code in the terminal from the Enterprise Admin Console modified, high confidence
Claude Code doesn't start a session that has `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, or `apiKeyHelper` on a computer that sets `forceLoginOrgUUID`. If your managed settings set `apiKeyHelper`, remove it from them too. A gateway on you…see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not stated which parts of Claude Code use this test, so it is unclear what changes for gateway users.
Anthropic's documentation agrees
ANTHROPIC_AUTH_TOKEN on Configuration reference