Skip to main content
All three models think by default. Control it with reasoning_effort — and budget for it in max_completion_tokens.

reasoning_effort

Invalid values are rejected with 400 invalid_value naming the offending parameter.
Thinking is on by defaultOmitting reasoning_effort is not “no reasoning” — it is high reasoning on all three models. On DeepSeek and Particle-1, set "reasoning_effort": "none" explicitly for a fast, non-thinking response. On GLM there is no off switch: every thinking-off selector (reasoning_effort: "none", reasoning.enabled: false, or a false thinking/enable_thinking template kwarg) is rejected on /v1/chat/completions.

Reasoning tokens and billing

  • Reasoning tokens are real generated tokens: they count against the model’s output budget and against max_completion_tokens / max_tokens.
  • Particle-1 and DeepSeek structured chat requests reserve part of that budget for the final JSON answer while retaining the selected reasoning effort. See Structured outputs.
  • They are billed as output tokens at the model’s output rate. Reasoning is a breakdown, not an add-on.
  • Usage reports them in usage.completion_tokens_details.reasoning_tokens; usage.completion_tokens already includes them.
  • Streaming: reasoning streams inside the normal delta frames (field delta.reasoning_content) before visible content starts, so the same frame cadence applies.

Raw engine controls

Need something the ladder doesn’t express? The gateway passes chat_template_kwargs through to the engine untouched: json
  • chat_template_kwargs passes through to the engine. Explicit keys win over translated reasoning_effort. On DeepSeek and Particle-1 you can also set an exact integer effort (1–100): chat_template_kwargs: {"reasoning_effort": 42, "thinking": true} — an effort scale, not a token budget.
  • All three models accept the top-level reasoning_effort parameter.
  • Both reasoning: {"effort": …} and the legacy include_reasoning boolean are accepted and translated, so OpenRouter- and OpenCode-style clients work unchanged.
Thinking adds real wall-clock time before the first visible token. For interactive UIs, either set "reasoning_effort": "none" or "low" (DeepSeek V4.1 Flash and Particle-1), or stream and render delta.reasoning_content as it arrives so users see progress.