Docs / Model APIs / Overview
Model APIs: Overview
All RelayRouter requests share one base URL, https://relayrouter.io/v1, and one API key. The model field in the request body selects which model handles it.
#Endpoints
| Modality | Endpoint |
|---|---|
Chat | POST /v1/chat/completions |
Image | POST /v1/images/generations |
Model list | GET /v1/models |
#Listing available models
The authoritative model list is per key: call GET /v1/models with your key and you get exactly the IDs you can use. The public Models page shows the same catalog with pricing.
terminalbash
curl https://relayrouter.io/v1/models \
-H "Authorization: Bearer YOUR_API_KEY"#Providers
Models from the world's leading AI labs:
| Provider |
|---|
Anthropic |
OpenAI |
Google DeepMind |
DeepSeek |
MiniMax |
Moonshot AI |
#Example model IDs
| Model ID | Provider |
|---|---|
| claude-opus-4-8 | Anthropic |
| gpt-5-5 | OpenAI |
| deepseek-v4-flash | DeepSeek |
The catalog evolves as providers ship new models, so always treat
GET /v1/models or the Models page as the source of truth for exact IDs.#Authentication
Every endpoint uses the same bearer token scheme:
| Header | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json |
Get your API key from the API Keys page.