> 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.6 系列

| 模型 ID           | OpenAI 官方定位                        | 官方支持的协议        |
| --------------- | ---------------------------------- | -------------- |
| `gpt-5.6-sol`   | 复杂专业工作与编程                          | Chat、Responses |
| `gpt-5.6-terra` | 需要兼顾质量与成本的工作负载                     | Chat、Responses |
| `gpt-5.6-luna`  | 分类、提取等高吞吐任务                        | Chat、Responses |
| `gpt-5.6`       | OpenAI API 将此官方别名映射到 `gpt-5.6-sol` | Chat、Responses |

`Chat` 指 `POST /v1/chat/completions`，`Responses` 指 `POST /v1/responses`。routerlio 的别名映射和入口按完整 ID 核对，包括带 `-cdx`、`-ssvip` 或 `-openai-compact` 的名称。[routerlio 路由别名](https://little-butterfly-9bfe.sentia389.workers.dev/models/openai/routing-aliases.md)

## 关键参数

| 字段                                      | 类型              | 适用条件和用法                                                                        |
| --------------------------------------- | --------------- | ------------------------------------------------------------------------------ |
| `model`                                 | 字符串             | 对目标有明确分档要求时，使用 Sol、Terra 或 Luna 的完整 ID                                         |
| `input` / `messages`                    | 字符串或对象数组 / 对象数组 | Responses 使用 `input`，Chat 使用 `messages`                                        |
| `reasoning.effort` / `reasoning_effort` | 字符串             | 三档官方支持 `none`、`low`、`medium`（默认）、`high`、`xhigh`、`max`。前者用于 Responses，后者用于 Chat |
| `tools`                                 | 对象数组            | GPT-5.6 在 Chat 使用函数调用时要求 `reasoning_effort: "none"`。结合推理与工具调用时使用 Responses     |
| `reasoning.mode`                        | 字符串             | OpenAI Responses 支持 `standard` 和 `pro`。模式和推理强度独立设置，两种模式的默认推理强度均为 `medium`      |
| `max_output_tokens`                     | 整数              | 限制 Responses 的推理与可见输出总量。若响应为 `incomplete`，检查 `incomplete_details.reason`       |

## 请求与响应

以下用 Sol 说明备份和恢复演练的关系。若当前 Key 已确认支持对应参数，发送 `POST /v1/responses`：

```json
{
  "model": "gpt-5.6-sol",
  "input": "用一句话概括备份和恢复演练的关系。",
  "reasoning": {
    "effort": "low"
  }
}
```

非流式响应示例。按类型查找消息和 `output_text`；实际 `output` 中也可能含有推理项或工具调用。

```json
{
  "id": "resp_example",
  "object": "response",
  "created_at": 1795900800,
  "model": "gpt-5.6-sol",
  "status": "completed",
  "output": [
    {
      "id": "msg_example",
      "type": "message",
      "role": "assistant",
      "status": "completed",
      "content": [
        {
          "type": "output_text",
          "text": "备份保留数据副本，恢复演练检验这些副本能否恢复业务。",
          "annotations": []
        }
      ]
    }
  ]
}
```

## OpenAI 官方参考

- [GPT-5.6 Sol](https://developers.openai.com/api/docs/models/gpt-5.6-sol) · [GPT-5.6 Terra](https://developers.openai.com/api/docs/models/gpt-5.6-terra) · [GPT-5.6 Luna](https://developers.openai.com/api/docs/models/gpt-5.6-luna)
- [GPT-5.6 参数指南](https://developers.openai.com/api/docs/guides/latest-model/gpt-5.6) · [GPT-5.6 函数调用兼容性](https://developers.openai.com/api/docs/guides/upgrading-to-gpt-5p6-sol#chat-completions-and-function-tools) · [推理强度与模式](https://developers.openai.com/api/docs/guides/reasoning)
- [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)
