What
If you use Claude through Amazon Bedrock, Google Cloud's Agent Platform (Vertex), Bedrock Mantle or Microsoft Foundry, you can point Claude Code at a custom address, for example an LLM gateway. Several changes affect how those addresses are used.
- Setup checks: the Bedrock and Vertex identity checks now run a precheck first and return its error if there is one.
- Bedrock sign-in: when
AWS_BEARER_TOKEN_BEDROCKis not set, the Bedrock client now prefers the sigv4 signing method (authSchemePreference: ["sigv4"]). - Custom addresses in access checks: the Bedrock and Vertex clients and access checks now apply options built from
ANTHROPIC_BEDROCK_BASE_URLandANTHROPIC_VERTEX_BASE_URL, and set the base URL for Bedrock. - Shared address table: each provider now has an address entry in one table (
ANTHROPIC_VERTEX_BASE_URL,ANTHROPIC_BEDROCK_BASE_URL,ANTHROPIC_BEDROCK_MANTLE_BASE_URL,ANTHROPIC_FOUNDRY_BASE_URL). Theinference.baseUrlentries for Mantle and Foundry now read from it. - Safety checks for organization-set addresses: Claude Code refuses to send a request to an address your organization set in the admin console in three cases. These are when the address is plain http through a proxy, when managed settings cannot be read, or when the sign-in changed during the session. The message begins "Claude Code did not send this request. It was for the address that your organization set in the admin console".
Why
Setup and model-access checks now go to the same custom address or gateway as your real requests, so they give more consistent results behind proxies. Addresses set by your organization are protected against being used insecurely or after the sign-in has changed. If a request is refused, the message says why.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed /setup-bedrock failing to verify a profile or key pair when AWS_BEARER_TOKEN_BEDROCK is set but empty