Skip to main content
The /v1/models endpoint is an OpenAI-compatible interface that returns every model your API key can access. SDKs and clients use this endpoint to auto-discover available models and their supported API formats.

Quick example

Request

HeaderRequiredDescription
Authorization: Bearer <api-key>YesAuthenticate with your API key
Content-Type: application/jsonNoOptional
No request body (GET).

Response

Response fields

FieldDescription
idModel identifier. Use this value for the model parameter in relay requests.
objectAlways "model".
createdFixed timestamp (no functional meaning).
owned_byProvider: openai, vertex-ai, custom, xai, volcengine, codex, aws, coze, ali, minimax, etc.
supported_endpoint_typesAPI formats this model supports: openai, anthropic, openai-response, gemini, image-generation, video, mj-*, etc.

Notes

  • Different API keys may see different model lists depending on provider configuration and pricing coverage.
  • Omitting the API key returns 401 {"error":{"message":"No token provided"}}.