RelayRouterRelayRouter
HomeModelsPricingDocsGet API Key

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

ModalityEndpoint
ChatPOST /v1/chat/completions
ImagePOST /v1/images/generations
Model listGET /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 IDProvider
claude-opus-4-8Anthropic
gpt-5-5OpenAI
deepseek-v4-flashDeepSeek
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:

HeaderValue
AuthorizationBearer YOUR_API_KEY
Content-Typeapplication/json
Get your API key from the API Keys page.