Skip to main content
GET
The return format is automatically determined by 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 in all other cases

Headers

string
required
Bearer token authentication. Format: Authorization: Bearer sk-xxxxxx
string
Anthropic API Key (for Claude format)
string
Anthropic API version
string
Google API Key (for Gemini format)

Query Parameters

string
Google API Key (for Gemini format)

Response

200 Successfully retrieved model list

Format: application/json
string
Object type
object[]
Model list

401 Authentication failed

Format: application/json
object
Error information
Last modified on October 28, 2026