Skip to main content

Qwen Flash-Next: Offload the Table, Budget the Whole Model

MODELS & COSTS

Qwen Flash-Next: Offload the Table, Budget the Whole Model

Open Source Factory · Aug 26, 2026 · 4 min read

Flash-Next separates the main MoE from a large n-gram table intended for a host-memory path. That changes which weights are accessed for each token, not whether the full model needs storage. The local question is whether the runtime's offload behavior saves more than the transfers cost.

In this article
  1. Main MoE and n-gram table
  2. Offloading and the full memory budget
  3. Qwen's reported benchmark results
  4. The separate training-cost claim
  5. Qwen Community License
  6. Linked source documents

That separation changes the memory-planning question. The complete weights still need storage, but they need not all be accessed in the same way for each token. Whether offloading helps a particular computer depends on the runtime and measured transfer overhead.

Main MoE and n-gram table

ItemQwen3.8-Flash-Next
TypeMultimodal MoE (image / video / text)
Total / active params125B total, 6B active per token
N-gram embedding+51B (separate, offloadable)
MTP+4B
Context262,144 native, up to 1M with YaRN
LicenseQwen Community License 1.0
ArchitectureGDN + QSA hybrid attention, Gated Residual, N-gram Embedding, Muon
StatusOpen weights live on Hugging Face / ModelScope

Qwen3.8-Flash-Next at a glance — vendor specs from the August 26, 2026 release.

The headline architecture change is the hybrid attention: a Gated Delta Network (GDN) that compresses history into a fixed-size state for three of every four layers, and a new Qwen Sparse Attention (QSA) on the fourth that picks important context at the micro-block level instead of per-token. That's the long-context play — agentic workloads eat context, and full attention gets brutally expensive as the window grows.

Offloading and the full memory budget

This is the part I actually care about. Instead of pouring more capacity into the dense model, Qwen put 51 billion parameters into a separate n-gram embedding table that looks up local context. Two consequences for someone running models locally:

The table adds stored capacity without applying full attention to all 51B parameters for each token. Qwen describes sparse lookups and asynchronous prefetching that can overlap host-memory access with computation. The 125B main model is MoE, not dense.

At hypothetical uniform 4-bit precision, 125B parameters occupy 62.5 GB, or about 58.2 GiB, and 51B occupy 25.5 GB, or about 23.7 GiB. Together that is 88 GB, roughly 82 GiB, before metadata, higher-precision tensors and runtime memory. Offloading the table changes placement; it does not remove the main model's capacity requirement.

Qwen3.8-Flash-Next architecture diagram: GDN + QSA hybrid attention, gated residual, n-gram embedding

The Qwen3.8-Flash-Next architecture: hybrid GDN + QSA attention, gated residual branches, n-gram embedding lookup. (image: Qwen / Alibaba)

Unsloth announced day-zero support and plans for llama.cpp changes. Those statements describe implementation work, rather than a measured fit guarantee for a 64GB or 128GB computer. A useful local test needs the exact quantization, component placement, context length and peak memory.

Qwen's reported benchmark results

Bar chart: Flash-Next beats Qwen3.8-27B, Qwen3.7-Plus, DeepSeek V4 Flash, Claude Opus 4.6 on agentic coding and reasoning

Agentic coding and reasoning — orange is the subject. Vendor-reported from the official model card. Chart by the author.

The numbers are strong. On agentic coding, Qwen3.8-Flash-Next scores 58.7 on DeepSWE 1.1 — versus 42.2 for the just-released Qwen3.8-27B and 54.4 for DeepSeek V4 Flash. SWE-bench Pro is 62.5, above the 56.0 DeepSeek manages. Toolathlon Verified 73.5, GPQA Diamond 91.7. It wins the majority of rows in the official table.

I need to be straight about what that is, though: it's one vendor's table, run on their harnesses (including a Claude Code harness and their own mini-SWE-agent), and "best in row" is their bold formatting. The DeepSWE figure comes with the note that it performs best on Qwen's own mini-SWE-agent harness. So directionally this is a serious agentic-coding model at a tiny active-parameter count, but I'll believe the exact margins once independent benchmarks land in the next week or two.

The separate training-cost claim

Qwen says Flash-Next took about 1/9 the training cost of Qwen3.7-Plus. That's not a headline you see every day — it's the efficiency argument the whole architecture is building toward, and it's what makes the "this is Qwen4's base" framing credible. If the architecture trains for 9x less and matches or beats while also costing less to run, the next generation starts with a structural cost advantage baked in.

Qwen Community License

Here's the thing people gloss over: this is not Apache 2.0 like Qwen3.8-27B. Qwen3.8-Flash-Next ships under the Qwen Community License 1.0. The terms are permissive for personal and most commercial use, but two gotchas matter: over 100M monthly active users or $20M monthly revenue and you must display the model name prominently; and if you operate a Model-as-a-Service or "AI Work Assistant" business (their term for AI coding/office productivity tools, e.g. Qoder), you need a separate license from Qwen. That's a real consideration if you're building a commercial coding agent or hosted API on top of it.

The architecture offers a specific hypothesis to test: can moving the sparse table to host RAM reduce accelerator-memory demand without making generation too slow? Qwen's one-ninth training-cost claim addresses a different stage of the system and should be evaluated separately from that inference question.

Before adopting it, check the Qwen Community License, supported runtime and an independent test of the intended workload. Vendor benchmark scores alone do not establish local usability, and this release's license should not be treated as interchangeable with Apache.

Related on this blog: Qwen3.8-27B: 27B Dense, Vision Included, Apache-2.0 · Qwen3.8-Max is official — 2.4T parameters, and this time they're opening the weights

Sources: Qwen official blog (Aug 26 2026), Qwen3.8-Flash-Next Hugging Face model card + LICENSE, ModelScope pre-release page, NVIDIA developer forums (community thread), r/LocalLLaMA community reactions, Unsloth day-zero support announcement. All benchmark figures are vendor-reported from Qwen's official model card. The 82GB quant estimate (58GB main + 24GB n-gram, 4-bit) is a community estimate, not an official figure. API price $0.16/M input, $0.47/M output reflects Qwen3.8-Flash (the production version), announced alongside.

Linked source documents

Comments