Qwen3.8-Flash-Next: What It Is, How to Run It and What People Build
Updated Oct 23 · 5 min read
On this page
Qwen3.8-Flash-Next is an open-weight multimodal mixture-of-experts model from Alibaba's Qwen team, released on 26 August 2026 as an early preview of the architecture planned for Qwen4. It has 125B parameters plus 51B N-gram embedding parameters, with 6B active per token, and a native 262,144-token context. Most of what people build with it is inference tooling: engines and recipes that squeeze it onto a DGX Spark, a gaming GPU or a Mac.
What Qwen3.8-Flash-Next is
The Qwen blog post describes a new architecture rather than a scaled-up Qwen3.7. The main pieces:
- Hybrid attention. Three of every four layers use Gated DeltaNet. The fourth uses global attention with Qwen Sparse Attention (QSA), which scores micro-blocks of the sequence and attends only to selected regions.
- Gated Residual. The residual stream is widened into four branches with dynamic gating.
- N-gram Embedding. A single layer near the start of the network, whose tables can be offloaded to host memory and prefetched. This is the 51B extra parameters, and it is why community engines can keep part of the model in RAM or on SSD.
- Muon optimizer, with AdamW for embeddings, the router and some residual parameters.
Qwen says training cost about one-ninth that of Qwen3.7-Plus, and that at 1M tokens the QSA kernel reaches up to 7.6x prefill and 4.9x decode speedups. Context is 262,144 tokens natively, extendable to 1,000,000 with YaRN.
Qwen's reported scores include 58.7 on DeepSWE 1.1, 62.5 on SWE-bench Pro, 81.0 on SWE-bench Multilingual, 84.5 on AndroidWorld and 91.7 on GPQA Diamond. Some tests are in-house (CoWorkBench, RecreationBench), and on HLE and NL2Repo-Bench it trails some of the models it is compared against.
Release date, license, access and pricing
The GitHub repo lists the release as 26 August 2026, the same day as Qwen's announcement on X. Weights are on Hugging Face and ModelScope. The Hugging Face card lists the license as qwen-community-1.0. I did not read the license text, so check its terms before commercial use.
There are two ways to use it:
| Open weights | Managed API | |
|---|---|---|
| Name | Qwen/Qwen3.8-Flash-Next |
qwen3.8-flash on QwenCloud |
| Context | 262K native, 1M with YaRN | 1M |
| Price | Free to download | $0.15 input, $0.47 output per 1M tokens |
API prices are from the QwenCloud model page, which also lists implicit cache reads at $0.016 per million tokens and max output of 131K tokens. The X post gave $0.16 for input, so confirm the current rate on QwenCloud. Note that the hosted Qwen3.8-Flash is the production version, with 1M context by default and built-in tools, so it is not identical to the open preview.
The blog lists support in QwenWork (its "Standard" mode), Qwen Code, Claude Code, Codex, Qoder CLI and OpenClaw. The API speaks OpenAI-compatible Chat Completions and Responses, plus an Anthropic-compatible interface.
How to start using Qwen3.8-Flash-Next
Through the API. Get a QwenCloud (DashScope) key, point an OpenAI SDK client at https://dashscope-intl.aliyuncs.com/compatible-mode/v1, and call qwen3.8-flash. The blog's example sets reasoning_effort to xhigh, medium or low, and passes enable_thinking in extra_body.
On your own server. The GitHub README gives one-line commands for SGLang, vLLM, TokenSpeed and Transformers. The vLLM version:
vllm serve Qwen/Qwen3.8-Flash-Next --port 8000 --tensor-parallel-size 4 --max-model-len 262144 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder
Each exposes an OpenAI-compatible API at http://localhost:8000/v1. The examples use four-way tensor parallelism. The README does not state hardware requirements.
On local hardware. The README says llama.cpp supports text and vision through GGUF files on Hugging Face, and MLX works on Apple Silicon via mlx-vlm. Unsloth's GGUFs run it in about 75GB of RAM.
Sampling. The model card recommends temperature 1.0, top_p 0.95 and top_k 20 in thinking mode, and temperature 0.7, top_p 0.80, top_k 20 and presence_penalty 1.5 in non-thinking mode.
What people build with Qwen3.8-Flash-Next
The Qwen3.8-Flash-Next page on this site lists 50 builds from 46 creators, and nearly all are about running the model on hardware people already own.
DGX Spark and GB10 recipes. The biggest cluster. There is a day-one Spark recipe, a single-Spark setup at TP=1, NVFP4 across two Sparks with vLLM, and an ExLlamaV3 recipe. Two projects move the N-gram table off the GPU: one keeps the 51B table on NVMe, and a disk-backed vLLM patch reports 43.9 tokens per second on one Spark.
Gaming GPUs. Strata is a one-click Windows and Linux engine with an OpenAI- and Anthropic-style API. David Hendrickson reports going from about 15 tokens per second on llama.cpp to 65 with a home-built engine on a 12GB RTX 5070. Others report 250K context on one RTX 4090 at about 21 tokens per second, and up to 111.5 tokens per second on two RTX 3090s.
Macs and AMD. Slotstream streams the model from SSD on a 48GB Mac and caches busy experts, using a native Swift app on MLX. On AMD Strix Halo, Halogen and gfx1151-engine are purpose-built servers.
Renting instead of buying. Collabosm rents a Colab GPU, shows the cost first, and serves a local OpenAI-compatible endpoint.
As a cheap coder under a bigger planner. One builder had GPT-6.1 Sol plan while a local Qwen model wrote the code, reporting three small games for 17 cents.
Qwen3.8-Flash-Next limits and caveats
- It is a preview. Qwen calls it an experimental preview of the Qwen4 architecture, and the hosted Qwen3.8-Flash differs from the open weights.
- It is large. The Hugging Face card lists 180B parameters in BF16 once embeddings are counted. Only 6B are active per token, but you still need to store the rest somewhere, which is what most community engines work around.
- YaRN trade-off. The model card warns that static YaRN scaling may hurt performance on shorter texts, so enable it only when you need long context.
- Presence penalty. Higher values "may occasionally result in language mixing and a slight decrease in model performance," per the card.
- Benchmarks are Qwen's. Several are in-house, and community speed figures above are as reported by their authors on specific hardware. Some unofficial forks add modes such as an opt-in uncensored setting, so read the code before running one.
Frequently asked questions
When was Qwen3.8-Flash-Next released?
On 26 August 2026, according to the Qwen GitHub repo and the Qwen team's announcement on X.
Is Qwen3.8-Flash-Next open source?
The weights are open on Hugging Face and ModelScope under the qwen-community-1.0 license listed on the model card. Read that license for commercial terms.
How much does the Qwen3.8-Flash API cost?
QwenCloud lists qwen3.8-flash at $0.15 per million input tokens and $0.47 per million output tokens, with cached reads at $0.016.
Can I run Qwen3.8-Flash-Next on a single GPU?
Community projects report it, usually by keeping the N-gram table and inactive experts in system RAM or on SSD. Examples include 12GB RTX cards with 64GB+ RAM and a 24GB RTX 4090, at lower speeds than multi-GPU servers.
How long is the context window?
262,144 tokens natively and up to 1,000,000 with YaRN. The hosted Qwen3.8-Flash has 1M context by default.