Skip to main content
/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

curl https://ai.alad.com/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

Request

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

Response Body

{
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1626777600,
      "owned_by": "openai",
      "supported_endpoint_types": ["openai"]
    },
    {
      "id": "claude-sonnet-4-5-20250929",
      "object": "model",
      "created": 1626777600,
      "owned_by": "vertex-ai",
      "supported_endpoint_types": ["openai", "anthropic"]
    }
  ]
}

Response Fields

FieldDescription
idModel identifier — use this value in the model parameter when calling the relay
objectAlways "model"
createdFixed timestamp (no practical meaning)
owned_byModel provider: openai, vertex-ai, custom, xai, volcengine, codex, aws, coze, ali, minimax, etc.
supported_endpoint_typesAPI 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"}}.