What is Qwen3.8-Flash
Qwen3.8-Flash is a multimodal MoE model launched by Alibaba Cloud Tongyi Qianwen, with a total parameter count of 125B, activating only 6B per token, and natively supporting a 262K context. The model adopts four major architectural innovations: GDN+QSA hybrid attention, gated residuals, N-gram embeddings, and the Muon optimizer. Its training cost is only 1/9 that of Qwen3.7-Plus, and it is more capable in coding and office tasks.
Main Features of Qwen3.8-Flash
-
Ultra-long context processing: Natively supports 262K tokens, extensible to 1M, capable of long document and codebase analysis.
-
Code agent: Supports end-to-end software engineering tasks, including code generation, debugging, and multilingual development.
-
Office automation: Executes long-horizon office workflows and professional work tasks, with integrated tool-calling capabilities.
-
Multimodal understanding: Understands long videos, scientific charts, visual math problems, and real-world scenarios.
-
Device and interface control: Controls web pages, Android devices, and desktop operating systems through visual perception.
-
Reasoning and question answering: Covers scientific reasoning, competitive programming, instruction following, and multidisciplinary comprehensive reasoning.
Technical Principles of Qwen3.8-Flash
- GDN + QSA Hybrid Attention: The model arranges three layers of Gated DeltaNet and one layer of Qwen Sparse Attention in every four layers, achieving a hybrid attention mechanism of "efficient memory + precise lookup," with Prefill throughput reaching 8.6 times that of the previous generation under a 1M context.
- Gated Residual(GR): Expands the traditional single residual stream into four parallel branches, dynamically gating the read-write ratio of information at each layer, preserving long-distance information channels, suppressing activation outliers, and supporting FP8 storage to greatly reduce memory access overhead.
- N-gram Embedding: Beyond conventional word embeddings, introduces a 51B-parameter N-gram embedding layer that combines local context lookup to capture phrase collocation patterns; this layer can be offloaded to Host Memory and overlapped with computation through asynchronous prefetching, adding almost no token-level computation.
- Muon Optimizer: Applies Muon orthogonalization optimization to the main linear mapping weights, while retaining AdamW for Embedding and Router, etc.; after refitting the Scaling Law, supports larger learning rates and batch sizes, and removes the ineffective Batch Size Warmup strategy.
Follow WeChat and reply "Open Source" to join theAI Open Source Project Communication Group
How to Use Qwen3.8-Flash
-
Open-source weight deployment: Download the Qwen3.8-Flash-Next weights from Hugging Face and deploy inference locally or in the cloud.
-
API service invocation: Call the official API through the Qianwen AI platform, at 1 yuan per million tokens for input and 3 yuan per million tokens for output.
-
Qianwen Office usage: Experience it directly in "Qianwen Office" for long document processing, code generation, and office automation tasks.
-
Consult the technical report: Visit the technical report in the GitHub repository to learn about architectural details and training methods for deep customization.
Core Advantages of Qwen3.8-Flash
-
Ultimate cost efficiency: Training cost is only 1/9 of Qwen3.7-Plus, API pricing is 1 yuan per million tokens for input, achieving flagship-level performance at an extremely low compute cost.
-
Leading ultra-long context: Native 262K can be extended to 1M tokens, Prefill throughput at 1M context reaches 8.6 times that of the previous generation, combining speed and accuracy in long-sequence processing.
-
Outstanding Agent and coding capabilities: Significantly surpasses models of the same tier on multiple benchmarks including code agents, software engineering, and long-horizon office tasks, capable of complex production-grade development work.
-
Next-generation architecture innovation: Adopts all-new designs such as GDN+QSA hybrid attention, gated residual, and N-gram embedding, serving as an early validation version of the Qwen4 series architecture.
-
Multimodal control capabilities: Supports long video understanding, visual web development, and Android and desktop device control, enabling true multimodal agent interaction.
-
Open source and engineering-friendly: Flash-Next weights are open-sourced, GR supports FP8, and N-gram embeddings can be offloaded to Host Memory, lowering deployment barriers and VRAM usage.
Qwen3.8-Flash project address
- Project official website:https://qwen.ai/blog?id=qwen3.8-flash-next
- HuggingFace model library:https://huggingface.co/Qwen/Qwen3.8-Flash-Next?file=Qwen3.8-Flash-Next
- Technical paper:https://github.com/QwenLM/Qwen3.8-Flash-Next/blob/main/tech_report.pdf
Comparison of Qwen3.8-Flash with similar competitors
| Comparison dimension | Qwen3.8-Flash-Next | DeepSeek-V4-Flash | Claude-Opus-4.6 |
|---|---|---|---|
| Total parameters | 125B + 51B N-gram | 284B | — |
| Activated parameters | 6B | 13B | — |
| Agentic Coding (DeepSWE 1.1) | 58.7 | 54.4 | — |
| SWE-bench Pro | 62.5 | 56.0 | 53.4 |
| Multilingual software engineering | 81.0 | — | 77.5 |
| Long-horizon office work (CoWorkBench) | 73.9 | 45.1 | 68.2 |
| Professional work (JobBench) | 55.7 | 41.3 | 36.6 |
| Scientific reasoning (GPQA Diamond) | 91.7 | 90.8 | 91.3 |
| Competitive programming (LiveCodeBench) | 91.9 | 90.6 | 88.8 |
| Instruction following (IFBench) | 81.3 | 79.2 | 62.5 |
| Multimodal tools (ClawEval-MM) | 64.4 / 60.4 | — | 52.5 / 54.7 |
| Mobile control (AndroidWorld) | 84.5 | — | 62.0 |
| Computer use (OSWorld 2.0) | 19.4 / 52.3 | — | — |
| Visual web development (Vision2Web) | 64.0 | — | — |
| Embodied intelligence (ERQA) | 72.3 | — | 40.8 |
| Long video understanding (LVBench) | 76.6 | — | 63.0 |
| Visual mathematics (MathVision w/ CI) | 95.7 | — | 65.5 |
| Scientific chart analysis (CharXiv w/ CI) | 90.6 | — | 66.0 |
Qwen3.8-Flash application scenarios
-
Ultra-long document and knowledge base intelligent analysis: With a 1M token ultra-long context, perform one-time deep understanding and Q&A on an entire technical manual, legal contract, or large codebase, without the need for segmented processing.
-
End-to-end software development and code maintenance: As a code agent (Agentic Coding), complete requirements analysis, code generation, bug fixing, unit test writing, and multilingual project maintenance, covering SWE-bench-level complex tasks.
-
Enterprise office process automation: Execute cross-platform long-horizon office tasks, such as automatically organizing meeting minutes, batch processing Excel reports, and writing and formatting business documents, integrating tool calls to achieve an end-to-end closed loop.
-
Multimodal Content Understanding and Educational Tutoring: Parses long video courses, scientific paper figures, and visual mathematics problems, provides step-by-step explanations and answer verification, and supports in-depth teaching assistance in the STEM field.
-
Cross-Device Agent Control: Through visual perception and reasoning capabilities, automatically controls Android phones to complete App testing, performs file management in desktop operating systems, or automatically generates deployable web frontends based on design mockups.