Alibaba's Qwen team released an open preview of its next-generation Qwen4 design
In short
- On 26 August 2026 the Qwen team at Alibaba released Qwen3.8-Flash-Next, which its model card calls an "experimental preview of the architecture that will underpin Qwen4". It reads text, images and video and writes text.
- It is a mixture-of-experts model with 125 billion parameters, of which 6 billion work on each token, plus 51 billion parameters in n-gram lookup tables that the technical report says are "held off the accelerator", in the computer's ordinary memory.
- The Qwen team says its base model leads its 397-billion-parameter predecessor on 8 of 14 tests and trails on the rest by at most 2.6 points, after about a ninth of the training compute.
- The weights are downloadable under the custom Qwen Community License 1.0, which asks companies that offer model access to others or AI coding and office assistants to get a separate licence first. Every score is the Qwen team's own.
125B total parameters, 6B activated per token; 51B n-gram embedding parameters kept in host memory; 1/9 training compute of the 397B predecessor, roughly, per the report; 7.6× faster prefill than dense attention at 1M tokens, kernel level, per the report
How open it is
The weights sit on Hugging Face and ModelScope, and the card points to recipes for the serving programs SGLang, vLLM and TokenSpeed. Hugging Face lists the repository as gated with automatic approval: in our reading, you accept the terms and download at once.
In plain words (our summary of the licence), you may use, copy, change, fine-tune, host and sell the model, as long as the licence notice travels with every copy. Two strings are attached. A product built on it with more than 100,000,000 monthly users or US$20,000,000 in monthly revenue must show the model's name prominently in its interface. And a company that runs a "Model as a Service" business, such as giving outsiders API access to a model, or an "AI Work Assistant" business, meaning a standalone product mainly for AI coding or office work, must get a separate licence from Qwen before any commercial use. Internal use is exempt as long as nothing is offered to outsiders. That makes it open weights under a custom licence, not a standard open-source one (our description).
The stored count matches 125B plus 51B plus 4B (our arithmetic). At two bytes per parameter in BF16, the files come to roughly 360 GB (our arithmetic). The card names no minimum hardware.
What the new design changes
The report's goal is the quality of the previous 397B flagship (17B active) "at a fraction of its compute budget". Four changes carry it, in plain terms (ours):
- Hybrid attention with Qwen Sparse Attention (QSA). Of the 48 layers, three in every four use Gated DeltaNet, which squeezes everything read so far into a fixed-size memory. The fourth looks back at the text directly. In this model that layer uses QSA, which first scores the text in small blocks of four tokens and then attends to at most 512 blocks, or 2,048 tokens. At a one-million-token context, the report says QSA is 7.6 times faster than dense attention when reading the prompt and 4.9 times faster when writing, measured at the level of the computing kernel, not the whole model.
- Gated Residual. The main information path through the network is widened to four branches, and a gate decides how much each layer reads from them. The report calls the gate a key contributor to the model's training stability.
- N-gram embeddings. A single layer at layer 2 looks up stored vectors for the short runs of two or three tokens that end at each position, from a table of 20,000,000 entries. Because the address is known in advance, the tables can live in host memory and be fetched while the first layer runs, with "negligible" extra compute per token, the report says.
- A training recipe with Muon and AdamW. The Muon optimizer trains the weight matrices and AdamW the embeddings and a few other parts. A refitted scaling law favoured larger batches and learning rates, and the team dropped the usual batch-size ramp-up, which in its test cost 18.8% more optimizer steps for no gain.
The report says full-scale training ran "without a single loss spike", without the clipping tricks some other labs use.
The numbers, and who measured them
For the base model before fine-tuning, the report compares it with Qwen3.7-Plus (397B, 17B active) on 14 tests. It leads on 8; its largest shortfall is on MultiPL-E, 79.09 against 81.68. The team says it got there with about a third of the activated parameters and a third of the training tokens, "roughly 1/9 of the training FLOPs".
For the finished model the card gives the Qwen team's own scores against other models:
All of these scores are the Qwen team's own. On SWE-bench Pro the team corrected tasks it found faulty and re-ran every model on its refined version, except Claude Opus 4.6, for which it used the officially published score, so that column was not measured the same way. HLE answers were judged by GPT-4o, and CoWorkBench, another test in the card, is Qwen's in-house benchmark. We found no outside evaluation.
DeepSeek-V4-Flash-0731 scores higher on NL2Repo-Bench and Claude Opus 4.6 on HLE.
Terms in plain English
- Mixture of experts: a model split into many sub-networks, of which only a few run for each token; here 10 of 512 experts plus one shared expert (card). That is why total and activated parameters differ (our wording).
- Open weights: the trained model can be downloaded and run on your own machines (our wording).
- Prefill and decode: reading the prompt, and writing the answer one token at a time (our wording).
- Host memory: the computer's ordinary RAM, as opposed to the fast memory on the AI chip (our wording).
Where things stand
Qwen calls this the first open-weight release under the new architecture and a preview of Qwen4; the card gives no Qwen4 date. The report names the next bottleneck as evaluation itself: it wants a cheaper mid-scale test that predicts how models rank after fine-tuning. What is still missing is an outside check of the speed and benchmark claims.
Sources
- Qwen3.8-Flash-Next, model card, Hugging Face (Qwen), August 2026
- On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability, Qwen Team technical report, 26 August 2026
- Qwen Community License 1.0, Hugging Face (Qwen)
- QwenLM/Qwen3.8-Flash-Next, GitHub, release note of 26 August 2026
Sources
- Qwen3.8-Flash-Next model card
- On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability
- Qwen Community License 1.0
- QwenLM/Qwen3.8-Flash-Next
More from AI in China
- Baidu releases Unlimited SVG, an open model that redraws images as editable code
- DeepSeek's open models grew to 1.6 trillion parameters in a year, free to download
- Alibaba's Qwen team released five downloadable models this year, most under Apache 2.0
- The Chinese Academy of Sciences sets out 20 foundational science questions for AI
- Qwen releases FlashQLA, open code that runs its linear attention up to 3x faster