How Do You Set Up Claude Models on Google Cloud (Anthropic Managed)?
It's the Claude API run by Anthropic, billed through Google Cloud Marketplace and called with Google credentials and the roles/claude.user role, not API keys.

Summary
- Anthropic runs the service; Google Cloud handles access through IAM and billing through Marketplace, with no separate Anthropic invoice.
- Setup creates a new Anthropic organization for the project, separate from any existing one, and existing discounts don't apply to past usage.
- Calls use a Google access token and a workspace ID in the URL. API keys, ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL are ignored.
- The docs don't yet say how Claude Code works with it, or give per-token rates.
On this page
What it is and how it differs from Vertex AI
Anthropic announced it on 2026-10-22: the Claude API, operated by Anthropic, reached through your Google Cloud project. Google Cloud IAM controls access and Google Cloud Marketplace handles billing.
Anthropic's overview page names the older route "Google managed" (Claude on Google's Agent Platform, what many people still call Claude on Vertex AI). The differences that change code:
| Anthropic managed | Google managed | |
|---|---|---|
| Endpoint | claude.googleapis.com, Claude API paths such as /v1/messages |
aiplatform.googleapis.com and regional hosts, :rawPredict |
| Model in request | model in the body, anthropic-version header |
model in the URL, anthropic_version in the body |
| Anthropic organization | A new one for your project | None |
| Billing | Google Cloud Marketplace | Google Cloud, as Agent Platform usage |
| Rate limits | Managed by Anthropic | Managed by Google Cloud |
| IAM roles | roles/claude.admin, roles/claude.user, roles/claude.viewer |
Agent Platform roles |
| SDK client | AnthropicGoogleCloud |
AnthropicVertex |
If you call api.anthropic.com with an API key today, you use neither offering.
Set up the account
You need permission to purchase in Google Cloud Marketplace on your billing account, permission to enable services on the project, and an IAM role that can open the Claude Console. If you have an existing discount, talk to your Anthropic or Google Cloud representative first: discounts can't be applied to past usage.
These steps create a new Anthropic organization for the project. It is separate from any organization your company already has, including a Claude Enterprise one.
-
Subscribe. In Google Cloud Marketplace, find Claude Models on Google Cloud (Anthropic managed), choose Subscribe and finish the purchase. Then choose Manage on Console to open the Claude page in the Google Cloud console. You can return later through Agent Platform > Models > Claude Platform, then Anthropic managed.
-
Enable two services on every project that calls Claude:
bashgcloud services enable claude.googleapis.com \ anthropic-managed-claude.cloudpartnerservices.goog \ --project=my-project-idCheck with
gcloud services list --enabled --project=my-project-id. Calls fail withoutclaude.googleapis.com. -
Create the organization. On the Claude page choose Activate, enter a contact email, open the setup link sent to it, fill in the organization name, entity type, country and intended use, and accept Anthropic's Commercial Terms of Service and Usage Policy.
-
Open the Claude Console. When setup is done the button reads Open Claude Console. It signs you in at
platform.claude.com. Go to Settings > Workspaces and copy the workspace ID, which starts withwrkspc_.
Only roles/claude.admin on the project lets someone open the Claude Console, and you can't sign in to this organization with an email address. To add another project, repeat the steps from step 2.
If the button says "Finish Setup", an administrator still has to complete the organization form. If gcloud services enable can't find anthropic-managed-claude.cloudpartnerservices.goog, run it as the account that made the Marketplace purchase.
Grant access and send a request
Give the identity that makes calls roles/claude.user on the project (the example is for your own account; for a service account, use serviceAccount: in --member):
gcloud projects add-iam-policy-binding my-project-id \
--member="user:you@example.com" \
--role="roles/claude.user"
Then set the project and workspace:
export ANTHROPIC_GOOGLE_CLOUD_PROJECT="my-project-id"
export ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID="wrkspc_01AbCdEf23GhIj"
Authenticate locally with gcloud auth application-default login, and check it with gcloud auth application-default print-access-token. Then call the Messages API, which Anthropic's page shows with claude-opus-5-5:
curl "https://claude.googleapis.com/v1/projects/$ANTHROPIC_GOOGLE_CLOUD_PROJECT/locations/global/workspaces/$ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID/invoke/v1/messages" \
-H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \
-H "content-type: application/json" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-opus-5-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello, Claude"}
]
}'
A normal Messages response means it works. In Python the client is AnthropicGoogleCloud, installed with pip install -U "anthropic[google_cloud]"; the SDK clients for this offering are in beta. Send the Google token in Authorization: Bearer, not an x-api-key header, and don't send an anthropic-workspace-id header, because the workspace ID is part of the URL.
The docs say the usage page can take a few minutes to show your first call. For a permission error on the first call, check that claude.googleapis.com is enabled on the project you're calling and that the caller holds roles/claude.user or roles/claude.admin. A new grant can take a moment to apply.
Keys, billing and data
This offering has no API keys, and the Claude Console can't create them for this organization. The SDK clients ignore ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and ANTHROPIC_BASE_URL. If you use the ant CLI, unset any API key, auth token, profile or federation variables first, or it uses those instead of the Google Cloud settings.
Anthropic meters usage and reports it to Google Cloud in Claude Consumption Units. Charges appear on your Google Cloud bill with no separate Anthropic invoice, and usage counts toward a Google Cloud spend commitment the way other Marketplace purchases do. The Usage and Cost pages in the Claude Console show the detail.
Data retention follows the Claude API policy; Zero Data Retention is available on request, and a ZDR arrangement on another Anthropic organization doesn't carry over. Data Access audit logs for claude.googleapis.com are off by default, so turn them on if you need a record of requests.
Moving from an existing Anthropic organization
You can't convert an existing organization. Create the new one, then recreate access: API keys, workspaces and Console settings don't carry over, and files, skills, batches and Claude Managed Agents resources stay in the old organization. The two organizations can serve traffic in parallel, so you can move workloads gradually. Check the rate limits before shifting production traffic.
Coming from Claude on Vertex AI, swap AnthropicVertex for AnthropicGoogleCloud. For models earlier than Claude 4.6, replace the @ before the snapshot date with a hyphen (claude-haiku-4-5@20251001 becomes claude-haiku-4-5-20251001). A model your organization can't use returns Model {model} is not available for this organization's inference configuration.
Not confirmed yet
- Pricing. The page says billing goes through Marketplace in Claude Consumption Units, but gives no per-token rates or Marketplace fees. For Anthropic's direct rates, see our Claude 5.5 pricing guide; don't assume Marketplace matches them.
- Regions. The location is
global, and the docs say to setinference_geo: "us"on a request for US-only inference. No other region list is given. - Claude Code. The docs have no Claude Code page for this offering, and the variables Claude Code normally reads for a custom endpoint are ignored by the SDK clients. For the usual third-party route, see Claude Code with a third-party API.
- Models. Model IDs match the Claude API, but which models your organization can call isn't listed on the page.
If you don't want a Google Cloud billing account
SeedRouter, the gateway we run, is a third-party gateway, not an official Google Cloud or Anthropic channel. It takes one API key and the base URL https://seedrouter.net/v1, and accepts cards, Apple Pay, Google Pay, WeChat Pay and Alipay through Stripe. For other ways to buy Claude access, see the cheapest way to use the Claude API.