KKAPI
API 参考

模型列表

GET /v1/models,列出当前令牌可用的模型。

请求

GET https://api.kkapi.one/v1/models
Authorization: Bearer sk-你的令牌
curl https://api.kkapi.one/v1/models \
  -H "Authorization: Bearer sk-你的令牌"

响应

{
  "data": [
    {
      "id": "gpt-6.1-sol",
      "object": "model",
      "created": 1626777600,
      "owned_by": "kkapi"
    }
  ]
}

返回的 id 可以直接用于 chat/completions 或 responses 的 model 字段。