Qwen3.8-Flash-Next README

项目的 README,来自 github.com/QwenLM/Qwen3.8-Flash-Next。合并为一个 markdown 文件:README.md。

Qwen4

💜 Qwen Studio | 🤗 Hugging Face | 🤖 ModelScope | 💬 WeChat (微信) | 🫨 Discord

Welcome to the GitHub repository of the Qwen4.

Introduction

Qwen4

The Qwen4 open model series shares the architecture and training techniques of Qwen4-Max, our ultra-sparse flagship built for long-horizon agentic applications and efficient inference that build upon Qwen3.8-Flash-Next.

Qwen4 features the following enhancement:

Qwen3.8-Flash-Next

In this release we are opening the weights of Qwen3.8-Flash-Next, a multimodal MoE model that also serves as an early preview of the architecture used in Qwen4. It plays the same role that Qwen3-Next played for Qwen3.5: the hybrid Gated DeltaNet + Gated Attention design introduced at that time has since been used across the Qwen3.5, Qwen3.6, Qwen3.7 and Qwen3.8 series. We are again releasing the architectural changes early, so that the community can examine them before the full Qwen4 model family is built on top of them.

Qwen3.8-Flash-Next Architecture

Qwen3.8-Flash-Next upgrades the model systematically along four aspects — attention, residual, embedding and optimization — improving model capability while further optimizing computational efficiency, model capacity and training stability:

Qwen3.8-Flash-Next features a 125B-parameter main model, supplemented by an additional 51B N-gram embeddings, with 6B parameters activated per token. Compared with Qwen3.7-Plus, Qwen3.8-Flash-Next substantially reduces both training and inference cost — training takes only about 1/9 as much, yet it delivers superior capabilities in coding and office tasks.

News

Models

The official model weights are released on:

Benchmarks

Qwen4 Open Models

Qwen4-35B-A3B Benchmark Results

Qwen3.8-Flash-Next

Detailed evaluation results are reported in the Qwen3.8-Flash-Next blog.

Quickstart

Official

You can try Qwen4 on our official sites and enjoy the native experience with extra features.

Qwen API

QwenCloud provides first-class support for Qwen4, which is compatible with various API specifications, including OpenAI and Anthropic, making it simple for you to try Qwen4 in your own applications.

Qwen Code

Qwen Code is an open-source AI agent for the terminal, optimized for Qwen models. It helps you understand large codebases, automate tedious work, and ship faster. Follow its documentation to get started!

QwenWork

Qwen3.8-Flash-Next now powers the newly-launched "Standard" mode on QwenWork. QwenWork is a one-stop AI working platform launched by Alibaba. Follow its documentation to get started!

Local Use

Hugging Face Transformers

transformers acts as the model-definition framework in the current open-weight LLM landscape. It also includes functionalities for LLM inference and training. The addition of serving capabilities in transformers makes it much easier to integrate new models in your development. See the Serve CLI guide for more information.

llama.cpp

llama.cpp enables LLM inference with minimal setup and state-of-the-art performance on a wide range of hardware. llama.cpp supports the Qwen4 (text & vision). Look for models ending with GGUF on Hugging Face Hub.

MLX (Apple Silicon)

If you are running on Apple Silicon, mlx-vlm supports Qwen4 (vision + text). Original checkpoints are compatible and can be converted. You can also search for models ending with MLX on the Hugging Face Hub for ready-to-use quantized versions.

Unsloth

Unsloth contains a local UI to run and train LLMs and diffusion models, including Qwen4 and more. See the Qwen4 guide for running Qwen4 quants with Unsloth.

LiteRT-LM

LiteRT-LM is a production-ready, high-performance LLM runtime. See the Qwen4 guide for running Qwen4 with LiteRT-LM. You can also look for models in the .litertlm format on the Hugging Face Hub.

Deployment

Qwen4 is supported by multiple inference frameworks for production-level serving.

SGLang

SGLang is a fast serving framework for large language models and vision language models. SGLang can be used to launch a server with an OpenAI-compatible API service.

See SGLang Cookbook on serving Qwen4-35B-A3B.

vLLM

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. vLLM can be used to launch a server with an OpenAI-compatible API service.

