You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
What
A remote session is one running on a server rather than on your computer. When it picks the address to send requests to, Claude Code checks these environment variables (named values set outside Claude Code) in this order:
Before, ANTHROPIC_BASE_URL came first. When both of the first two are set, the session ingress address now wins.
Why
Remote or cloud sessions that set both variables may now send their traffic to a different address than before. If you rely on ANTHROPIC_BASE_URL to route through a proxy there, check which address is used.
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_BASE_URL, on Deploy managed settings.If you set a provider or `ANTHROPIC_BASE_URL`, [check the fetch outcome on a machine](https://code.claude.com/docs/en/server-managed-settings.md#verify-settings-delivery) to see whether Claude Code skips this sourcemanaged-settingssee the edit
Added sinceA small documentation edit on Feature availability touched a line naming ANTHROPIC_BASE_URL after this was published.> If you authenticate through an [LLM gateway](https://code.claude.com/docs/en/llm-gateway), feature availability matches the underlying provider the gateway forwards to, except for the features Claude Code itself turns off. Whenever `ANTH…feature-availabilitysee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on Feature availability touched a line naming ANTHROPIC_BASE_URL after this was published.
Anthropic's release notes agreeFixed /model listing the wrong models in some terminal sessions when a project's .claude/settings.json sets ANTHROPIC_BASE_URL to an LLM…