HAI Gateway 文档中心

OpenAI

OpenAI List Models

Lists the currently available models and provides basic information about each one.

GETv1/models

Authorizations

Authorizationstringheaderrequired

Use the following format for authentication: Bearer sk-pat-您的AccessToken

密钥的值使用HAI Gateway的个人访问令牌(以 sk-pat- 开头),无需在OpenAI处单独申请 API Key。

Base URL

cURL
Default
cURL:Default
curl https://api.hai.network/openai/v1/models \
  -H "Authorization: Bearer sk-pat-您的Access Token"
200
Default
200:Default
{
  "object": "list",
  "data": [
    {
      "id": "gpt-5.4-2026-03-05",
      "object": "model",
      "created": 1741132800,
      "owned_by": "system"
    },
    {
      "id": "gpt-4.1-mini",
      "object": "model",
      "created": 1744329600,
      "owned_by": "system"
    }
  ]
}