跳转到主要内容
GET
/
v1
/
models
List Models
curl --request GET \
  --url https://api.apiyi.com/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1687882411,
      "owned_by": "openai"
    },
    {
      "id": "gpt-4o-mini",
      "object": "model",
      "created": 1687882411,
      "owned_by": "openai"
    },
    {
      "id": "claude-sonnet-4-20250514",
      "object": "model",
      "created": 1687882411,
      "owned_by": "anthropic"
    },
    {
      "id": "gemini-2.5-pro",
      "object": "model",
      "created": 1687882411,
      "owned_by": "google"
    },
    {
      "id": "deepseek-r1",
      "object": "model",
      "created": 1687882411,
      "owned_by": "deepseek"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

API Key obtained from the APIYI Console

响应

Successfully returned model list

object
enum<string>
可用选项:
list
示例:

"list"

data
object[]