/v1/models is an OpenAI-compatible model list endpoint that returns all models available for the current token. SDKs and clients use this endpoint to automatically discover available models and their supported API formats.
Quick Example
Request
| Header | Required | Description |
|---|---|---|
Authorization: Bearer <api-key> | Yes | Authenticate with your token key |
Content-Type: application/json | No | Optional |
Response Body
Response Fields
| Field | Description |
|---|---|
id | Model identifier — use this value in the model parameter when calling the relay |
object | Always "model" |
created | Fixed timestamp (no practical meaning) |
owned_by | Model provider: openai, vertex-ai, custom, xai, volcengine, codex, aws, coze, ali, minimax, etc. |
supported_endpoint_types | API formats supported by this model: openai, anthropic, openai-response, gemini, image-generation, video, mj-*, etc. |
Notes
- Different tokens may see different model lists depending on provider configuration and pricing coverage.
- If no token is provided, returns
401 {"error":{"message":"No token provided"}}.

