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

# Reasoning

> reasoning_content and <think> handling.

# Reasoning

Reasoning models stream `reasoning_content` deltas alongside `content`.
Non-streamed calls return it on the message:

```json theme={null}
{
  "message": {
    "role": "assistant",
    "content": "Final answer…",
    "reasoning_content": "Chain of thought…"
  }
}
```

Some checkpoints (R1-distill style) embed `<think>…</think>` inside
`content` instead of a separate channel. The server splits it out: the
`<think>` span is appended to `reasoning_content` and stripped from
`content`, so you only ever render one thinking block.

Render `reasoning_content` in a collapsible block and `content` as the
answer. In streams both arrive as deltas — accumulate each separately.


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