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

  1. In the Google Cloud Console, create or pick a project.
  2. Create a service account and grant it the Vertex AI User role.
  3. Generate a JSON key for that service account (Keys → Add key → Create new key → JSON).
  4. Paste the full service-account JSON into AnyRouter; optionally set a region (defaults to us-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

  1. Open Dashboard → BYOK, find Google Vertex under Available and click Add key.
  2. Paste the key.
  3. 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