Skip to content

Qwen3.8-Flash-Next

POST /v1/chat/completions model: Qwen3.8-Flash-Next

The weights served here are Qwen3.8-Flash-Next-FP8 — the FP8-quantised build of Qwen3.8-Flash-Next, using fine-grained FP8 with block size 128. Qwen states its metrics are nearly identical to the unquantised original.

Qwen describes this release as an experimental preview of the architecture that will underpin Qwen4, and the first open-weight model built on it. Three things are new relative to the Qwen3 line, per the model card:

  • Hybrid attention with QSA — the Gated DeltaNet plus Gated Attention pairing is reworked into Gated DeltaNet plus Qwen Sparse Attention.
  • Gated Residual — normalised residual streams get an extra gate, aimed at keeping deep, wide models trainable.
  • N-gram Embedding — a parameter-scaling axis that costs less compute than MoE and is easier to offload.

Details are in Qwen’s blog post and technical report.

From the model card and the shipped config.json:

Parameters125B total, 6B activated, plus 51B n-gram embedding and 4B MTP
Layers48, laid out as 12 × (3 × Gated DeltaNet→MoE, then 1 × QSA→MoE)
Hidden dimension2,560
Gated DeltaNet48 V heads, 16 QK heads, head dim 128
Qwen Sparse Attention24 query heads, 2 KV heads, head dim 256, 64-dim RoPE
QSA indexerMQA with 4 query heads and 1 shared key head, head dim 128
QSA budget512 blocks / 2,048 tokens
Mixture of Experts512 experts, 10 routed + 1 shared activated, expert intermediate 640
N-gram embedding20,000,000 bigrams/trigrams, applied at layer 2
Gated Residual4 branches, bottleneck rank 320
Vocabulary248,320 (padded)
Native context262,144, extensible to 1,000,000
Multi-token prediction1 layer
QuantisationFP8, block [128, 128], dynamic activation scaling
LicenceQwen Community License 1.0

The QSA budget is the number worth remembering: attention over the KV cache is capped at 2,048 selected tokens regardless of how long the conversation is, and 36 of the 48 layers are linear attention whose state does not grow with context at all.

Everything below was measured against the live endpoint. Where it disagrees with the model card, the endpoint wins.

Context length262,144 tokens
Input modalitiestext only
Streaming
Tool calling✅ (no parallel calls)
JSON outputjson_object · ❌ json_schema
Thinking✅ — on unless you turn it down
Stabilityexperimental

Omitting reasoning_effort does not disable thinking. A plain request already returns a populated reasoning and a non-zero reasoning_tokens. The model’s internal default is xhigh, its longest tier.

Only two tiers can actually be requested:

TierStatusWhy
low200
medium200
high400Passes request validation, then the model refuses: Unexpected reasoning effort high. Supported types are xhigh (default), medium, and low.
xhigh422Rejected during deserialisation — not in the endpoint’s enum
max422Same
minimal422Same

Where the output lands:

Thinking textchoices[0].message.reasoning
Token countusage.completion_tokens_details.reasoning_tokens
Not emittedusage.reasoning_tokensno top-level field, unlike DeepSeek-V4-Flash
What you sendWhat comes back
max_tokens beyond the window400 max_tokens=… cannot be greater than max_model_len=max_total_tokens=262144.
response_format: json_schema400 Model Qwen3.8-Flash-Next does not support JSON schema output mode
An image_url content part400 Model Qwen3.8-Flash-Next does not support image input.
thinking: {...}400 — use reasoning_effort

max_tokens is capped against the total budget, prompt included — 262,144 covers input plus output, not output alone.

Terminal window
curl https://developer.amd.com.cn/radeon/api/v1/chat/completions \
-H "Authorization: Bearer $RADEON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen3.8-Flash-Next",
"reasoning_effort": "low",
"messages": [
{ "role": "system", "content": "Answer in one sentence." },
{ "role": "user", "content": "Why is the sky blue?" }
]
}'

One system message, first in the array, and an explicit low — that request shape also works unchanged on DeepSeek-V4-Flash.