Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

claude-on-vertex-ai changedbuild-with-claude/claude-on-vertex-ai

Nearest release: v2.1.301, published 5 hours before 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+16added
Lines−16removed
From line 155 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits35to this page, all time

The whole hunk

from line 155, old and new numbered
/
lines
from line 155
155155 
156156The following examples show how to generate text from Claude on Agent Platform:
157157 
158<CodeGroup>
158<CodeGroup exclude="shell:CLI">
159159 ```bash cURL
160160 MODEL_ID=claude-opus-5-5
161161 PROJECT_ID=MY_PROJECT_ID
from line 170
170170 }'
171171 ```
172172 
173 ```bash CLI
174 # The ant CLI does not support Agent Platform.
175 ```
173 <CodeGroupItem language="CLI">
174 The `ant` CLI doesn't support Agent Platform.
175 </CodeGroupItem>
176176 
177177 ```python Python
178178 from anthropic import AnthropicVertex
from line 431
431431 
432432Set the `region` parameter to `"global"` when initializing the client:
433433 
434<CodeGroup>
434<CodeGroup exclude="shell:CLI">
435435 ```bash cURL
436436 MODEL_ID=claude-opus-5-5
437437 PROJECT_ID=MY_PROJECT_ID
from line 446
446446 }'
447447 ```
448448 
449 ```bash CLI
450 # The ant CLI does not support Agent Platform.
451 ```
449 <CodeGroupItem language="CLI">
450 The `ant` CLI doesn't support Agent Platform.
451 </CodeGroupItem>
452452 
453453 ```python Python
454454 from anthropic import AnthropicVertex
from line 619
619619 
620620Set the `region` parameter to a multi-region identifier: `"us"` for the United States or `"eu"` for the European Union. The SDK routes requests to the corresponding multi-region endpoint (`https://aiplatform.us.rep.googleapis.com` or `https://aiplatform.eu.rep.googleapis.com`), which dynamically balances traffic across regions within that geography.
621621 
622<CodeGroup>
622<CodeGroup exclude="shell:CLI">
623623 ```bash cURL
624624 MODEL_ID=claude-opus-5-5
625625 LOCATION=us # Multi-region identifier: "us" or "eu"
from line 635
635635 }'
636636 ```
637637 
638 ```bash CLI
639 # The ant CLI does not support Agent Platform.
640 ```
638 <CodeGroupItem language="CLI">
639 The `ant` CLI doesn't support Agent Platform.
640 </CodeGroupItem>
641641 
642642 ```python Python
643643 from anthropic import AnthropicVertex
from line 808
808808 
809809Specify a specific region such as `"us-east5"` or `"europe-west1"`:
810810 
811<CodeGroup>
811<CodeGroup exclude="shell:CLI">
812812 ```bash cURL
813813 # Specific regional endpoints support Claude Sonnet 4.6 and earlier; newer models use the global or multi-region endpoints
814814 MODEL_ID=claude-sonnet-4-6
from line 825
825825 }'
826826 ```
827827 
828 ```bash CLI
829 # The ant CLI does not support Agent Platform.
830 ```
828 <CodeGroupItem language="CLI">
829 The `ant` CLI doesn't support Agent Platform.
830 </CodeGroupItem>
831831 
832832 ```python Python
833833 from anthropic import AnthropicVertex
Feedback