[BUG] Support eu multi-region via Vertex
Status Fixed / completed
Reported on v2.1.112
Maintainer reply ✓ Yes — mhegazy
Activity 3 comments · opened Apr 17, 2026 · closed Apr 27, 2026
💡 Likely answer: A maintainer (mhegazy, contributor)
responded on this thread — see the highlighted reply below.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Two days ago, Google announced support for multi-region endpoints (us and eu) for Claude models via Vertex. Except for the global endpoint, Opus 4.7 is now only available through these multi-region endpoints (regional endpoints are no longer supported).
Setting CLOUD_ML_REGION to eu doesn’t work—Claude returns the following error:
The model claude-opus-4-7 is not available on your vertex deployment. Try /model to switch to claude-opus-4-1@20250805, or ask your admin to enable this model.
It seems that the URLs for multi-region endpoints are quite different from regional endpoints:
- Multi-regional:
"https://aiplatform.us.rep.googleapis.com/v1/projects/${PROJECT_ID}/locations/us/publishers/anthropic/models/${MODEL_ID}:rawPredict" - Regional :
"https://us-east5-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/us-east5/publishers/anthropic/models/${MODEL_ID}:${METHOD}"
What Should Happen?
Claude code should response, using multi-region endpoint
Error Messages/Logs
> The model claude-opus-4-7 is not available on your vertex deployment. Try /model to switch to claude-opus-4-1@20250805, or ask your admin to enable this model.
Steps to Reproduce
- Install Claude Code (latest version)
- Setup Claude Code to use vertex with regional endpoint and opus-4-7
export CLAUDE_CODE_USE_VERTEX=1
export CLOUD_ML_REGION=eu
export ANTHROPIC_VERTEX_PROJECT_ID=YOUR-PROJECT-ID
export ANTHROPIC_DEFAULT_OPUS_MODEL='claude-opus-4-7'
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.112
Platform
Google Vertex AI
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
3 Comments
+1 — also reproduces on
usmulti-region, blocking US data-residency complianceHitting the identical bug on
CLOUD_ML_REGION=uswith the same Claude Code version (2.1.112, VS Code bundled native binary on macOS).Environment:
Error (identical to OP):
Confirmed it's a Claude Code URL-construction bug, not Vertex/IAM/quota:
claude-opus-4-7@default) work successfully via theAnthropicVertexPython SDK against theusmulti-region endpoint in our production application.CLOUD_ML_REGIONback toglobalin Claude Code makes Opus 4.7 work immediately — no other config changes.us-east5) are not viable per OP's note that Opus 4.7 is only published to global + multi-region now.Impact: This is blocking for US federal/DoD customers who require US-only data residency.
globalrouting can dispatch outside the US, so it's not an acceptable configuration for FedRAMP / IL4/5 workloads. Multi-region (us) is the documented Anthropic + Google Cloud path for this requirement, and Claude Code is the only tool in our stack that can't reach it.Would appreciate prioritization given the compliance blast radius.
Fixed in v2.1.113
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.