通义千问-72B(Qwen-72B)是阿里云研发的通义千问大模型系列的720亿参数规模的模型。Qwen-72B是基于Transformer的大语言模型, 在超大规模的预训练数据上进行训练得到。预训练数据类型多样,覆盖广泛,包括大量网络文本、专业书籍、代码等。同时,在Qwen-72B的基础上,我们使用对齐机制打造了基于大语言模型的AI助手Qwen-72B-Chat。本仓库为Qwen-72B的仓库。 通义千问-72B(Qwen-72B)主要有以下特点: 1. 大规模高质量训练语料:使用超过3万亿tokens的数据进行预训练,包含高质量中、英、多语言、代码、数学等数据,涵盖通用及专业领域的训练语料。通过大量对比实验对预训练语料分布进行了优化。 2. 强大的性能:Qwen-72B在多个中英文下游评测任务上(涵盖常识推理、代码、数学、翻译等),效果显著超越现有的开源模型。具体评测结果请详见下文。 3. 覆盖更全面的词表:相比目前以中英词表为主的开源模型,Qwen-72B使用了约15万大小的词表。该词表对多语言更加友好,方便用户在不扩展词表的情况下对部分语种进行能力增强和扩展。 4. 较长的上下文支持:Qwen-72B支持32k的上下文长度。 Qwen-72B is the 72B-parameter version of the large language model series, Qwen (abbr. Tongyi Qianwen), proposed by Alibaba Cloud. Qwen-72B is a Transformer-based large…
Today, we're announcing Qwen3-Coder-Next-FP8, an open-weight language model designed specifically for coding agents and local development.
Runs On
What it takes to serve Qwen3-Coder-Next-FP8 (79.7B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 159.4 GB | 191.2 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x MI325X $2.00 · 1x MI355X $2.59 |
| 8-bit | 79.7 GB | 95.6 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x MI325X $2.00 · 1x MI355X $2.59 |
| 4-bit | 39.8 GB | 47.8 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.
Model Card
By Qwen, published under apache-2.0, revision da6e2ed27304.
Today, we're announcing Qwen3-Coder-Next-FP8, an open-weight language model designed specifically for coding agents and local development. It features the following key enhancements: Qwen3-Coder-Next-FP8 has the following features: NOTE: This model supports only non-thinking mode and does not generate blocks in its output. Meanwhile, specifying enablethinking=False is no longer required. For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation. We advise you to use the latest version of transformers. The following contains a code snippet illustrating how to use the model generate content based on…
Read Qwen's full model card
Highlights
Today, we're announcing Qwen3-Coder-Next-FP8, an open-weight language model designed specifically for coding agents and local development. It features the following key enhancements:
- Super Efficient with Significant Performance: With only 3B activated parameters (80B total parameters), it achieves performance comparable to models with 10–20x more active parameters, making it highly cost-effective for agent deployment.
- Advanced Agentic Capabilities: Through an elaborate training recipe, it excels at long-horizon reasoning, complex tool usage, and recovery from execution failures, ensuring robust performance in dynamic coding tasks.
- Versatile Integration with Real-World IDE: Its 256k context length, combined with adaptability to various scaffold templates, enables seamless integration with different CLI/IDE platforms (e.g., Claude Code, Qwen Code, Qoder, Kilo, Trae, Cline, etc.), supporting diverse development environments.
[!Note] This repository contains the FP8-quantized Qwen3-Coder-Next model checkpoint for convenience and performance. The quantization method is "fine-grained fp8" quantization with block size of 128. You can find more details in the
quantization_configfield inconfig.json.In addition, the experimental results presented in this model card are obtained from the original bfloat16 model prior to FP8 quantization.
Model Overview
Qwen3-Coder-Next-FP8 has the following features: - Type: Causal Language Models - Training Stage: Pretraining & Post-training - Number of Parameters: 80B in total and 3B activated - Number of Parameters (Non-Embedding): 79B - Hidden Dimension: 2048 - Number of Layers: 48 - Hybrid Layout: 12 * (3 * (Gated DeltaNet -> MoE) -> 1 * (Gated Attention -> MoE)) - Gated Attention: - Number of Attention Heads: 16 for Q and 2 for KV - Head Dimension: 256 - Rotary Position Embedding Dimension: 64 - Gated DeltaNet: - Number of Linear Attention Heads: 32 for V and 16 for QK - Head Dimension: 128 - Mixture of Experts: - Number of Experts: 512 - Number of Activated Experts: 10 - Number of Shared Experts: 1 - Expert Intermediate Dimension: 512 - Context Length: 262,144 natively
NOTE: This model supports only non-thinking mode and does not generate <think></think> blocks in its output. Meanwhile, specifying enable_thinking=False is no longer required.
For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation.
Quickstart
We advise you to use the latest version of transformers.
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Qwen/Qwen3-Coder-Next-FP8"
# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
# prepare the model input
prompt = "Write a quick sort algorithm."
messages = [
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
# conduct text completion
generated_ids = model.generate(
**model_inputs,
max_new_tokens=65536
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
content = tokenizer.decode(output_ids, skip_special_tokens=True)
print("content:", content)
Note: If you encounter out-of-memory (OOM) issues, consider reducing the context length to a shorter value, such as 32,768.
For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.
Deployment
For deployment, you can use the latest sglang or vllm to create an OpenAI-compatible API endpoint.
SGLang
SGLang is a fast serving framework for large language models and vision language models. SGLang could be used to launch a server with OpenAI-compatible API service.
sglang>=v0.5.8 is required for Qwen3-Coder-Next-FP8, which can be installed using:
pip install 'sglang[all]>=v0.5.8'
See its documentation for more details.
The following command can be used to create an API endpoint at http://localhost:30000/v1 with maximum context length 256K tokens using tensor parallel on 4 GPUs.
python -m sglang.launch_server --model Qwen/Qwen3-Coder-Next-FP8 --port 30000 --tp-size 2 --tool-call-parser qwen3_coder```
[!Note] The default context length is 256K. Consider reducing the context length to a smaller value, e.g.,
32768, if the server fails to start.
vLLM
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. vLLM could be used to launch a server with OpenAI-compatible API service.
vllm>=0.15.0 is required for Qwen3-Coder-Next-FP8, which can be installed using:
pip install 'vllm>=0.15.0'
See its documentation for more details.
The following command can be used to create an API endpoint at http://localhost:8000/v1 with maximum context length 256K tokens using tensor parallel on 4 GPUs.
vllm serve Qwen/Qwen3-Coder-Next-FP8 --port 8000 --tensor-parallel-size 2 --enable-auto-tool-choice --tool-call-parser qwen3_coder
[!Note] The default context length is 256K. Consider reducing the context length to a smaller value, e.g.,
32768, if the server fails to start.
Agentic Coding
Qwen3-Coder-Next-FP8 excels in tool calling capabilities.
You can simply define or use any tools as following example.
# Your tool implementation
def square_the_number(num: float) -> dict:
return num ** 2
# Define Tools
tools=[
{
"type":"function",
"function":{
"name": "square_the_number",
"description": "output the square of the number.",
"parameters": {
"type": "object",
"required": ["input_num"],
"properties": {
'input_num': {
'type': 'number',
'description': 'input_num is a number that will be squared'
}
},
}
}
}
]
from openai import OpenAI
# Define LLM
client = OpenAI(
# Use a custom endpoint compatible with OpenAI API
base_url='http://localhost:8000/v1', # api_base
api_key="EMPTY"
)
messages = [{'role': 'user', 'content': 'square the number 1024'}]
completion = client.chat.completions.create(
messages=messages,
model="Qwen3-Coder-Next-FP8",
max_tokens=65536,
tools=tools,
)
print(completion.choices[0])
Best Practices
To achieve optimal performance, we recommend the following sampling parameters: temperature=1.0, top_p=0.95, top_k=40.
Citation
If you find our work helpful, feel free to give us a cite.
@techreport{qwen_qwen3_coder_next_tech_report,
title = {Qwen3-Coder-Next Technical Report},
author = {{Qwen Team}},
url = {https://github.com/QwenLM/Qwen3-Coder/blob/main/qwen3_coder_next_tech_report.pdf},
note = {Accessed: 2026-02-03}
}
Configuration
- Architecture
- Qwen3NextForCausalLM
- Context length (tokens)
- 262,144
- Layers
- 48
- Hidden size
- 2,048
- Feed-forward size
- 5,120
- Attention heads
- 16
- Key/value heads
- 2
- Head dimension
- 256
- Vocabulary size
- 151,936
- Experts
- 512
- Experts active per token
- 10
- RoPE base
- 5,000,000
- Stored precision
- bfloat16
- Model type
- qwen3_next
- Quantization
- fp8
Identity and Version
- Repository
- Qwen/Qwen3-Coder-Next-FP8
- Publisher
- Qwen
- Task
- Text generation
- Modality
- Text
- Library
- transformers
- Parameters
- 79.7B parameters
- Languages
- Not stated by the source
- Revision
- da6e2ed27304dd39abadd9c82ef50e8de67bdd4c
- First published
- 2026-02-01
- Last updated
- 2026-02-03
Files and Weights
52 files, 80.4 GB in total. The weights are 40 files totalling 80.4 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model-00001-of-00040.safetensors | Weights | 2.3 GB | 81fc8306344b |
| model-00002-of-00040.safetensors | Weights | 2.0 GB | 7c1eb3b175b9 |
| model-00003-of-00040.safetensors | Weights | 2.0 GB | 62c034d5f7b2 |
| model-00004-of-00040.safetensors | Weights | 2.0 GB | 879eaa1ce8ba |
| model-00005-of-00040.safetensors | Weights | 2.0 GB | 785259af0e3e |
| model-00006-of-00040.safetensors | Weights | 2.0 GB | 79c183f8388e |
| model-00007-of-00040.safetensors | Weights | 2.0 GB | 5b33fd40d09e |
| model-00008-of-00040.safetensors | Weights | 2.0 GB | 3993df662275 |
| model-00009-of-00040.safetensors | Weights | 2.0 GB | 074c68c97085 |
| model-00010-of-00040.safetensors | Weights | 2.0 GB | 9ff415699200 |
| model-00011-of-00040.safetensors | Weights | 2.0 GB | 7a94ef41eabb |
| model-00012-of-00040.safetensors | Weights | 2.0 GB | 185b7d1bfc64 |
| model-00013-of-00040.safetensors | Weights | 2.0 GB | f2a2457629e7 |
| model-00014-of-00040.safetensors | Weights | 2.0 GB | 88fd3310606c |
| model-00015-of-00040.safetensors | Weights | 2.0 GB | c98a491d0e32 |
| model-00016-of-00040.safetensors | Weights | 2.0 GB | ddfb0d489741 |
| model-00017-of-00040.safetensors | Weights | 2.0 GB | 87963822288f |
| model-00018-of-00040.safetensors | Weights | 2.0 GB | f81bca32c73a |
| model-00019-of-00040.safetensors | Weights | 2.0 GB | 0f9a7b626201 |
| model-00020-of-00040.safetensors | Weights | 2.0 GB | 20b837e2920b |
| model-00021-of-00040.safetensors | Weights | 2.0 GB | e5ae0ae4f8a7 |
| model-00022-of-00040.safetensors | Weights | 2.0 GB | b141f2a16a12 |
| model-00023-of-00040.safetensors | Weights | 2.0 GB | a27074531ffc |
| model-00024-of-00040.safetensors | Weights | 2.0 GB | 24a04b08e9c7 |
| model-00025-of-00040.safetensors | Weights | 2.0 GB | 50ed4184a0f8 |
| model-00026-of-00040.safetensors | Weights | 2.0 GB | 95f5114fe6e7 |
| model-00027-of-00040.safetensors | Weights | 2.0 GB | 1d403f9008df |
| model-00028-of-00040.safetensors | Weights | 2.0 GB | 35a968fef6f3 |
| model-00029-of-00040.safetensors | Weights | 2.0 GB | 82f9a8ae7e29 |
| model-00030-of-00040.safetensors | Weights | 2.0 GB | ce9c6ca2e0c5 |
| model-00031-of-00040.safetensors | Weights | 2.0 GB | 69e0054fffd1 |
| model-00032-of-00040.safetensors | Weights | 2.0 GB | b59cc011d440 |
| model-00033-of-00040.safetensors | Weights | 2.0 GB | dfdac2e07704 |
| model-00034-of-00040.safetensors | Weights | 2.0 GB | 3dc60cb85567 |
| model-00035-of-00040.safetensors | Weights | 2.0 GB | 6a302b467f63 |
| model-00036-of-00040.safetensors | Weights | 2.0 GB | 093fb4c1cc50 |
| model-00037-of-00040.safetensors | Weights | 2.0 GB | 859ba58bd905 |
| model-00038-of-00040.safetensors | Weights | 2.0 GB | 8ab001453b89 |
| model-00039-of-00040.safetensors | Weights | 2.0 GB | 4beb85e677e9 |
| model-00040-of-00040.safetensors | Weights | 2.0 GB | 9db4ee4a0f2a |
| config.json | Configuration | 9.8 KB | — |
| generation_config.json | Configuration | 214 B | — |
| model.safetensors.index.json | Configuration | 14.8 MB | 0ac9834aa1e3 |
| qwen3_coder_detector_sgl.py | Configuration | 19.9 KB | — |
| qwen3coder_tool_parser_vllm.py | Configuration | 31.7 KB | — |
| README.md | Documentation | 8.1 KB | — |
| chat_template.jinja | Other | 6.1 KB | — |
| .gitattributes | Repository | 1.6 KB | — |
| merges.txt | Tokenizer | 1.7 MB | — |
| tokenizer.json | Tokenizer | 7.0 MB | — |
| tokenizer_config.json | Tokenizer | 11.7 KB | — |
| vocab.json | Tokenizer | 2.8 MB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 80.4 GB
Released by Qwen through ModelScope. Read the license.
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 80.4 GB |
| 16-bit | 159.4 GB |
| 8-bit | 79.7 GB |
| 4-bit | 39.8 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About Qwen3-Coder-Next-FP8
How much GPU memory does Qwen3-Coder-Next-FP8 need?
About 191.2 GB at 16-bit and 47.8 GB at 4-bit: the weights (79.7B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run Qwen3-Coder-Next-FP8 on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use Qwen3-Coder-Next-FP8 commercially?
Yes. Qwen3-Coder-Next-FP8 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is Qwen3-Coder-Next-FP8's context length?
262,144 tokens, from the maximum position embeddings in its published configuration.
Similar Models
The Meta Llama 3.3 multilingual large language model (LLM) is an instruction tuned generative model in 70B (text in/text out). The Llama 3.3 instruction tuned text only model is optimized for multilingual dialogue use cases and outperforms many of the available open source and closed chat models on common industry benchmarks. Model Architecture: Llama 3.3 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for helpfulness and safety. Supported languages: English, German, French, Italian, Portuguese, Hindi, Spanish, and…
For more details on how to deploy and use the model - see the Quick Start Guide below! The post-training data has a cutoff date of February 2026. The pre-training data has a cutoff date of June 2025. NVIDIA Nemotron™ is a family of open models with open weights, training data, and recipes, delivering leading efficiency and accuracy for building specialized AI agents. Nemotron-3-Super-120B-A12B-NVFP4 is a large language model (LLM) trained by NVIDIA, designed to deliver strong agentic, reasoning, and conversational capabilities. It is optimized for collaborative agents and high-volume workloads such as IT ticket automation. Like other models in the family, it responds to user queries and…
The NVIDIA Qwen3.5-122B-A10B-NVFP4 model is the quantized version of Alibaba's Qwen3.5-122B-A10B model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information, please check here. The NVIDIA Qwen3.5-122B-A10B NVFP4 model is quantized with Model Optimizer. This model is ready for commercial/non-commercial use. This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party’s requirements for this application and use case; see link to Non-NVIDIA (Qwen3.5-122B-A10B) Model Card from Alibaba. Global Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems…
Welcome to the gpt-oss series, OpenAI’s open-weight models designed for powerful reasoning, agentic tasks, and versatile developer use cases. We’re releasing two flavors of these open models: - gpt-oss-120b — for production, general purpose, high reasoning use cases that fit into a single 80GB GPU (like NVIDIA H100 or AMD MI300X) (117B parameters with 5.1B active parameters) - gpt-oss-20b — for lower latency, and local or specialized use cases (21B parameters with 3.6B active parameters) Both models were trained on our harmony response format and should only be used with the harmony format as it will not work correctly otherwise. You can use gpt-oss-120b and gpt-oss-20b with Transformers.…
For more details on how to deploy and use the model - see the Quick Start Guide below! The post-training data has a cutoff date of February 2026. The pre-training data has a cutoff date of June 2025. NVIDIA Nemotron™ is a family of open models with open weights, training data, and recipes, delivering leading efficiency and accuracy for building specialized AI agents. Nemotron-3-Super-120B-A12B-BF16 is a large language model (LLM) trained by NVIDIA, designed to deliver strong agentic, reasoning, and conversational capabilities. It is optimized for collaborative agents and high-volume workloads such as IT ticket automation. Like other models in the family, it responds to user queries and…