Reasoning Models
Reasoning Models perform deep thinking before answering, making them suitable for complex tasks like math, coding, and logical reasoning. Crazyrouter supports multiple reasoning models with reasoning depth control.Supported Reasoning Models
| Model | Description |
|---|---|
o4-mini | OpenAI reasoning model, balancing speed and capability |
o3 | OpenAI advanced reasoning model |
o3-mini | OpenAI lightweight reasoning model |
deepseek-r1 | DeepSeek reasoning model |
deepseek-v3-1 | DeepSeek V3.1 |
claude-sonnet-4-20250514 | Claude with extended thinking support |
gemini-2.5-flash-thinking | Gemini thinking model |
reasoning_effort Parameter
Control the model’s reasoning depth withreasoning_effort:
| Value | Description |
|---|---|
low | Quick answers, suitable for simple questions |
medium | Moderate reasoning, balancing speed and quality |
high | Deep reasoning, suitable for complex problems |
thinking Parameter (Thinking Budget)
Some models support precise control of the thinking token budget via thethinking parameter:
Python
When using the
thinking parameter, max_tokens must be greater than budget_tokens, because max_tokens includes both thinking tokens and output tokens.Streaming Reasoning
Reasoning models also support streaming output. The thinking process and final answer are returned as separate chunks:Python
DeepSeek Reasoning Models
DeepSeek reasoning models return the thinking process in the response:Python
Reasoning models typically do not support sampling parameters like
temperature and top_p. If these parameters are passed, they may be ignored or return an error.