Controlling Reasoning
Some models — called reasoning models — spend tokens on internal thinking before
they answer. The platform returns this thinking in the reasoning field of the
assistant message and reports its size in
usage.completion_tokens_details.reasoning_tokens. Reasoning tokens are output
tokens: they’re billed as output and they count towards max_tokens.
This page explains the three request parameters that control reasoning on
POST /v1/chat/completions, and how each model on the platform responds to them.
The defaults give good results for most tasks, so start with them. Adjust these parameters if a model spends a lot of tokens overthinking simple problems, or doesn’t think complex ones through enough.
The three controls
Section titled “The three controls”thinking_token_budget — an exact, platform-enforced cap on reasoning
tokens. When the model reaches the budget, reasoning ends and the model
proceeds with its answer. Use -1 or drop the parameter for no limit. The budget behaves the
same for every reasoning model, and the model can’t ignore it. It’s only
supported on reasoning models — other models reject requests that set it.
reasoning_effort — a graded hint (none, minimal, low, medium,
high, xhigh, max) that the platform passes to the model. Its effect depends
entirely on the model: some models honour several levels, some ignore the hint
completely, and some reject unsupported values.
chat_template_kwargs — model-specific switches passed to the model’s chat
template. This is how you turn thinking off entirely on models that support a
thinking toggle. The available switches differ per model.
Per-model support
Section titled “Per-model support”The Default column shows whether the model spends tokens on reasoning when
you don’t send any of these parameters. “Budget” means thinking_token_budget,
“effort” means reasoning_effort, and the “disable switch” is sent through
chat_template_kwargs — when the table says “Yes”, the exact switch is listed
in disable switches below.
The table uses the same display names as the cards on supported models; the full model IDs are listed in model names below.
| Model | Default | Budget | Effort | Disable |
|---|---|---|---|---|
| GLM-5.3 | Yes | Exact cap | high (default), low; unsupported values map to high |
No |
| Gemma 4 26B A4B IT | Yes | Exact cap | none disables; other values have no effect |
Yes |
| Kimi K2.6 | Yes | Exact cap | none disables; other values have no effect |
Yes |
| roc | Yes | Exact cap | none disables; other values have no effect |
Yes |
| Qwen3.6 35B-A3B | Yes | Exact cap | none disables; other values have no effect |
Yes |
| Qwen3.8 27B | Yes | Exact cap | xhigh (default), medium, low |
Yes |
| Mistral Medium 3.5 | No (high turns it on) |
Supported, but has no effect while thinking is off | none (default) or high |
Ignored |
| Voxtral Small 24B | No | Not supported | none and high |
Not supported |
| GPT OSS 120B | Yes (in content, not reasoning) |
Not supported | low, medium, high |
Ignored |
| Llama 3.3 70B Instruct | No | Not supported | No effect | Ignored |
Disable switches
Section titled “Disable switches”Send these through chat_template_kwargs to turn thinking off entirely:
{"enable_thinking": false}— Gemma 4 26B A4B IT, Qwen3.6 35B-A3B, Qwen3.8 27B{"thinking": false}or{"enable_thinking": false}— Kimi K2.6 and roc
GLM-5.3 can’t disable thinking at all. Cap its reasoning with
thinking_token_budget instead.
Model names
Section titled “Model names”| Model | Model ID |
|---|---|
| GLM-5.3 | zai-org/GLM-5.3 |
| Gemma 4 26B A4B IT | google/gemma-4-26B-A4B-it |
| Kimi K2.6 | moonshotai/Kimi-K2.6 |
| roc | evroc/roc |
| Qwen3.6 35B-A3B | Qwen/Qwen3.6-35B-A3B-FP8 |
| Qwen3.8 27B | Qwen/Qwen3.8-27B |
| Mistral Medium 3.5 | mistralai/Mistral-Medium-3.5-128B |
| Voxtral Small 24B | mistralai/Voxtral-Small-24B-2507 |
| GPT OSS 120B | openai/gpt-oss-120b |
| Llama 3.3 70B Instruct | nvidia/Llama-3.3-70B-Instruct-FP8 |
Common pitfalls
Section titled “Common pitfalls”-
The budget is a hard cut. If the model is stopped mid-thought, it has to answer from incomplete reasoning, and the answer quality degrades. Start with a generous budget and lower it over time as you learn how much reasoning your tasks need.
-
Reasoning shares
max_tokens. If the model is still thinking whenmax_tokensis reached, the response ends withfinish_reason: "length"andcontentisnull. Raisemax_tokenstogether with any high effort setting. -
Kimi K2.6 and
evroc/roccan produce reasoning-style text incontentwhen thinking is disabled, and the response can continue until it reachesmax_tokens(finish_reason: "length"). If you want bounded, structured behaviour, preferthinking_token_budget. -
Mistral Medium 3.5 at
highproduces reasoning without limit untilmax_tokens. Pair it with athinking_token_budget:Terminal window curl https://models.think.evroc.com/v1/chat/completions \-H "Authorization: Bearer $EVROC_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "mistralai/Mistral-Medium-3.5-128B","messages": [{"role": "user", "content": "What weekday was 100 days before Thu Nov 5 2026?"}],"reasoning_effort": "high","thinking_token_budget": 512,"max_tokens": 2000}'
Examples
Section titled “Examples”Turn thinking off entirely on Qwen3.8-27B (clean, structured output):
curl https://models.think.evroc.com/v1/chat/completions \ -H "Authorization: Bearer $EVROC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "Qwen/Qwen3.8-27B", "messages": [{"role": "user", "content": "What weekday was 100 days before Thu Nov 5 2026?"}], "chat_template_kwargs": {"enable_thinking": false} }'Cap reasoning on a model that can’t disable thinking (GLM-5.3):
curl https://models.think.evroc.com/v1/chat/completions \ -H "Authorization: Bearer $EVROC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "zai-org/GLM-5.3", "messages": [{"role": "user", "content": "What weekday was 100 days before Thu Nov 5 2026?"}], "thinking_token_budget": 128 }'Check how many reasoning tokens a response used with
usage.completion_tokens_details.reasoning_tokens in the response.
For the full request schema, see the Inference API reference. For the list of available models, see supported models.