ApiX Docs
Docs / Reasoning
·View as Markdown

Reasoning

Reasoning models accept reasoning_effort (low, medium, high) and return their thinking separately from the answer:

ProtocolWhere the reasoning is
Chatmessage.reasoning_content (delta.reasoning_content while streaming)
Anthropicthinking blocks
Usageusage.completion_tokens_details.reasoning_tokens

Reasoning tokens count against max_tokens. A very small limit can be spent thinking, leaving content empty and finish_reason: "length".