Reasoning
Which model ids reason and how to set the effort.
Reasoning is chosen by the model id first. Only one id has an effort setting.
| Model id | Reasoning | Effort |
|---|---|---|
deepseek-v4.1-flash-1017-abliterated | Always off | Ignored, whatever you send |
deepseek-v4.1-flash-1017-abliterated:thinking | Always on | low, high or max. Default high. |
| All other models | No control | Ignored |
Setting the effort
On /v1/chat/completions, send reasoning_effort. The nested form "reasoning": {"effort": "..."} is also read.
{
"model": "deepseek-v4.1-flash-1017-abliterated:thinking",
"reasoning_effort": "max",
"max_tokens": 8000,
"messages": [{"role": "user", "content": "Prove that the square root of 2 is irrational."}]
}On /v1/messages, send output_config.effort. A top-level reasoning_effort is also read. The thinking parameter is dropped.
{
"model": "deepseek-v4.1-flash-1017-abliterated:thinking",
"output_config": { "effort": "low" },
"max_tokens": 8000,
"messages": [{"role": "user", "content": "Prove that the square root of 2 is irrational."}]
}Things to know
- A value that is not in the model's
reasoning_effortslist is not an error. The default is used instead. - Reasoning tokens are billed as output tokens and count against
max_tokens. Leave room for the answer when you set it. - The plain id is the cheaper and faster choice. It cannot be switched to reasoning with a parameter. Change the model id.
GET /v1/modelsreports this per model incapabilities.reasoning,reasoning_effortsanddefault_reasoning_effort.