Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

google-managed changedbuild-with-claude/claude-models-on-google-cloud/google-managed

Nearest release: v2.1.321, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+9added
Lines−8removed
From line 13 where the diff opens
First seen 23 Oct 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 13, old and new numbered
/
lines
from line 13
13131. A Google Cloud project that can use Agent Platform. For setup steps, see Google Cloud’s [Anthropic Claude models on Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/claude) page.
14142. The [gcloud CLI](https://cloud.google.com/sdk/docs/install) installed, for local development.
15153. For the identity making the calls, an IAM role that includes the `aiplatform.endpoints.predict` permission, such as Agent Platform User (`roles/aiplatform.user`). For details, see Google Cloud’s [Agent Platform partner models](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/use-partner-models) page.
164. Google Cloud credentials for that identity. For the SDK examples, you might need to run `gcloud auth application-default login` to authenticate with Google Cloud. The cURL examples for Claude Models on Google Cloud (Google managed) get their token with `gcloud auth print-access-token`. That command uses the gcloud CLI’s own login, not Application Default Credentials. For those examples, run `gcloud auth login` or `gcloud init` first.
164. Google Cloud credentials for that identity. To authenticate the SDK with Google Cloud, you might need to run `gcloud auth application-default login`. A cURL request to Claude Models on Google Cloud (Google managed) can get its token from `gcloud auth print-access-token`. That command uses the gcloud CLI’s own login, not Application Default Credentials, so run `gcloud auth login` or `gcloud init` before you use it.
1717 
1818### Install an SDK
1919 
20Anthropic’s [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) support Claude Models on Google Cloud (Google managed) through `AnthropicVertex` (csharp: `AnthropicVertexClient`; go: `vertex.WithGoogleAuth()`; java: `VertexBackend`; php: `Anthropic\Vertex\Client`; ruby: `Anthropic::VertexClient`). Install the package that provides it:
20The [client SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) supports Claude Models on Google Cloud (Google managed) through `AnthropicVertex` (csharp: `AnthropicVertexClient`; go: `vertex.WithGoogleAuth()`; java: `VertexBackend`; php: `Anthropic\Vertex\Client`; ruby: `Anthropic::VertexClient`). Install the package that provides it:
2121 
2222<Tabs>
2323 <Tab title="Python">
from line 243
243243 ```
244244 
245245 ```php PHP
246 <?php
247 
246 use Anthropic\Messages\Model;
248247 use Anthropic\Messages\TextBlock;
249248 use Anthropic\Vertex;
250249 
from line 257
258257 messages: [
259258 ['role' => 'user', 'content' => 'Hey Claude!']
260259 ],
261 model: 'claude-opus-5-5',
260 model: Model::CLAUDE_OPUS_5_5,
262261 );
263262 
264263 foreach ($message->content as $block) {
from line 276
277276 )
278277 
279278 message = client.messages.create(
280 model: "claude-opus-5-5",
279 model: Anthropic::Model::CLAUDE_OPUS_5_5,
281280 max_tokens: 100,
282 messages: [{role: "user", content: "Hey Claude!"}]
281 messages: [{ role: "user", content: "Hey Claude!" }]
283282 )
284283 
285 puts message.content.find { it.type == :text }.text
284 puts message.content.find { |block| block.is_a?(Anthropic::Models::TextBlock) }.text
286285 ```
287286</CodeGroup>
288287 
from line 492
493492Claude Models on Google Cloud (Google managed) offers a [1M-token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) for these models:
494493 
495494* Claude Fable 5.1
495* Claude Mythos 5.1
496496* Claude Fable 5
497* Claude Mythos 5
497498* Claude Opus 5.5
498499* Claude Opus 5
499500* Claude Opus 4.8
Feedback