Qwen3.8-Flash-Next
Qwen3.8-Flash-Next
About the model
Section titled “About the model”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.
Architecture
Section titled “Architecture”From the model card and the shipped config.json:
| Parameters | 125B total, 6B activated, plus 51B n-gram embedding and 4B MTP |
| Layers | 48, laid out as 12 × (3 × Gated DeltaNet→MoE, then 1 × QSA→MoE) |
| Hidden dimension | 2,560 |
| Gated DeltaNet | 48 V heads, 16 QK heads, head dim 128 |
| Qwen Sparse Attention | 24 query heads, 2 KV heads, head dim 256, 64-dim RoPE |
| QSA indexer | MQA with 4 query heads and 1 shared key head, head dim 128 |
| QSA budget | 512 blocks / 2,048 tokens |
| Mixture of Experts | 512 experts, 10 routed + 1 shared activated, expert intermediate 640 |
| N-gram embedding | 20,000,000 bigrams/trigrams, applied at layer 2 |
| Gated Residual | 4 branches, bottleneck rank 320 |
| Vocabulary | 248,320 (padded) |
| Native context | 262,144, extensible to 1,000,000 |
| Multi-token prediction | 1 layer |
| Quantisation | FP8, block [128, 128], dynamic activation scaling |
| Licence | Qwen Community License 1.0 |
Attention over the KV cache is capped at 2,048 selected tokens regardless of conversation length, and 36 of the 48 layers are linear attention whose state does not grow with context.
On Radeon Cloud
Section titled “On Radeon Cloud”At a glance
Section titled “At a glance”| Context length | 262,144 tokens |
| Input modalities | text + images |
| Streaming | ✅ |
| Tool calling | ✅ |
| JSON output | ✅ json_object |
| Thinking | ✅ — on unless you turn it down |
| Stability | experimental |
messages — two hard rules
Section titled “messages — two hard rules”Thinking
Section titled “Thinking”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.
Accepted values:
| Tier | Notes |
|---|---|
| omitted | falls through to the model’s own xhigh |
none | |
low | |
medium | |
xhigh | the longest tier |
Where the output lands:
| Thinking text | choices[0].message.reasoning |
| Token count | usage.completion_tokens_details.reasoning_tokens |
| Top-level alias | usage.reasoning_tokens — this model does emit it (same as DeepSeek-V4-Flash) |
Image input
Section titled “Image input”This model accepts image_url content parts.
| How to send | an {"type":"image_url","image_url":{"url":"data:image/png;base64,…"}} part in content |
| Metering | usage.prompt_tokens_details.image_tokens |
| Per-image ceiling | the weights ship vision_max_n_token = 384, so larger images still cap at 384 |
Limits
Section titled “Limits”| Context window | 262,144 tokens, counted as a total budget — prompt plus output, not an output-only allowance |
| JSON output | response_format: {"type": "json_object"} |
| Turning thinking on | reasoning_effort (or the equivalent reasoning.effort) |
max_tokens is capped against the total budget, prompt included — 262,144 covers input plus
output, not output alone.
Example
Section titled “Example”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.