Skip to main content
Qwen3.8-Flash-Next architecture diagram, illustrating hybrid GDN and QSA for efficient AI model processing.

Editorial illustration for Qwen3.8-Flash-Next Uses Hybrid GDN and QSA Architecture

Qwen3.8-Flash-Next: Alibaba's 176B Hybrid Architecture

Qwen3.8-Flash-Next Uses Hybrid GDN and QSA Architecture

4 min read

Alibaba put Qwen3.8-Flash-Next out as open weights this week, billing it as a preview of the Qwen4 architecture rather than a finished release. The model carries 176 billion total parameters, with 51 billion of those tied up in N-gram embeddings, but activates just 6 billion per token thanks to its mixture-of-experts design. Context window: 262,144 tokens natively, stretchable to 1 million with YaRN.

NVIDIA moved fast on support. SGLang, vLLM, and TensorRT LLM all got best-effort Day 0 integration, and the company ran validation on its GB300 NVL72 systems for inference, with post-training paths available through NeMo AutoModel and NeMo RL.

The bigger story is architectural. Qwen3.8-Flash-Next targets agentic coding, document processing, and tool-driven workflows where context length balloons and attention compute plus KV cache memory turn into hard bottlenecks. Alibaba's answer combines two mechanisms, Gated DeltaNet and Qwen Sparse Attention, splitting the workload across layers so most of the network compresses history into a fixed state while a minority handles precise retrieval. That split is where the real engineering trade-off lives.

Alibaba’s published benchmarks suggest that QSA can improve the efficiency of 1M-token workloads. Compared with full attention, its attention kernel delivered speedups of up to 7.6x during prefill and 4.9x during decoding. In a cache-heavy online serving test at a 1M-token context length and with a 90% prefix-cache hit rate, Qwen3.8-Flash-Next achieved 8.6x the prefill throughput of Qwen3.7-Plus.

Why this matters

The GDN/QSA split is Alibaba's answer to a problem every long-context lab is fighting: KV cache growth eats memory faster than compute scales. By routing three-quarters of layers through Gated DeltaNet's fixed-size recurrent state and reserving the rest for sparse attention, Qwen3.8-Flash-Next tries to get long-context reasoning without the usual memory tax. That's worth testing before believing.

A 176B MoE model activating only 6B parameters per token, running on GB300 NVL72 with Day 0 support across SGLang, vLLM, and TensorRT-LLM, tells us NVIDIA and Alibaba are betting agentic coding workloads need both cheap inference and million-token context, not one or the other. For developers building agents that chew through large codebases or long tool-use chains, the real question is whether GDN's compression actually holds up on messy, multi-turn tasks, not just benchmark context windows. Preview weights mean early adopters get to answer that before Qwen4 locks in the architecture.

Watch how it performs on genuinely long agentic sessions, not just the token count it can technically hold.

Common Questions Answered

What is the hybrid GDN and QSA architecture used in Qwen3.8-Flash-Next?

Qwen3.8-Flash-Next combines Gated DeltaNet (GDN) and Query-Sparse Attention (QSA) to optimize long-context processing. The model routes three-quarters of its layers through GDN's fixed-size recurrent state while reserving the remaining layers for sparse attention, allowing it to handle long-context reasoning without the typical memory overhead associated with KV cache growth.

How many parameters does Qwen3.8-Flash-Next activate per token despite having 176 billion total parameters?

Qwen3.8-Flash-Next activates only 6 billion parameters per token despite its 176 billion total parameters, thanks to its mixture-of-experts design. The remaining 51 billion parameters are tied up in N-gram embeddings, making the model highly efficient for inference workloads.

What performance improvements does QSA provide for 1M-token workloads compared to full attention?

According to Alibaba's benchmarks, QSA's attention kernel delivers speedups of up to 7.6x during prefill and 4.9x during decoding for 1M-token workloads. In cache-heavy online serving tests at 1M-token context length with a 90% prefix-cache hit rate, Qwen3.8-Flash-Next achieved 8.6x the prefill throughput of Qwen3.7-Plus.

What is the native context window of Qwen3.8-Flash-Next and how can it be extended?

Qwen3.8-Flash-Next has a native context window of 262,144 tokens, which can be stretched to 1 million tokens using YaRN (Yet another RoPE extensioN). This extended context capability enables the model to handle significantly longer sequences while maintaining efficiency.

Which inference frameworks received Day 0 support for Qwen3.8-Flash-Next?

NVIDIA moved quickly to support Qwen3.8-Flash-Next across multiple inference frameworks, including SGLang, vLLM, and TensorRT LLM, all receiving best-effort Day 0 integration. This rapid support ensures developers can immediately deploy and optimize the model across popular serving platforms.

LIVE20:15AI Agents Will Define Future Customer Engagement