> 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.

# OpenAI o 系列

| 模型 ID          | 官方支持的协议        | 适用任务和生命周期                                                             |
| -------------- | -------------- | --------------------------------------------------------------------- |
| `o3`           | Chat、Responses | 文本和图像输入，适合复杂多步推理。OpenAI 将于 2026 年 12 月 11 日停用此 ID，建议迁移到 `gpt-6.1-sol` |
| `o3-mini-high` | 待路由确认          | OpenAI 发布公告用此名称指 ChatGPT 模型选择项。routerlio 同名 ID 的上游映射、强度和协议需按接入配置核对    |

`Chat` 指 `POST /v1/chat/completions`，`Responses` 指 `POST /v1/responses`。`o3-mini` 和 `o1` 在停用前均支持两种协议，OpenAI 已于 2026 年 10 月 23 日停止其标准 API 服务，建议迁移到 `gpt-5.6-sol`。[停用公告](https://developers.openai.com/api/docs/deprecations)

## 关键参数

| 字段                                            | 类型              | 适用条件和用法                                                |
| --------------------------------------------- | --------------- | ------------------------------------------------------ |
| `model`                                       | 字符串             | 使用 `o3` 或迁移目标的完整型号 ID                                  |
| `input` / `messages`                          | 字符串或对象数组 / 对象数组 | 分别用于 Responses 和 Chat。处理图像时按入口组织内容项                    |
| `reasoning.effort` / `reasoning_effort`       | 字符串             | `o3` 支持 `low`、`medium`、`high`。前者用于 Responses，后者用于 Chat |
| `max_output_tokens` / `max_completion_tokens` | 整数              | 分别用于 Responses 和 Chat，预算涵盖推理及回复。只返回少量可见文字的任务也可能用尽预算    |

## 请求与响应

若 `o3` 在当前 Key 下支持 `POST /v1/responses`，可以用下面的算术题检查文本输入和解析逻辑。该请求展示官方协议用法。

```json
{
  "model": "o3",
  "input": "先算 7 加 5，再将结果乘以 3。只给最终结果。",
  "reasoning": {
    "effort": "medium"
  }
}
```

非流式响应示例。优先检查 `status`。从消息项的 `content` 读取 `output_text`，实际 `output` 中可能另有推理项。

```json
{
  "id": "resp_example",
  "object": "response",
  "created_at": 1795900800,
  "model": "o3",
  "status": "completed",
  "output": [
    {
      "id": "msg_example",
      "type": "message",
      "role": "assistant",
      "status": "completed",
      "content": [
        {
          "type": "output_text",
          "text": "36",
          "annotations": []
        }
      ]
    }
  ]
}
```

## OpenAI 官方参考

- [o1](https://developers.openai.com/api/docs/models/o1) · [o3](https://developers.openai.com/api/docs/models/o3) · [o3-mini](https://developers.openai.com/api/docs/models/o3-mini) · [o3-mini 发布时的推理强度与 ChatGPT 名称](https://openai.com/index/openai-o3-mini/)
- [推理指南](https://developers.openai.com/api/docs/guides/reasoning) · [停用公告](https://developers.openai.com/api/docs/deprecations) · [Responses 创建接口](https://developers.openai.com/api/reference/resources/responses/methods/create) · [Chat Completions 创建接口](https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create)
