Turning it on
Setreasoning_effort to low, medium or high. none turns thinking off.
"chat_template_kwargs": {"enable_thinking": true}. In the
OpenAI Python SDK, pass it as extra_body={"chat_template_kwargs": {"enable_thinking": True}}.
Where the thinking goes
The thinking comes in a separatereasoning field, and content holds only the answer:
delta.reasoning before the answer starts in delta.content.
Some clients read a field named
reasoning_content. fastrun uses reasoning.Cost and limits
Thinking tokens are output tokens: they count towardcompletion_tokens, max_tokens and the price. Leave enough
room in max_tokens for both the thinking and the answer, or the answer may be cut off.
Reasoning works together with tool calling and structured outputs.
