claude-on-vertex-ai changedbuild-with-claude/claude-on-vertex-ai
Nearest release: v2.1.304, 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+15added
Lines−19removed
From line
146
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 146, old and new numbered
/
from line 146
146146| Claude Haiku 3.5 ([deprecated](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `claude-3-5-haiku@20241022` |
147147
148148<Tip>
149 Upgrading to a newer Claude model? In Claude Code, run `/claude-api migrate` to apply model ID swaps and breaking parameter changes across your codebase. The skill detects which cloud platform your code targets and adjusts model ID formats and feature changes for that platform. See [Migrating to a newer Claude model](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill#migrating-to-a-newer-claude-model).
149 Upgrading to a newer Claude model? The [Claude API skill](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill#migrating-to-a-newer-claude-model) in Claude Code applies model ID swaps and breaking parameter changes across your code base:
150
151 Let Claude Code migrate your code for you
152
153 ```text
154 /claude-api migrate this project to the latest Claude Opus model
155 ```
156
157 The skill detects which cloud platform your code targets and adjusts model ID formats and feature changes for that platform.
150158</Tip>
151159
152160### Making requests
from line 165
157165
158166<CodeGroup exclude="shell:CLI">
159167 ```bash cURL
160 MODEL_ID=claude-opus-5-5
161 PROJECT_ID=MY_PROJECT_ID
162
163 curl https://aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/global/publishers/anthropic/models/${MODEL_ID}:rawPredict \
168 curl https://aiplatform.googleapis.com/v1/projects/MY_PROJECT_ID/locations/global/publishers/anthropic/models/claude-opus-5-5:rawPredict \
164169 -H "Authorization: Bearer $(gcloud auth print-access-token)" \
165170 -H "Content-Type: application/json" \
166171 -d '{
from line 438
433438
434439<CodeGroup exclude="shell:CLI">
435440 ```bash cURL
436 MODEL_ID=claude-opus-5-5
437 PROJECT_ID=MY_PROJECT_ID
438
439 curl https://aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/global/publishers/anthropic/models/${MODEL_ID}:rawPredict \
441 curl https://aiplatform.googleapis.com/v1/projects/MY_PROJECT_ID/locations/global/publishers/anthropic/models/claude-opus-5-5:rawPredict \
440442 -H "Authorization: Bearer $(gcloud auth print-access-token)" \
441443 -H "Content-Type: application/json" \
442444 -d '{
from line 623
621623
622624<CodeGroup exclude="shell:CLI">
623625 ```bash cURL
624 MODEL_ID=claude-opus-5-5
625 LOCATION=us # Multi-region identifier: "us" or "eu"
626 PROJECT_ID=MY_PROJECT_ID
627
628 curl https://aiplatform.${LOCATION}.rep.googleapis.com/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishers/anthropic/models/${MODEL_ID}:rawPredict \
626 # The multi-region identifier, "us" or "eu", appears in the host name and in the path
627 curl https://aiplatform.us.rep.googleapis.com/v1/projects/MY_PROJECT_ID/locations/us/publishers/anthropic/models/claude-opus-5-5:rawPredict \
629628 -H "Authorization: Bearer $(gcloud auth print-access-token)" \
630629 -H "Content-Type: application/json" \
631630 -d '{
from line 810
811810<CodeGroup exclude="shell:CLI">
812811 ```bash cURL
813812 # Specific regional endpoints support Claude Sonnet 4.6 and earlier; newer models use the global or multi-region endpoints
814 MODEL_ID=claude-sonnet-4-6
815 LOCATION=us-east5 # Specify a specific region
816 PROJECT_ID=MY_PROJECT_ID
817
818 curl https://${LOCATION}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishers/anthropic/models/${MODEL_ID}:rawPredict \
813 # The region, here us-east5, appears in the host name and in the path
814 curl https://us-east5-aiplatform.googleapis.com/v1/projects/MY_PROJECT_ID/locations/us-east5/publishers/anthropic/models/claude-sonnet-4-6:rawPredict \
819815 -H "Authorization: Bearer $(gcloud auth print-access-token)" \
820816 -H "Content-Type: application/json" \
821817 -d '{
No line in this hunk matches that.