---
title: "How to Enable Claude on Vertex AI: Model Garden to First Request"
description: "Enable Claude on Vertex AI in 6 steps: Model Garden, quota, IAM, and a first Python SDK call, plus how to check regions and fix 4 common errors."
url: https://cdnping.org/en/blog/enable-claude-on-vertex-model-garden
language: en
published: 2026-11-21
category: "Developer tools"
tags: ["Vertex AI","Claude","Model Garden","Google Cloud","Python SDK"]
source: cdnping.org
license: Free to quote and summarize with a link to the url above.
---
# How to Enable Claude on Vertex AI: Model Garden to First Request

To enable Claude on Vertex AI you need three things: a Google Cloud project with billing turned on, a click on "Enable" (plus accepting the terms) for the target model in Model Garden, and an account that is allowed to call it. Once those are done, Anthropic's Python SDK can send your first request. If your quota is too low, request an increase on the quotas page.

This guide follows the order you would actually work in. Menu labels and page layouts change as the Google Cloud console is updated, so treat the official documentation as the source of truth. It doesn't name specific model versions; copy the model ID straight from the model card in Model Garden.

## What do you need before you start?

- A Google Cloud project with a valid billing account linked. Without billing, the model can't be enabled.
- Enough permissions in that project. Enabling models and managing quotas usually requires more than just calling them, so ask a project admin for help if you're blocked.
- The gcloud CLI and Python 3 installed locally.
- Confirm that your organization, region, and payment method comply with the terms of service of Google Cloud and Anthropic. For the usage policy, start with this article: [Anthropic Usage Policy Explained: What Claude Prohibits](/en/blog/anthropic-usage-policy-explained).

## Step 1: Turn on the Vertex AI API

Enable the Vertex AI API in your project, either in the console or from the command line:

```bash
gcloud config set project YOUR_PROJECT_ID
gcloud services enable aiplatform.googleapis.com
```

## Step 2: Enable Claude in Model Garden

1. In the console, go to Vertex AI and open Model Garden.
2. Search for Claude, or filter by the model provider Anthropic, and open the model card you want.
3. The card usually has an "Enable" button. Click it, read and accept the terms when prompted, and you may be asked for some details about your intended use.
4. After enabling, the card shows the available regions, the model ID, and sample code.

Two things to note. First, enabling is per project: if you switch projects, you need to enable the model again. Second, availability and regions differ by model. Some models may still be in preview or require an application. Rely on the model card and the official docs for that.

## Step 3: How do you check which regions are available?

Don't pick a region from memory. Confirm it in this order:

| Where to look | What you'll see |
| --- | --- |
| The model card in Model Garden | The regions and endpoint types the model currently supports |
| Model and region lists in the Anthropic and Google Cloud docs | Regions and notes on data residency |
| A small request of your own | Whether the region actually returns a result |

For the detailed region and calling flow, compare it with our guide [Calling Claude on Google Vertex AI: Setup and Authentication](/en/blog/google-vertex-ai-claude-access). If your region isn't on the card, switch to one listed in the docs instead of retrying the same one over and over.

## Step 4: Check and request quota

Claude's limits on Vertex AI are counted per project, per region, and per model. The usual units are requests per minute and tokens per minute; check the official docs for the exact metric names.

1. In the console, go to IAM & Admin and open the Quotas page.
2. Filter by "Anthropic" or the model name to find the entry for your model and region.
3. Look at the current value and the usage. Low defaults are normal, and it's especially worth checking ahead of any load test.
4. If you need a higher limit, select the entry and submit an adjustment request, stating the use case and expected peak. Approval times vary.

If you get a 429 when calling, it's most often a quota limit or momentary throttling. Check the quotas page to see which metric was hit, then decide whether to back off and retry or request an increase.

## Step 5: Grant permissions and sign in

Give the caller a role that can invoke Vertex AI models. The most common one is Vertex AI User (roles/aiplatform.user); for finer-grained permissions, see the official docs. For local development, use Application Default Credentials:

```bash
gcloud auth application-default login
```

On servers or in CI, a service account is a better fit. Don't commit key files to your repository.

## Step 6: Send your first request with the Python SDK

Install the SDK with Vertex support:

```bash
pip install -U "anthropic[vertex]"
```

Here's the example. Replace the region and model ID with the values you see on the model card:

```python
from anthropic import AnthropicVertex

client = AnthropicVertex(
    project_id="YOUR_PROJECT_ID",
    region="REGION_FROM_MODEL_CARD",
)

msg = client.messages.create(
    model="MODEL_ID_FROM_MODEL_CARD",
    max_tokens=256,
    messages=[{"role": "user", "content": "Introduce yourself in one sentence"}],
)
print(msg.content[0].text)
```

Model IDs on Vertex are not written exactly the same way as on Anthropic's own API, so don't reuse the names from the first-party API directly.

## How do you troubleshoot common errors?

| Symptom | Check first |
| --- | --- |
| 403 or permission denied | The caller's role, whether the right project is selected, and whether the Vertex AI API is enabled |
| 404 or model not found | Whether the model ID was copied from the card, whether the region supports it, and whether you clicked "Enable" in this project |
| 429 | Usage on the matching metric in the quotas page; use exponential backoff |
| Can't connect or keeps timing out | Your local network and egress path; see [AI API latency](/en/learn/ai-api-latency-china) for measurement approaches |

If you suspect a server-side problem, check [Anthropic API status](/en/status/anthropic) and [Is Claude down?](/en/down/claude) to rule out an official outage before changing your configuration. To push outage alerts to a team chat, see [Status Page RSS: Push OpenAI and Claude Outages to Feishu, DingTalk, and WeCom](/en/blog/subscribe-ai-status-rss-to-feishu-dingtalk) (these are the common enterprise chat apps in China).

## What about Claude Code after enabling?

Claude Code can also run through Vertex AI. You set a few environment variables; the steps and common errors are in [Claude Code with Google Vertex AI: Setup and Common Errors](/en/blog/claude-code-vertex-ai-setup). If your team is already on AWS, compare it with [Using Claude on AWS Bedrock](/en/blog/aws-bedrock-claude-overview).

## What if you have no Google Cloud project or overseas payment method?

Vertex AI requires a Google Cloud account, a billing account, and a compliant environment to use it in. If you can't meet those right now, you can use another compliant route in the meantime. AGI Plan is a multi-provider LLM aggregation gateway: one monthly subscription covers several capability groups, you pay in RMB, and no overseas credit card is needed. For tools like Claude Code and Codex, you only change one endpoint address. Some models are marked as available only outside mainland China; see [agiplan.dev/models](https://agiplan.dev/models) for specifics. It is also not an officially authorized channel and doesn't replace complying with Vertex AI's regional restrictions. AGI Plan is a commercial partner of cdnping, and the getting-started steps are at [agiplan.dev/startup](https://agiplan.dev/startup).

If you'd rather use the official API, start with [How to Use the Claude API: From Getting a Key to Your First Request](/en/blog/claude-api-beginner-getting-started).

## Next steps

Run through this checklist, then get the Step 6 example working:

1. Billing is enabled on the project, and aiplatform.googleapis.com is enabled.
2. The target model shows as enabled in Model Garden.
3. The region and model ID both come from the model card.
4. The matching quota entry has enough headroom.
5. The calling account has the required role.

Once your first request succeeds, then evaluate concurrency and cost, not the other way around.
