Đang tải…
Đang tải…
Connect Claude Code with Google Vertex AI to access Anthropic's Claude models through Google Cloud Platform. Automatically configures all available Claude models (Sonnet, Haiku, Opus) with enterprise-grade infrastructure, billing, and security. Requires: GCP project with Vertex AI API enabled, authenticated gcloud CLI, and model access approval in Model Garden.
npx claude-code-templates@latest --setting api/vertex-configuration{
"description": "Connect Claude Code with Google Vertex AI to access Anthropic's Claude models through Google Cloud Platform. Automatically configures all available Claude models (Sonnet, Haiku, Opus) with enterprise-grade infrastructure, billing, and security. Requires: GCP project with Vertex AI API enabled, authenticated gcloud CLI, and model access approval in Model Garden.",
"env": {
"CLAUDE_CODE_USE_VERTEX": "1",
"CLOUD_ML_REGION": "global",
"ANTHROPIC_VERTEX_PROJECT_ID": "your-gcp-project-id",
"VERTEX_REGION_CLAUDE_3_5_SONNET": "global",
"VERTEX_REGION_CLAUDE_3_5_HAIKU": "global",
"VERTEX_REGION_CLAUDE_3_7_SONNET": "global",
"VERTEX_REGION_CLAUDE_4_0_OPUS": "global",
"VERTEX_REGION_CLAUDE_4_0_SONNET": "global",
"VERTEX_REGION_CLAUDE_4_1_OPUS": "global",
"VERTEX_REGION_CLAUDE_4_5_SONNET": "global",
"ANTHROPIC_MODEL": "claude-sonnet-4-5@20250929",
"ANTHROPIC_SMALL_FAST_MODEL": "claude-3-5-haiku@20241022"
}
}