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

# o1 (2024-12-17)

> o1 (2024-12-17) | 文字與推理

文字與推理 · `o1-2024-12-17`

使用帶日期的完整 ID 固定版本，不會隨別名更新。

`POST /v1/responses`

請在 [MixRoute 模型廣場](https://console.mixroute.ai/models) 確認金鑰分組的可用性。列入目錄不代表路由已開放。

> [!WARNING]
>
> 傳回 `status: "incomplete"` 不代表已取得完整答案。請檢查 `incomplete_details`，並為推理與答案保留足夠的輸出 Token。

## 快速範例

執行前請設定 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/responses' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "o1-2024-12-17",
  "input": "Reply with OK only.",
  "max_output_tokens": 128
}'
```

從回應訊息取得 `output_text` 文字區塊。

## 參數

| 欄位 | 說明 |
| - | - |
| `model` | `o1-2024-12-17`. 使用上方列出的完整模型 ID。 |
| `input` | 輸入文字。 |

## API 參考

* [Responses](https://mixroute.ai/docs/zh-Hant/api-reference/endpoint/responses-openai.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.