Supported models
| Vendor | Model / suffix | How to enable |
|---|---|---|
| OpenAI | o3-mini-low/medium/high, o3, gpt-5.5-low/medium/high | Built into the model ID / reasoning_effort |
| Anthropic | claude-*-thinking, base model + thinking param | Built into the model ID / thinking param |
gemini-2.5-pro-thinking, -low/medium/high | Built into the model ID / thinking_budget | |
| DeepSeek | deepseek-r1 | Use the model ID directly |
OpenAI
Via model ID
Via parameter (Responses API)
- Reasoning models do not support some parameters like
temperature,top_p,presence_penalty. - Use
max_completion_tokens(new) rather thanmax_tokens. reasoning_tokensare invisible but billed — be sure to leave enough budget.
Claude
budget_tokens: the thinking budget ceiling, typically 1024-32000.- Thinking blocks are visible by default — unlike OpenAI, you can read the reasoning process.
- Billing: thinking_tokens are billed additionally at the output price.
Gemini
| ID | Behavior |
|---|---|
gemini-2.5-pro-thinking | Default medium thinking budget |
gemini-2.5-pro-thinking-128 | Force a 128-token thinking budget |
gemini-2.5-flash-nothinking | Thinking off (cheaper) |
gemini-2.5-pro-high | High reasoning effort |
When to use a reasoning model
✅ Good for
- Math proofs, complex logic problems
- Code refactoring, bug localization
- Multi-step planning, agent decisions
- Long-document analysis, research reviews
❌ Not needed for
- Ordinary Q&A, casual chat
- Translation, summarization, rewriting
- Simple classification, info extraction
Billing reminders
- Reasoning tokens are not shown in
contentbut are still billed at the output price. - The console log breaks out thinking / answer into two parts.
- When setting
max_completion_tokens/max_output_tokens, leave plenty of headroom (≥ 4096 recommended), or the answer may come back empty due to token exhaustion.