DeepSeek
4 params
DeepSeek Deepseek Chat parameters
These are the parameters modelparams.dev tracks for DeepSeek Deepseek Chat. 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.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max tokens
max_tokens
|
integer (1…+∞) | 4096 | Maximum number of output tokens the model may generate. | — |
Sampling
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
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
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Thinking mode
thinking.type
|
enum (disabled | enabled) | "disabled" | Controls whether DeepSeek uses thinking mode before producing the final answer. | — |
DeepSeek Deepseek Chat parameters in brief
DeepSeek Deepseek Chat documents 4 API parameters, grouped by what they control:
-
Length:
max_tokensdefaults to 4096, minimum 1. -
Sampling:
temperaturedefaults to 1, range 0–2, not when thinking.type = "enabled";top_pdefaults to 1, range 0–1, not when thinking.type = "enabled". -
Reasoning:
thinking.typedefaults to "disabled", accepts "disabled", "enabled".