> ## Documentation Index
> Fetch the complete documentation index at: https://docs.token.poryf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 列出模型

> GET /v1/models：查询当前密钥可见的模型。

## 请求示例

先在终端设置 `API_KEY` 环境变量。

```bash theme={null}
curl 'https://token.poryf.com/v1/models' \
  --header "Authorization: Bearer $API_KEY"
```

## 响应结构

以下为结构示意，`YOUR_MODEL_ID` 不是实际型号。

```json theme={null}
{
  "object": "list",
  "data": [
    { "id": "YOUR_MODEL_ID", "object": "model" }
  ]
}
```

将 `data[].id` 复制到文本对话请求的 `model` 字段。响应可能包含其他元数据。

<Note>可见模型可能受平台配置、密钥权限及分组影响。此接口不用于获取价格或承诺实时渠道可用性，价格请查看 [模型广场](https://token.poryf.com/pricing)。</Note>
