Alibaba
5 params
Alibaba Qwen3.5 API parameters
These are the API parameters modelparams.dev tracks for Alibaba Qwen3.5 — the settings you send in a request. 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.
After the parameter count instead — how many weights Qwen3.5 has? That's a different number, and we don't track it. Here's the difference.
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 Qwen3.5 API parameters in brief
Alibaba Qwen3.5 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
- Which API parameters does Alibaba Qwen3.5 support?
- Alibaba Qwen3.5 accepts 5 API parameters in the request body: max_tokens, temperature, top_p, extra_body.top_k, extra_body.chat_template_kwargs.enable_thinking.