Model reference · open weights
Qwen3-Coder-Next is an open-weight language model from Qwen. Qwen3-Coder-Next (BF16) weighs 159 GB; the smallest configuration that runs it is 4× L40S 48 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
AxForge offerings: Qwen3-Coder-Next
Summary of the Qwen/Qwen3-Coder-Next-FP8 model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | Qwen |
|---|---|
| Released | 2026-02-01 |
| Parameters | 79.7B |
| VRAM | 159 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … H200 141 GB 11 smaller cards | ||||
| B200 180 GB | 26 | 8 | all 256K | 176 GB |
| 4× L40S 48 GB tensor parallel | 24 | 6 | 229K | 44.0 GB a card |
| 2× RTX PRO 6000 Blackwell 96 GB tensor parallel | 51 | 16 | all 256K | 93.8 GB a card |
| 2× H200 141 GB tensor parallel | 366 | 116 | all 256K | 138 GB a card |
| 4× H100 80 GB tensor parallel | 260 | 74 | all 256K | 78.1 GB a card |
| 4× A100 80 GB tensor parallel | 308 | 87 | all 256K | 78.2 GB a card |
| 2× B200 180 GB tensor parallel | 621 | 196 | all 256K | 176 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 161 GB | 161 GB |
| 5 | 162 GB | 165 GB |
| 8 | 163 GB | 168 GB |
| 16 | 165 GB | 175 GB |
| 32 | 170 GB | 189 GB |
| 64 | 179 GB | 217 GB |
One card, with vLLM's small-card settings.
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| Qwen3-Coder-Next-FP8 ↗ | 79.7B | FP8 | 80.4 GB | 2× L40S 48 GB |
| Qwen3-Coder-Next (above) ↗ | 79.7B | BF16 | 159 GB | 4× L40S 48 GB |
| Qwen3-Coder-Next-GGUF ↗ packaged by unsloth 29 builds: TQ1_0 18.9 GB … BF16 159 GB |
GGUF | 97.8 GB | DGX Spark (GB10) 128 GB unified | |
| Qwen3-Coder-Next-FP8 ↗ packaged by unsloth |
79.7B | FP8 | 80.4 GB | 2× L40S 48 GB |
| Qwen3-Coder-Next-FP8-dynamic ↗ packaged by RedHatAI |
79.8B | FP8 | 81.7 GB | 2× L40S 48 GB |
| Qwen3-Coder-Next-NVFP4 ↗ packaged by RedHatAI |
NVFP4 | 47.6 GB | 2× RTX 5090 32 GB |
From the model card
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:
[!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.
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 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.
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.
For deployment, you can use the latest sglang or vllm to create an OpenAI-compatible API endpoint.
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 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.
Qwen3-Coder-Next-FP8 excels in tool calling capabilities.
Yo
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.