The same base host (https://gateway.api429.com) serves four API families.
Pick the one that matches your SDK.
| API family | Paths | Auth |
|---|---|---|
| OpenAI-compatible | /v1/*, /hf/v1/*, /openai/v1/* — models, chat/completions, responses, images/generations, embeddings, audio/speech |
Authorization: Bearer <token> |
| Anthropic-compatible | POST /v1/messages — Claude Messages API request/response shape, including Anthropic-style SSE streaming |
x-api-key: <token> |
| Gemini native | /v1beta/models/{model}:generateContent, :streamGenerateContent, :countTokens, :embedContent, :batchEmbedContents (also under /gemini/v1beta/*) |
x-goog-api-key: <token> or ?key=<token> |
| Vertex Express | /vertex-express/v1beta/models/{model}:generateContent, :streamGenerateContent, GET /vertex-express/v1beta/models |
x-goog-api-key: <token> or ?key=<token> |
| Video generation | /v1/videos/generations, /v1/videos/generations/{job_id}, Vertex-compatible :predictLongRunning / :fetchPredictOperation |
Bearer token for /v1/videos/*; x-goog-api-key, ?key=, or Bearer token for Vertex-compatible routes |
| Files API | POST /upload/v1beta/files, GET/DELETE /v1beta/files[/…] (plus /gemini/ variants) |
x-goog-api-key: <token> or ?key=<token> |
| Client usage | GET /api/client/balance, GET /api/client/usage/daily, GET /api/client/usage/summary, POST /api/client/usage/daily/telegram |
Authorization: Bearer <token> |
Streaming endpoints return text/event-stream (SSE). Error payloads are normalised
as {"error": {"code": ..., "message": ...}}.
Quickstart: the first request · Models and prices · Get an API key