Skip to main content
IO Intelligence supports models that can “think” before answering — exposing their step-by-step reasoning alongside the final response. You control this behavior with a single, OpenAI-compatible reasoning field on every chat completion request.

Enable or disable reasoning

Add a reasoning object to your /v1/chat/completions payload:
The same field works for every model that supports reasoning — no per-model configuration required.
Not every model offers every effort level. A level a model does not offer is mapped to the closest one it does, so the request still succeeds — the thinking the model actually does may be one step lighter or deeper than you asked for.
When a request sets response_format to json_object or json_schema, thinking is turned off unless you enable reasoning explicitly with the reasoning field. Thinking combined with a JSON response format can produce invalid JSON.

Quickstart

Enable reasoning (curl)

Disable reasoning (curl)

Python (OpenAI SDK)

Node.js (OpenAI SDK)

Reading the response

When reasoning is enabled, the model’s chain of thought is returned in choices[0].message.reasoning_content, and reasoning tokens are reported in usage.completion_tokens_details.reasoning_tokens:
When reasoning is disabled ("effort": "none"):
  • reasoning_content is null or omitted
  • reasoning_tokens is 0 (or near-zero for models that always think internally)
  • The visible answer is in content only

Streaming

Reasoning works with "stream": true as well. While the model is thinking, you’ll receive delta events with a reasoning_content field; once thinking finishes, regular content deltas follow.

Backwards compatibility

  • Requests without the reasoning field continue to behave exactly as before.
  • The legacy reasoning_effort top-level string is still accepted, and takes the same values as reasoning.effort.
    You can safely roll out the new field at your own pace.

Errors

Models Enabled

Most IO Intelligence models support enabling and disabling reasoning, and the list changes as models are added and retired. The supports_reasoning field on each entry of GET /models tells you whether a model accepts the reasoning field — the Models page shows the same flag in its Capabilities column. Behavior varies between models:
  • Most models toggle cleanly between reasoning and no reasoning.
  • Some always reason internally. On those, "effort": "none" suppresses reasoning_content but does not stop the model from thinking, and a small number reject "effort": "none" with a 400.
  • Some don’t engage reasoning for trivial prompts even when it is enabled.

FAQs

No. Use reasoning.effort everywhere, IO Intelligence handles the rest.
Reasoning tokens are billed as completion tokens. none skips them entirely; low/medium/high each produce progressively more reasoning tokens. Exact budgets vary by model.
Yes, just don’t render reasoning_content in your UI. It’s returned as a separate field so you can choose whether to show it.
Yes. Reasoning happens before tool selection; the chain of thought explains why the model chose a particular tool call.