Quick answer: Qwen3.8-Flash-Next is Alibaba's open-weight preview of the architecture that will underpin Qwen4 — a 125B-parameter MoE with only 6B activated per token, paired with a novel 51B-parameter n-gram embedding table (not MoE experts) for cheap parameter scaling. Released under a custom Qwen Community License (not Apache), it natively supports a 262,144-token context window (extensible to 1M via YaRN) and scores 91.7% on GPQA Diamond, 91.9% on LiveCodeBench v6, and 58.7% on DeepSWE 1.1.
Where Qwen3.8-Flash-Next leads
Where it lags
Best for: Teams evaluating next-generation efficient-MoE architectures (n-gram embeddings + hybrid linear/sparse attention) for coding and agentic workloads, or wanting an early, self-hostable look at Qwen4-generation techniques.
Qwen3.8-Flash-Next is Alibaba's Qwen Team's first open-weight release built on an experimental architecture positioned as a preview of what will underpin Qwen4. Rather than iterating on parameter count, the release is explicitly framed around architectural efficiency: "the question is no longer just how much we can scale, but how efficiently we can do so."
The model has 125B total parameters with only 6B activated per token via MoE routing (512 experts, 10 routed + 1 shared per token), plus a separate 51B-parameter n-gram embedding table — a novel scaling axis that indexes 20 million bigrams/trigrams at layer 2 rather than adding compute-heavy MoE experts, making it more amenable to memory-constrained/offloaded serving. Attention is a hybrid design across 48 layers: most blocks use Gated DeltaNet (linear attention), with a smaller share using Qwen Sparse Attention (QSA) — a rework of the prior Gated Attention that reasons over micro-blocks rather than individual tokens, cutting long-context latency. A Gated Residual mechanism (4 branches, element-wise read/write gates) adds finer per-layer expressiveness without much inference overhead. Training used a tailored Muon+AdamW recipe that skips traditional batch-size warmups.
Qwen3.8-Flash-Next natively supports a 262,144-token context window, extensible to 1,000,000 tokens via YaRN RoPE scaling (recommended only when genuinely needed, since static YaRN can hurt short-context performance). It thinks by default (enable_thinking=True), supports a reasoning_effort parameter (xhigh/medium/low), and retains thinking blocks across turns via preserve_thinking for agentic consistency. Alibaba also offers Qwen3.8-Flash, a production-hardened hosted version via Qwen Cloud with a 1M-token context by default and built-in tools — no independently published benchmark table exists for that hosted variant separate from Flash-Next, so it isn't tracked as a separate Benchgen page.
| Field | Value |
|---|---|
| Organization | Alibaba (Qwen Team) |
| Parameters | 125B total (6B activated) + 51B n-gram embedding + 4B MTP (~180B safetensors total) |
| Architecture | Hybrid Gated DeltaNet (linear) + Qwen Sparse Attention (QSA), 48 layers, MoE (512 experts, 10 routed + 1 shared), Gated Residual, n-gram embedding scaling |
| Context window | 262,144 tokens native; extensible to 1,000,000 via YaRN |
| License | Qwen Community License 1.0 (custom) |
| Release date | August 2026 |
| Modality | Text, image, video input; text output |
Open weights available on Hugging Face (Qwen/Qwen3.8-Flash-Next) — free to self-host under the Qwen Community License 1.0 (verify commercial-use terms). A production-hardened hosted version, Qwen3.8-Flash, is available via Qwen Cloud — check Qwen Cloud's pricing page for current rates (not independently verified here).
Qwen3.8-Flash-Next natively supports 262,144 tokens (256K), extensible to 1,000,000 tokens (1M) via YaRN RoPE scaling on supported serving frameworks (vLLM, SGLang, TokenSpeed). Alibaba recommends only enabling YaRN when long-context workloads genuinely require it, since static YaRN scaling can slightly reduce short-context performance.
| Benchmark | Score | Source | Date |
|---|---|---|---|
| DeepSWE 1.1 | 58.7% | Qwen3.8-Flash-Next model card | 2026-08 |
| SWE-bench Pro | 62.5% | Qwen3.8-Flash-Next model card | 2026-08 |
| SWE-bench Multilingual | 81.0% | Qwen3.8-Flash-Next model card | 2026-08 |
| NL2Repo-Bench | 48.1% | Qwen3.8-Flash-Next model card | 2026-08 |
| JobBench | 55.7% | Qwen3.8-Flash-Next model card | 2026-08 |
| Agents' Last Exam | 51.2 (Score) | Qwen3.8-Flash-Next model card | 2026-08 |
| Toolathlon Verified | 73.5% | Qwen3.8-Flash-Next model card | 2026-08 |
| IFBench | 81.3% | Qwen3.8-Flash-Next model card | 2026-08 |
| GPQA Diamond | 91.7% | Qwen3.8-Flash-Next model card | 2026-08 |
| Humanity's Last Exam | 35.9% | Qwen3.8-Flash-Next model card | 2026-08 |
| LiveCodeBench v6 | 0.919 | Qwen3.8-Flash-Next model card | 2026-08 |
| RealWorldQA | 88.5% | Qwen3.8-Flash-Next model card | 2026-08 |
| MathVision (without CI) | 90.6% | Qwen3.8-Flash-Next model card | 2026-08 |
| CharXiv Reasoning (with CI) | 90.6% | Qwen3.8-Flash-Next model card | 2026-08 |
| CharXiv Reasoning (no tools) | 84.6% | Qwen3.8-Flash-Next model card | 2026-08 |
Scores are self-reported by Alibaba's Qwen Team on the official Hugging Face model card, cross-checked against the raw HTML benchmark tables (which include explicit column headers identifying comparison models) rather than the stripped structured Eval Results metadata alone. Agents' Last Exam is reported by Qwen as two metrics ("Pass@1" 24.3 and "Score" 51.2); Benchgen's leaderboard tracks the "Score" metric (converted to the platform's 0–1 fractional scale as 0.512), consistent with the existing Qwen3.8-27B/Qwen3.8-Max entries on this benchmark.
Additional benchmarks reported by Qwen, not yet on Benchgen's leaderboard:
osworld-2 leaderboard entries (e.g. Kimi K3 at 58.3%) don't document which of these two sub-metrics they represent, so this score is skipped pending clarification rather than risking a scale mismatch.| Model | GPQA Diamond | LiveCodeBench v6 | DeepSWE 1.1 | Agents' Last Exam (Score) |
|---|---|---|---|---|
| Qwen3.8-Flash-Next | 91.7% | 91.9% | 58.7% | 51.2 |
| Qwen3.8-27B | 89.2% | 90.3% | 42.2% | 42.9 |
| Qwen3.8 Max | 92.6% | — | — | 52.4 |
| GLM-5.3-Flash | — | — | 63.4% | 26.3 |
Despite activating only 6B parameters per token — far fewer than the 27B-dense Qwen3.8-27B — Qwen3.8-Flash-Next beats it on every directly-compared metric, underscoring the efficiency case for the hybrid linear/sparse-attention + n-gram-embedding architecture over simply scaling a dense model.
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
completion = client.chat.completions.create(
model="Qwen/Qwen3.8-Flash-Next",
messages=[{"role": "user", "content": "Write a Python function to merge two sorted linked lists."}],
extra_body={"chat_template_kwargs": {"enable_thinking": True}},
reasoning_effort="xhigh",
)Specs from Alibaba's official Hugging Face model card (huggingface.co/Qwen/Qwen3.8-Flash-Next). Last updated 2026-08-30.