⌨️CLOUD_ML_REGION
Also known as CLOUD_ML_REGION=global
It sets the Google Cloud region Claude Code uses.
Think of it like
It is like you pick which town's post office handles your mail.
Example
Emma sets this to global, so Google picks a region with room. One model has no global spot, so she gives it its own region.
Why it matters
The region decides which models you can reach and where your data is handled.
Definition
Example code
bash
export CLAUDE_CODE_USE_VERTEX=1
export CLOUD_ML_REGION=global
export ANTHROPIC_VERTEX_PROJECT_ID=my-project
claudeCommon mistake
Key takeaways
- 1global, multi or one. Three kinds.
- 2Default us-east5. When unset.
- 3Per-model wins. VERTEX_REGION_ variables.