Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.265,
Internal ChangesSection of the release
What
Before using the Cloud gateway as its provider, Claude Code now checks three things instead of one: that the route is actually set to gateway, that there's no gateway authentication, and that no gateway server process is running. Previously it only checked a single administrator-policy condition.
The error message shown when not signed in now reads: "Not signed in to the Cloud gateway - run /login. (With CLAUDE_CODE_USE_GATEWAY, set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN.)" — pointing to those environment variables as an escape hatch. It also now shows a distinct error when credentials are managed by the desktop app instead.
Why
This gives a more accurate check for whether the Cloud gateway is actually usable, and a clearer error message that tells users how to work around a sign-in problem using environment variables, or explains that their desktop app is managing credentials instead.
Since it was published
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up ANTHROPIC_AUTH_TOKEN, on Connect Claude Code to an LLM gateway.* **Amazon Bedrock, Google Cloud's Agent Platform, or Claude Platform on AWS**: add `ANTHROPIC_AUTH_TOKEN` after the block. Claude Code sends it to the gateway as an `Authorization: Bearer` header. For a credential in a different scheme or…llm-gateway-connectsee the edit
Confirmed sinceAnthropic's documentation has since written up ANTHROPIC_BASE_URL, on Claude Code changelog.* Fixed every turn failing with HTTP 400 on third-party Anthropic-compatible endpoints (`ANTHROPIC_BASE_URL`) since 2.1.265: a regex in the Artifact tool's input schema that those endpoints rejectchangelogsee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_BASE_URL, on Claude Code changelog.
Anthropic's release notes agreeFixed /login showing "no gateway URL is configured" when re-run in a session that signed in to a Claude apps gateway set by managed settings