你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReasoningEffort type

限制对推理模型的努力。 目前支持的值为 noneminimallowmediumhighxhigh、 和 。 减少推理工作量可以加快回复速度,减少回复中用于推理的标记。

  • gpt-5.1 默认为 none,不进行推理。 支持的 gpt-5.1 推理值为 nonelowmediumhigh。 gpt-5.1 中的所有推理值都支持工具调用。
  • 所有模型之前 gpt-5.1 默认采用 medium 推理努力,且不支持 none
  • gpt-5-pro 模型默认(且仅支持) high 推理努力。
  • xhigh 支持所有之后 gpt-5.1-codex-max的型号。
type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh"