When reasoning is returned
Messages and Responses hide the model’s reasoning unless the request asks for it, because a thinking block nobody asked for breaks strict clients (Claude Code with thinking off, for one). Chat Completions returns it by default inreasoning_content. OpenAI clients that don’t know
the field ignore it, and agent tools such as OpenCode, Cline, Kilo and LiteLLM show it as
thinking. Send "include_reasoning": false to leave it out.
Nothing changes about the model’s behavior. Reasoning models still reason. The flag
controls whether those tokens are surfaced to you, not whether they are produced.
Asking for it
Each dialect has its own opt-in, and each returns the reasoning in that dialect’s native shape.reasoning_content is the DeepSeek/GLM/OSS convention rather than anything OpenAI
publishes, because OpenAI’s own API does not return chain-of-thought at all. Read it
defensively — treat a missing field as “no reasoning”, never as an error.Effort levels
Reasoning models that expose effort levels accept them on every dialect, and an effort level a model doesn’t offer is translated to the next level down that it does offer. You get an answer at a supported level rather than an error, and never more thinking than you asked for. That matters for agents whose config bakes inxhigh: on a model that offers
high and max, the request runs at high. Two exceptions: medium runs at high on a
model with no medium, and a level with nothing below it runs at the lowest level the
model offers.
The response says which level ran in x-sideren-reasoning-effort, for example
high (requested xhigh). none turns thinking off on every model that has an off switch; a
model that always thinks runs at its lowest level instead, and the header says so.
The same translation applies to the other knobs an egress needs (an output ceiling a
model can’t express is clamped to its maximum, for example). If a request declares a hard
requirement no placement of the model can honour at all — a forced tool_choice, a strict
response_format — you get a 422 before anything is sent, not a silently weaker
request. See Errors.
Which models reason
Check the catalog rather than assuming:capabilities.reasoning on each
GET /v1/models entry, and the Reasoning capability tag on each
model’s page at sideren.io/models. It is a large slice of the catalog and it is not confined to one
tier — several workhorse models reason, and some frontier models do not surface it.
Check before you set an effort level: a model without a reasoning mode can’t honour one
exactly, so it is handled like any other effort mismatch — see
Effort levels.
Budget for it
This is the part that surprises people:- Hidden reasoning still costs output tokens. It is generated, so it is billed and it uses your tokens (or balance, on Free and in PAYG mode) exactly like visible output.
- It counts against
max_tokens. On a reasoning model, a tight output ceiling can be consumed entirely by thinking, leaving a truncated or empty answer withfinish_reason: "length". Budget generously — a ceiling that is comfortable on a non-reasoning model is often too small here. - From
max_tokens8,192 up, thinking gets its own room. On a reasoning model where thinking has no separate budget, we give the model up to the same amount again for thinking (at most 32,768 tokens), within the model’s limits and your plan’s. So an agent that asks for 32,000 tokens still has room for its answer after a long think. You pay only for the tokens actually generated. Claude models, an explicit thinking budget (thinking.budget_tokens) and smaller ceilings keepmax_tokensexactly as sent. reasoning_tokenscan be an estimate. Some providers don’t report a reasoning count. We then estimate it from the reasoning text, never abovecompletion_tokens. The same number isusage.output_tokens_details.thinking_tokenson Messages. What you are billed comes fromcompletion_tokens, the provider’s own count.reasoning_effortis a dial, not a switch. Higher effort means more reasoning tokens and a slower, more expensive turn. Start at the low end and raise it only where the answers justify it.
A ceiling that leaves room to think
Streaming
Reasoning streams like any other content. On the Messages dialect it arrives as athinking content block that opens, deltas, and closes before the text block starts — so a
UI can show “thinking…” and then swap to the answer. See Streaming.