Skip to navigation

Qwen 4

Qwen 4 is a multimodal model family for coding, reasoning over long inputs, and multi-step agent workflows.

Available models

ModelIdentifierNative context window
Qwen4-35B-A3Bqwen/qwen4-35b-a3b1m tokens

Qwen4-35B-A3B is a mixture-of-experts model with 35B language-model parameters and 3B active per token. The model accepts text, images, and video and generates text. See the Qwen4-35B-A3B model card.

Use the Mixlayer console or GET /v1/models to check the context limit and capabilities available to your API key.

Thinking modes

Qwen 4 uses high reasoning effort by default. Use reasoning_effort in Chat Completions or reasoning.effort in Responses. See Reasoning for request examples.

Requested effortNative Qwen 4 effort
Omitted, default, medium, or highhigh
noneoff (thinking disabled)
minimal or lowlow
xhigh or maxxhigh

Mixlayer platform defaults

When these sampling parameters are omitted, Mixlayer uses the following values for qwen/qwen4-35b-a3b.

{
"temperature": 1.0,
"top_p": 0.95,
"top_k": 20
}

Qwen recommends these settings for Qwen4-35B-A3B. See the model card’s sampling guidance.

ParameterThinkingNon-thinking
temperature1.00.7
top_p0.950.80
top_k2020
min_p0.00.0
presence_penalty0.01.5
repetition_penalty1.01.0

Omit min_p from Mixlayer requests. See the Chat Completions API reference for the sampling fields you can set.