See vLLM Recipes on serving Qwen4-35B-A3B.

TokenSpeed

TokenSpeed is a speed-of-light LLM inference engine. TokenSpeed can be used to launch a server with an OpenAI-compatible API service.

See TokenSpeed Recipes on serving Qwen4.

Finetuning

We advise you to use training frameworks, including Unsloth, Swift, Llama-Factory, to finetune your models with SFT, DPO, GRPO, etc.

License Agreement

Please find the license file released with the model weights on Hugging Face Hub or ModelScope.

Citation

If you find our work helpful, feel free to give us a cite.

@techreport{qwen2026design,
    title       = {On the Design of {Qwen3.8-Next} Architecture: Evaluation, Efficiency, and Training Stability},
    author      = {{Qwen Team}},
    institution = {Alibaba Group},
    month       = {August},
    year        = {2026}
}

@misc{qwen3.8flashnext,
    title  = {{Qwen3.8-Flash-Next}: A New Architecture, Towards Ultimate Cost-Efficiency},
    author = {{Qwen Team}},
    month  = {August},
    year   = {2026},
    url    = {https://qwen.ai/blog?id=qwen3.8-flash-next}
}

@misc{qwen4-35ba3b,
    title  = {{Qwen4-35B-A3B}},
    author = {{Qwen Team}},
    month  = {December},
    year   = {2026},
    url    = {https://huggingface.co/Qwen/Qwen4-35B-A3B}
}

Contact Us

If you are interested in leaving a message to either our research team or product team, join our Discord or WeChat groups!

Qwen3.8-Flash-Next (QwenLM/Qwen3.8-Flash-Next)

正在搜索数据库…

这是什么?Qwen3.8-Flash-Next 是阿里巴巴 Qwen 团队推出的开放权重多模态混合专家(MoE)基础模型,同时也是阿里计划在即将推出的 Qwen4 模型系列中采用的架构的早期预览。
这是一个聊天应用,还是需要我自己部署的原始模型权重?它只是发布的模型权重,不是打包好的应用。你从 Hugging Face Hub 或 ModelScope 下载权重,再用 transformers、vLLM、SGLang 或 llama.cpp 等推理框架运行。
怎么在本地把它跑起来?用 huggingface download 或 git clone(或 modelscope download)下载权重,然后用 transformers serve 命令行、vLLM 或 SGLang 启动服务器,得到 OpenAI 兼容的 API 端点。
运行它需要什么硬件或框架?你需要 transformers、vLLM、SGLang、llama.cpp、MLX(Apple Silicon)或 Unsloth 之类的部署框架,外加足够的显存——这是一个总参数 1250 亿、每个 token 激活 60 亿参数的 MoE 模型。
我能在单张消费级显卡上跑完整模型吗?全精度不行——它是一个 1250 亿参数的 MoE 模型,要在像样的硬件上通过 vLLM 或 SGLang 之类的框架部署;不过也有面向 llama.cpp 的 GGUF 量化版本和面向 Apple Silicon 的 MLX 量化版本,适合更轻量的环境。
它的架构与之前的 Qwen 模型有什么不同?它用 Gated DeltaNet + Qwen Sparse Attention 混合结构升级了注意力,把残差流拓宽成 4 个门控分支(Gated Residual),加入 N-gram Embedding 表以低成本扩大容量,并使用 Muon 优化器训练以获得更好的稳定性。
不用自己部署能试用吗?可以——它驱动 QwenWork 上新的“Standard”模式,可通过 QwenCloud 上 OpenAI/Anthropic 兼容的 Qwen API 使用,也能通过 Qwen Code 终端智能体使用。
它和 Qwen3.7-Plus 相比如何?训练成本只有 Qwen3.7-Plus 的约九分之一,同时在编程和办公任务能力上更胜一筹。
我能自己微调这个模型吗?可以,README 推荐用 Unsloth、Swift 或 Llama-Factory 等训练框架,以 SFT、DPO 或 GRPO 进行微调。
作者
QwenLM
大小
2.2 MB
星标
481
更新
提交Aug 27
时长
3个月
提交 · 90 天