List models
Retrieve the list of currently available models. The response format is selected automatically from the request headers: - Returns Anthropic format when the x-api-key and anthropic-version headers are present - Returns Gemini format when the x-goog-api-key header or key query parameter is present - Returns OpenAI format otherwise
GET
/v1/models
Service root: https://getrouter.ai
Protocol: OpenAI-compatible Models
Authentication: Authorization: Bearer YOUR_API_KEY
Parameters
Example request
Responses
Success response fields
Example response
This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.
