API

Native OpenAI Format

Get a list of currently available models.

Automatically identify the return format based on the request headers:

  • Returns Anthropic format when x-api-key and anthropic-version headers are present
  • Returns Gemini format when x-goog-api-key header or key query parameter is present
  • Returns OpenAI format in other cases

GET /v1/models