> ## Documentation Index
> Fetch the complete documentation index at: https://docs.otamd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reasoning

> Control reasoning effort and visibility.

Reasoning tokens count toward output usage. Use lower effort for faster, shorter responses.

| Model | Default | Efforts |
| - | - | - |
| `deepseek-v4.1-flash-unrestricted` | high | none, low, high, max |
| `glm-5.3-unrestricted` | max | low, high, max |

Use `reasoning_effort` in Chat Completions, `reasoning.effort` in Responses, and `output_config.effort` in Messages.

`none` disables reasoning where supported. GLM 5.3 always reasons: disable-shaped controls select low effort and hide the trace. Hiding reasoning does not remove its token cost.

Reasoning appears in `message.reasoning_content` for Chat, reasoning output items for Responses, and thinking blocks for Messages. The Playground displays reasoning separately from the answer.

```javascript theme={null}
const result = await client.chat.completions.create({
  model: "deepseek-v4.1-flash-unrestricted",
  messages: [{ role: "user", content: "Explain this design tradeoff." }],
  reasoning_effort: "low",
  max_tokens: 2048,
});
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.