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

# 推理模式

在 OpenAI 中，推理模型默认开启推理模式，我们可以通过 Response API 的 `reasoning.effort` 参数配置推理的思考深度：

<CodeGroup>
  ```bash curl theme={null}
  curl --location --request POST 'https://geekai.co/api/v1/responses' \
  --header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}' \
  --header 'Content-Type: application/json' \
  --data-raw '{
      "model": "gpt-5",
      "input": "请给一个八十岁老太太解释什么是薛定谔的猫?",
      "reasoning": {
        "effort": "medium"
      }
  }'
  ```
</CodeGroup>

`reasoning.effort` 可选值有 `minimal`、`low`、`medium`、`high`，目前仅 GPT-5 系列和 O 系列模型支持推理模式配置，其中 `gpt-5-pro` 默认配置值为 `high`，其他模型默认配置值为 `medium`。
