Skip to main content
Reasoning is a per-model capability: check supports_reasoning in GET /v1/models. It trades tokens, cost, and latency for quality on hard problems.

Turn It On

Clients that can only set model can use a suffix: moonshotai/kimi-k3.1-pro:confidential?reasoning_effort=high. Body and suffix must agree or the request fails with 400. See Model ID Convention.

Output

choices[].message.reasoning_details is an array of the model’s thinking, each entry with type, summary, id, format, and index. It is a summary, not a verbatim transcript. usage.reasoning_tokens counts the tokens spent thinking, separate from completion_tokens.
On a stream, reasoning_details deltas arrive ahead of the content. See Streaming.

Cost

Reasoning tokens count toward usage on top of prompt and completion tokens. Higher effort means more of them. Save reasoning for problems that need it.

Privacy

Works on :confidential models that advertise supports_reasoning. On :encrypted calls, reasoning is accepted when the route advertises visible reasoning support.

Chat Completions

The endpoint.

Streaming

Token by token.

Tool Calling

Function calls.

How Privacy Works

Privacy-preserving hardware on every call.

Chat Completions Endpoint

Schema reference.