DeepSeek
API key
5 params
DeepSeek Deepseek V4 Pro parameters
These are the parameters modelparams.dev tracks for DeepSeek Deepseek V4 Pro. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
| Length · 1 param | ||||
|
Max tokens
max_tokens
|
integer (1…+∞) | 4096 | Maximum number of output tokens the model may generate. | — |
| Sampling · 2 params | ||||
|
Temperature
temperature
|
number (0…2 step 0.1) | 1 | Controls randomness. In DeepSeek thinking mode this parameter is accepted for compatibility but has no effect. |
Not when thinking.type = "enabled"
|
|
Top P
top_p
|
number (0…1 step 0.01) | 1 | Controls nucleus sampling. In DeepSeek thinking mode this parameter is accepted for compatibility but has no effect. |
Not when thinking.type = "enabled"
|
| Reasoning · 2 params | ||||
|
Thinking mode
thinking.type
|
enum (enabled | disabled) | "enabled" | Controls whether DeepSeek uses thinking mode before producing the final answer. | — |
|
Reasoning effort
reasoning_effort
|
enum (high | max) | "high" | Controls DeepSeek thinking effort when thinking mode is enabled. |
Only when thinking.type = "enabled"
|