Alibaba
5 params
Alibaba Qwen Flash parameters
These are the parameters modelparams.dev tracks for Alibaba Qwen Flash. 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…+∞) | — | Maximum number of output tokens the model may generate. | — |
Sampling
3 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
temperature
|
number (0…2 step 0.1) | — | Controls randomness. Lower values make outputs more focused; higher values make them more varied. | — |
|
Top P
top_p
|
number (0…1 step 0.01) | — | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
|
Top K
extra_body.top_k
|
integer (1…+∞) | 20 | Limits generation to the selected number of highest-probability tokens. | — |
Reasoning
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
|
boolean | true | Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. | — |
Alibaba Qwen Flash API parameters in brief
Alibaba Qwen Flash documents 5 API parameters, grouped by what they control:
-
Length:
max_tokensminimum 1. -
Sampling:
temperaturerange 0–2;top_prange 0–1;extra_body.top_kdefaults to 20, minimum 1. -
Reasoning:
extra_body.chat_template_kwargs.enable_thinkingdefaults to true.
Frequently asked questions
- How many parameters does Alibaba Qwen Flash accept?
- Alibaba Qwen Flash accepts 5 API parameters: max_tokens, temperature, top_p, extra_body.top_k, extra_body.chat_template_kwargs.enable_thinking.