#[non_exhaustive]pub enum ReasoningEffort {
None,
Minimal,
Low,
Medium,
High,
Xhigh,
}Expand description
Defines the level of reasoning effort the model should apply
This enum controls how much computational effort the model invests in reasoning through complex problems before generating a response.
§Model Support
| Model | Supported Values |
|---|---|
| GPT-5.2, GPT-5.2-pro | none, low, medium, high, xhigh |
| GPT-5.1 | none, low, medium, high |
| GPT-5-mini | minimal, medium, high |
| o1, o3, o4 series | low, medium, high |
§API Reference
Corresponds to the reasoning.effort parameter in the OpenAI Responses API.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
None
No reasoning tokens - fastest response (GPT-5.1/5.2 default)
Use this when you don’t need reasoning capabilities and want the fastest possible response time.
Minimal
Minimal reasoning effort - fastest response time
Use this for simple queries that don’t require deep analysis.
Low
Low reasoning effort - balanced performance
Use this for moderately complex queries that benefit from some reasoning.
Medium
Medium reasoning effort - comprehensive analysis
Use this for complex queries that require thorough consideration.
High
High reasoning effort - maximum thoughtfulness
Use this for very complex queries requiring deep, careful analysis.
Xhigh
Extra-high reasoning effort - quality-critical work (GPT-5.2 only)
Use this for the most demanding tasks requiring maximum reasoning quality. Only available on GPT-5.2 and GPT-5.2-pro models.
Trait Implementations§
Source§impl Clone for ReasoningEffort
impl Clone for ReasoningEffort
Source§fn clone(&self) -> ReasoningEffort
fn clone(&self) -> ReasoningEffort
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more