Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
context | OptionalNullable[components.ReasoningContext] | âž– | Controls which reasoning is available to the model. auto uses the model default (same as omitting); all_turns includes reasoning from earlier turns passed in input; current_turn limits to the current turn only. Only supported by OpenAI GPT-5.6 and newer. | all_turns |
effort | OptionalNullable[components.ReasoningEffort] | âž– | N/A | medium |
mode | OptionalNullable[components.ReasoningMode] | âž– | Selects the reasoning mode. standard is the default; pro engages deeper reasoning on models that support it, billed at standard token rates. Only supported by OpenAI GPT-5.6 and newer. | standard |
summary | OptionalNullable[components.ReasoningSummaryVerbosity] | âž– | N/A | auto |
enabled | OptionalNullable[bool] | âž– | N/A | |
max_tokens | OptionalNullable[int] | âž– | N/A |