Qwen3.8-Flash-Next

Qwen Team (Alibaba)

Parameters

125.0B total / 6.0B active

MoE: total / active

Architecture

Hybrid Attention (Gated DeltaNet + Qwen Sparse Attention) with MoE, N-gram Embedding, and Gated Residual

Released

26.08.2026

License

Qwen Community License 1.0

Open Weights Commercial Use Multimodal BF16/I64 Qwen English Chinese Multilingual

Input Modalities

text image video

Output Modalities

text

Context (native)

262,144 tokens

Context (extended)

1,000,000 tokens

Openness Index Score 70.0/100

About

Qwen3.8-Flash-Next (Qwen/Qwen3.8-Flash-Next) is the first open-weight release of the Qwen3.8 architecture - a 125B-parameter unified vision-language model (text, image and video input) with 6B activated parameters plus 51B n-gram embedding and 4B MTP parameters, released August 26, 2026 under the Qwen Community License 1.0.

It introduces three architecture changes over Qwen3.5: Qwen Sparse Attention (QSA) replaces Gated Attention in the hybrid pairing (Gated DeltaNet + QSA) and selects 512-token micro-blocks rather than individual tokens (24 Q / 2 KV heads, head dim 256, MQA indexer with 4 query + 1 shared key head of dim 128, budget 512 blocks / 2048 tokens), cutting long-context latency for agentic workloads; Gated Residual modulates widened residual streams with an element-wise data-dependent read gate and per-branch scalar write gates (4 branches, bottleneck rank 320) for finer cross-layer expressiveness at low inference overhead; and N-gram Embedding scales parameters through 20M bigram/trigram embeddings at layer 2 - more offload-friendly and computation-cheaper than MoE. The 48-layer stack repeats 12x (3 Gated DeltaNet -> MoE + 1 QSA -> MoE) with 512 experts (10 routed + 1 shared per token, expert dim 640), hidden size 2560, 248K vocabulary, one Multi-Token Prediction (MTP) layer trained with multi-steps, and a 262,144-token native context extensible to 1,000,000.

Its training recipe applies the Muon and AdamW optimizers to distinct weight categories, and - guided by refitted scaling laws - eliminates batch-size warmup, starting directly at the target batch size to cut total optimizer steps while supporting larger learning rates.

Training Data Pre-training & post-training (card Model Overview); tailored recipe: Muon optimizer for specific weight categories + AdamW for others, refitted scaling laws, no batch-size warmup (card Highlights). No public token count.

Benchmark Scores

Benchmark Score Date Standing
HLE (with tools)
stem_reasoning
39.22%
26.08.2026
#39/49
better than 21%
NL2Repo-Bench
coding_agent
49.35%
26.08.2026
#13/23
better than 45%
CoWorkBench
general_agent
93.51%
26.08.2026
#3/12
better than 82%
JobBench
general_agent
73.38%
26.08.2026
#6/19
better than 72%
Agents' Last Exam
general_agent
42.02%
26.08.2026
#18/29
better than 39%
Agents' Last Exam (Score)
general_agent
100.00%
26.08.2026
#1/3
better than 100%
Toolathlon Verified
general_agent
91.22%
26.08.2026
#11/35
better than 71%
GPQA Diamond
stem_reasoning
95.08%
26.08.2026
#15/80
better than 81%
LiveCodeBench v6
stem_reasoning
97.82%
26.08.2026
#3/49
better than 96%
RecreationBench
general_agent
100.00%
26.08.2026
#1/4
better than 100%

Hardware Requirements

Estimated VRAM per quantization at 4,096 tokens context — MoE: all experts must fit in VRAM, only 6.0B are active per token

Quantization Weights KV Cache Total VRAM On your hardware
FP16 — 16-bit 250.0 GB 0.9 GB 263.4 GB Which GPUs can run it? Calculate on your GPU
INT8 — 8-bit 125.0 GB 0.5 GB 131.7 GB Which GPUs can run it? Calculate on your GPU
INT4 — 4-bit 62.5 GB 0.2 GB 65.9 GB Which GPUs can run it? Calculate on your GPU
FP4 — 4-bit 62.5 GB 0.2 GB 65.9 GB Which GPUs can run it? Calculate on your GPU

Only datacenter GPUs — FP16 needs 263.4 GB. For consumer hardware, choose the INT4 build with a multi-GPU setup.

Architecture

Decoder Block ×48 input Embedding vocab 248K · d 2560 Linear / Recurrent Hybrid 24:2 · dₕ 256 ×36 Full Attention Hybrid 24:2 · dₕ 256 ×12 MoE FFN 512 experts · top-10 · dᴻ 640 Final Norm LM Head vocab 248K output
Attention
Hybrid Attention (24:2)
MoE
512 experts · top-10 per token
Layers
48
Hidden size
2560
Context
262K tokens
Parameters
125000M
Active params
6000M

Source: Hugging Face config.json · Qwen4ExpForConditionalGeneration · exact layer pattern · model repo

Type: Hybrid Attention MoE with N-gram Embedding
Attention: Hybrid: Gated DeltaNet (linear attention) + Qwen Sparse Attention (QSA)
Decoder: Causal Language Model with Vision Encoder
MoE: yes (512 experts)
Routing: Top-10 routed + 1 shared expert
Key Innovations

Hybrid Attention with QSA (micro-block level sparse attention), Gated Residual (element-wise read gate + per-branch scalar write gate), N-gram Embedding (parameter scaling efficient for memory-constrained accelerators), Tailored Training Recipe (Muon + AdamW, no batch-size warmup)

Lm Output

248K

Token Embedding

248K

Training Optimizers

Muon and AdamW (applied to specific weight categories)

Training Recipe

Refitted scaling laws, no batch-size warmup, start at target batch size

Training Pipeline

  1. 1
    pretraining

    Pre-training with Tailored Recipe

    Pre-training stage using Muon and AdamW optimizers applied to specific weight categories. Guided by refitted scaling laws, eliminates traditional batch-size warmups and starts directly at the target batch size, substantially reducing total optimizer steps while safely supporting larger learning rates for robust convergence.

  2. 2
    other

    Post-training

    Post-training stage including thinking mode training with multi-token prediction (MTP). The model operates in thinking mode by default, generating thinking content before final responses. Supports reasoning effort levels (xhigh, medium, low) and preserved thinking for agent scenarios.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Muon/AdamW tailored training corpus pretraining — —

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Qwen3.8-Flash-Next — here is where to go next.