Reasoning
For models that support reasoning (chain-of-thought), you can control the depth of reasoning with the reasoning_ parameter.
What you’ll learn:
- How to tell whether a model supports reasoning control
- How to use the
reasoning_parametereffort - How to disable reasoning for Qwen 3.6 models
Accepted values
Section titled “Accepted values”Accepted reasoning_ values and the datasheet default:
| Model | ID | reasoning_effort | Datasheet default |
|---|---|---|---|
| Claude Opus 5.5 | claude- | none, minimal, low, medium, high, xhigh, max | Not listed |
| Claude Sonnet 5.5 | claude- | none, minimal, low, medium, high, xhigh, max | Not listed |
| DeepSeek V4.1 Flash | DeepSeek- | none, minimal, low, medium, high, xhigh, ultra, max | Not listed |
| Gemini 3 Flash | gemini- | none, minimal, low, medium, high | high |
| Gemini 3.5 Flash | gemini- | none, minimal, low, medium, high | medium |
| Gemini 3.8 Flash | gemini- | low, medium, high | medium |
| Gemma 4 | gemma- | low, medium, high | Not listed |
| GLM 5.3 | GLM- | none, high, max | max |
| GLM 5.3 Flash | GLM- | low, high, max | max |
| GPT-5.6 Sol | gpt- | none, low, medium, high, xhigh | medium |
| GPT-5.6 Terra | gpt- | none, low, medium, high, xhigh | medium |
| GPT-6 Luna (>272k) | gpt- | none, low, medium, high, xhigh | medium |
| GPT-6 Luna (≤272k) | gpt- | none, low, medium, high, xhigh | medium |
| GPT-6.1 Sol (>272k) | gpt- | low, medium, high, xhigh | medium |
| GPT-6.1 Sol (≤272k) | gpt- | low, medium, high, xhigh | medium |
| GPT-OSS 120B | gpt- | low, medium, high | medium |
| Mistral Small 4 | Mistral- | none, high | none |
| Qwen 3.6 35B FP8 | Qwen- | none, low, medium, high | Not listed |
| Qwen 3.8 27B FP8 | Qwen3. | none, low, medium, xhigh | low |
A few models are exceptions worth knowing about:
- DeepSeek V4.1 Flash reasons by default, when the request sends no
reasoning_.effort noneturns reasoning off. The other values in the table all switch it on; how far they change its depth is not documented. The reasoning text is inmessage..reasoning_ content - Mistral models accept only
noneandhigh. Sendinglowormediumreturns HTTP 400 withreasoning_effort= ... is not supported by Mistral models. - Some newer Anthropic models reject
reasoning_and control thinking differently; the error names the alternative to use.effort - Code-specialised models may reject the parameter outright with
The requested operation is unsupported.
If a model rejects reasoning_, check its entry in Chat & reasoning models.
Using reasoning_effort
Section titled “Using reasoning_effort”from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create( model="GLM-5.3" , messages=[ {"role": "system", "content": "You are a concise and helpful assistant." }, {"role": "user", "content": "What is the capital of France?"}, ], reasoning_effort ="high" , # GLM-5.3 accepts "none", "high", or "max" )
print(response.choices[ 0].message.content) The sample uses reasoning_ on GLM-. The datasheet lists none, high, and max for that model. Do not assume every model accepts the same values.
Disabling reasoning for Qwen 3.6
Section titled “Disabling reasoning for Qwen 3.6”For Qwen 3.6 models, set reasoning_ to disable reasoning. The prompt keyword /no_ does not switch it off: the model still reasons.
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create( model="Qwen3.6-35B-A3B-FP8" , messages=[ {"role": "system", "content": "You are a helpful assistant." }, {"role": "user", "content": "What is your name?"}, ], reasoning_effort ="none" ,)
print(response.choices[ 0].message.content) The response then reports reasoning_ in usage.
Limitations and troubleshooting
Section titled “Limitations and troubleshooting”Known limits:
- Mistral models accept only
noneandhigh. Sendinglowormediumreturns HTTP 400 withreasoning_effort= ... is not supported by Mistral models. - Some newer Anthropic models reject
reasoning_. The error names the alternative.effort - Some code-specialised models reject the parameter with
The requested operation is unsupported. GLM-accepts5. 3 reasoning_without an error, but still reasons: the response carries reasoning and reports reasoning tokens.effort= "none"
Next steps
Section titled “Next steps” Chat completions The chat call this parameter is added to.
Function calling Tools on the same client.
Recommended models GLM 5.3 and Qwen 3.6 35B on T Cloud.