> For AI agents: the complete documentation index is available at https://little-butterfly-9bfe.sentia389.workers.dev/llms.txt, the full documentation bundle is available at https://little-butterfly-9bfe.sentia389.workers.dev/llms-full.txt.

# GPT-5.5 至 GPT-5.1

| 模型 ID          | 官方支持的协议        | 用途           | OpenAI 官方推理强度                        | 官方默认值    |
| -------------- | -------------- | ------------ | ------------------------------------ | -------- |
| `gpt-5.5`      | Chat、Responses | 复杂编程与专业工作    | `none`、`low`、`medium`、`high`、`xhigh` | `medium` |
| `gpt-5.4`      | Chat、Responses | 通用推理、编程和多步任务 | `none`、`low`、`medium`、`high`、`xhigh` | `none`   |
| `gpt-5.4-mini` | Chat、Responses | 大批量编程和代理任务   | `none`、`low`、`medium`、`high`、`xhigh` | `none`   |
| `gpt-5.4-nano` | Chat、Responses | 高频分类、排名与信息提取 | `none`、`low`、`medium`、`high`、`xhigh` | `none`   |
| `gpt-5.2`      | Chat、Responses | 复杂专业工作       | `none`、`low`、`medium`、`high`、`xhigh` | `none`   |
| `gpt-5.1`      | Chat、Responses | 编程和多步任务      | `none`、`low`、`medium`、`high`         | `none`   |

OpenAI 已宣布 `gpt-5.4-nano` 和 `gpt-5.1` 将于 2027 年 4 月 1 日停用，分别建议迁移到 `gpt-6-luna` 和 `gpt-6-sol`。[停用公告](https://developers.openai.com/api/docs/deprecations#upcoming-deprecations)

`Chat` 指 `POST /v1/chat/completions`，`Responses` 指 `POST /v1/responses`。部署别名 `gpt-5.4-ssvip`、`gpt-5.4-pro-ssvip`、`gpt-5.4-nano-ssvip` 的协议需按完整 ID 核对。[routerlio 路由别名](https://little-butterfly-9bfe.sentia389.workers.dev/models/openai/routing-aliases.md)

## 关键参数

| 字段                                      | 类型              | 适用条件和用法                                                        |
| --------------------------------------- | --------------- | -------------------------------------------------------------- |
| `model`                                 | 字符串             | 使用上表精确 ID。更换分档时检查推理默认值与工具种类                                    |
| `messages` / `input`                    | 对象数组 / 字符串或对象数组 | 分别表示 Chat 的会话历史、Responses 的文本或输入项                              |
| `reasoning_effort` / `reasoning.effort` | 字符串             | 按入口和上表选择。GPT-5.1 的上限为 `high`，从初代升级时需替换 `minimal`               |
| `temperature`、`top_p`、`logprobs`        | 数字、数字、布尔值（Chat） | 官方 GPT-5.2、GPT-5.4 仅在推理强度为 `none` 时接受这些采样参数。其他档按各自指南核对         |
| `tools`                                 | 对象数组            | 任务需要外部操作时才添加；例如官方 GPT-5.4 mini 支持工具搜索与计算机使用，切换 nano 时需逐项检查工具支持 |

## 请求与响应

以下使用 GPT-5.4 mini 提取工单类别。确认当前 ID 接受该字段后，向 `POST /v1/chat/completions` 发送：

```json
{
  "model": "gpt-5.4-mini",
  "messages": [
    {
      "role": "user",
      "content": "把这张工单归为网络、存储或账号，只返回类别：重置密码链接已过期。"
    }
  ],
  "reasoning_effort": "none"
}
```

非流式成功响应示例：

```json
{
  "id": "chatcmpl_example",
  "object": "chat.completion",
  "created": 1795900800,
  "model": "gpt-5.4-mini",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "账号"
      },
      "finish_reason": "stop"
    }
  ]
}
```

## OpenAI 官方参考

- [GPT-5.1](https://developers.openai.com/api/docs/models/gpt-5.1) · [GPT-5.2](https://developers.openai.com/api/docs/models/gpt-5.2) · [GPT-5.4](https://developers.openai.com/api/docs/models/gpt-5.4)
- [GPT-5.4 mini](https://developers.openai.com/api/docs/models/gpt-5.4-mini) · [GPT-5.4 nano](https://developers.openai.com/api/docs/models/gpt-5.4-nano) · [GPT-5.5](https://developers.openai.com/api/docs/models/gpt-5.5)
- [GPT-5.4 参数兼容性](https://developers.openai.com/api/docs/guides/latest-model/gpt-5.4) · [Chat Completions 创建接口](https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create) · [Responses 创建接口](https://developers.openai.com/api/reference/resources/responses/methods/create)
