Google Vertex (BYOK)
Create an API key for Google Vertex and add it to AnyRouter.
Vertex uses Google Cloud service-account credentials rather than a single API key.
Get your API key
- In the Google Cloud Console, create or pick a project.
- Create a service account and grant it the Vertex AI User role.
- Generate a JSON key for that service account (Keys → Add key → Create new key → JSON).
- Paste the full service-account JSON into AnyRouter; optionally set a
region(defaults tous-central1).
Gotchas
The JSON must include type, project_id, private_key, and client_email. Requests are billed to the linked Google Cloud project, not AnyRouter credits.
Add it to AnyRouter
- Open Dashboard → BYOK, find Google Vertex under Available and click Add key.
- Paste the key.
- Click Save. AnyRouter validates the key against Google Vertex first; on failure the dialog shows the upstream error and nothing is saved.
AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer