Google Vertex AI (Claude) (BYOK)
How to create an API key for Google Vertex AI (Claude) and add it to AnyRouter via Bring Your Own Key.
Use Claude from your own Google Cloud project. AnyRouter calls Claude on Vertex AI with your service account, so Google bills you directly.
Get your API key
- In the Google Cloud console, open the Model Garden, find Claude and enable the models you want.
- Create a service account with the Vertex AI User role and download its JSON key.
- Paste the service-account JSON into AnyRouter. To pick a region, add a
"region"field (for example"us-east5"); the default is"global".
Gotchas
Claude models newer than Sonnet 4.6 are only served on global and multi-region locations, so a single-region key works for older models only. Regional endpoints cost 10% more than global on Google Cloud.
Add it to AnyRouter
- Go to Dashboard → BYOK.
- Find Google Vertex AI (Claude) under Available and click Add key.
- Paste your key into the API key field.
- Click Save. AnyRouter runs a live validation call against Google Vertex AI (Claude) before storing the key — if it fails, the dialog shows the upstream error and the key isn't saved.
Related
- BYOK Provider Setup Guide — the full provider list and the general flow
- Bring Your Own Key (BYOK) — routing precedence, load balancing, and costs
- Free-tier aggregation — combine free tiers behind one preset