OpenAI Format

Model List

Query the models available to the current API Key, compatible with OpenAI, Claude, and Gemini styles.

GEThttps://zx1.deepwl.net/v1/models
Request
curl https://zx1.deepwl.net/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1735689600,
      "owned_by": "openai"
    },
    {
      "id": "claude-sonnet-4-20250514",
      "object": "model",
      "created": 1735689600,
      "owned_by": "anthropic"
    }
  ]
}

Query the list of available models. The route determines the compatible format based on the request headers: it returns OpenAI style by default; with x-api-key and anthropic-version, it uses Claude style; with x-goog-api-key or the key query parameter, it uses Gemini style.

If you only want to know “roughly what text model names are available in the system” and do not want to send an API request right away, you can first look at the “Common Model Name Examples” in the text model support matrix. However, the models actually available for your current key are still determined by the response from this endpoint.

Common Model Name Examples

FamilyCommon Model Names
GPT / OpenAIgpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o1, o3
Claudeclaude-sonnet-4-20250514, claude-sonnet-4-6, claude-opus-4-6, claude-opus-4-7, claude-haiku-4-5-20251001
Geminigemini-2.0-flash, gemini-2.5-flash, gemini-2.5-pro, gemini-3.1-pro-preview
DeepSeekdeepseek-chat, deepseek-reasoner, deepseek-v4-flash, deepseek-v4-pro, deepseek-r1
Qwenqwen-max, qwen3-max, qwen3-omni-flash

Paths

MethodPathDescription
GET/v1/modelsOpenAI/Claude/Gemini compatible model list
GET/v1/models/{model}Query a single model
GET/v1beta/modelsGemini native model list
GET/v1beta/openai/modelsOpenAI-compatible model list under Gemini

Request Headers

Authorizationstring必填

Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.

Request Examples

Response Examples