Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Auto ModeArea: what it touches
Internal ChangesKind: in v2.1.278,
Internal ChangesSection of the release
Unclear The finding doesn't say what consumes this captured hostname, only that it's produced in this specific case.
What
A new helper function returns the hostname from ANTHROPIC_BASE_URL in the specific case where the session is still classified as first-party but the base URL isn't api.anthropic.com, and no unix socket is in use.
Why
This appears to support telemetry or diagnostics around proxy or gateway hosts that don't match Anthropic's usual API address, likely to help identify unrecognized custom endpoints.
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.
Added sinceA small documentation edit on Escalate hard decisions with the advisor tool touched a line naming ANTHROPIC_BASE_URL after this was published.* **Anthropic API only**: the advisor is a server-executed tool. It is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, or Microsoft Foundry. Through an [LLM gateway](/docs/en/llm-gateway) configured …advisorsee the edit
Confirmed sinceAnthropic's documentation has since written up ANTHROPIC_BASE_URL, on Connect Claude Code to an LLM gateway.| `400` errors naming `thinking` or `adaptive`, such as `Input tag 'adaptive' found` | The upstream model build doesn't accept adaptive reasoning, which Claude Code requests for Claude 4.6 and later models | Upgrade the gateway's upstream.…llm-gateway-connectsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding doesn't say what consumes this captured hostname, only that it's produced in this specific case.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_BASE_URL, on Connect Claude Code to an LLM gateway.