API429 / API reference

API429 authentication

How to send your API429 key: the Authorization: Bearer header, x-api-key for the Messages API, and x-goog-api-key or ?key= for Gemini endpoints.

Reference version 3.31.0 · revised · the same text in the client portal

All OpenAI-compatible and client-usage endpoints require a Bearer token:

Authorization: Bearer YOUR_API_KEY

Anthropic-compatible /v1/messages accepts the same API429 client token in Anthropic's standard header:

x-api-key: YOUR_API_KEY

anthropic-version is accepted for SDK compatibility. The gateway does not require clients to pin a specific version.

Gemini-native, Vertex Express, and Files API endpoints accept the Google-style header or query parameter:

x-goog-api-key: YOUR_API_KEY
GET /v1beta/models?key=YOUR_API_KEY

Tokens are issued by the admin panel. Contact your administrator for access.

Service Account (SA) authentication is also supported for Google Vertex AI SDK clients. See the dedicated Service Account Guide tab for setup instructions and examples.

Quickstart: the first request · Models and prices · Get an API key

Telegram