[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

  1. Install Claude Code (latest version)
  2. 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_

View original on GitHub ↗

3 Comments

cwatts-sage · 6 months ago

+1 — also reproduces on us multi-region, blocking US data-residency compliance

Hitting the identical bug on CLOUD_ML_REGION=us with the same Claude Code version (2.1.112, VS Code bundled native binary on macOS).

Environment:

CLAUDE_CODE_USE_VERTEX=1
CLOUD_ML_REGION=us
ANTHROPIC_VERTEX_PROJECT_ID=<gcp-project-id>
ANTHROPIC_MODEL=claude-opus-4-7@default
ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-7@default
GOOGLE_APPLICATION_CREDENTIALS=<sa.json>

Error (identical to OP):

The model claude-opus-4-7@default 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.

Confirmed it's a Claude Code URL-construction bug, not Vertex/IAM/quota:

  • Same SA, same project, same model alias (claude-opus-4-7@default) work successfully via the AnthropicVertex Python SDK against the us multi-region endpoint in our production application.
  • Switching only CLOUD_ML_REGION back to global in Claude Code makes Opus 4.7 work immediately — no other config changes.
  • Specific regional endpoints (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. global routing 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.

mhegazy contributor · 5 months ago

Fixed in v2.1.113

github-actions[bot] · 5 months ago

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.