Wrong Bedrock URL for inference profile listing

Resolved 💬 3 comments Opened Feb 27, 2026 by alexdupre Closed Mar 28, 2026

https://github.com/anthropics/claude-code/blob/1f48d799b9ef25a5c9cec36dd9a4c6f409b722f6/CHANGELOG.md?plain=1#L797

Since version 2.0.71 the ANTHROPIC_BEDROCK_BASE_URL is used to list the inference profiles, but actually the Bedrock base url (used for such purpose) and the Bedrock Runtime base url (used for model inference and token counting) have two different DNS names (e.g. bedrock.us-east-1.amazonaws.com vs bedrock-runtime.us-east-1.amazonaws.com). Now the call to the inference profiles always fail with a 404 error. There should be two separate environment variables to set such urls.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