Model reference · open weights

Qwen3-Coder-Next

LLMs Qwen Text gen 6 builds Open weights 1.8M dl/mo

Qwen3-Coder-Next is an open-weight language model from Qwen. Qwen3-Coder-Next-FP8 (FP8) weighs 80.4 GB; the smallest configuration that runs it is 2× L40S 48 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • Qwen3-Coder-Next is an open-weight causal language model developed by Qwen for coding agents and local development.
  • It features 79.7B total parameters with 3B activated, a native context length of 262,144 tokens, and is distributed under the Apache-2.0 license.
  • The model supports tool calling and integrates with various IDE platforms.

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 byQwen
Released2026-02-01
Parameters79.7B
VRAM80.4 GB for the weights

What it runs on

Memory and cards for Qwen3-Coder-Next-FP8 (FP8)

80.4 GBweights, file size
25 MBcache per 1K tokens
79 MBfixed state per request
1.2 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … H100 80 GB
8 smaller cards
RTX PRO 6000 Blackwell 96 GB237255K93.8 GB
DGX Spark (GB10) 128 GB unified7122all 256K107 GB
H200 141 GB18057all 256K138 GB
B200 180 GB30897all 256K176 GB
2× L40S 48 GB
tensor parallel
185199K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
164160K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel · FP8 without its speed-up here
174164K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
8022all 256K31.0 GB a card
2× H100 80 GB
tensor parallel
22170all 256K78.1 GB a card
2× A100 80 GB
tensor parallel · FP8 without its speed-up here
26283all 256K78.2 GB a card
2× RTX PRO 6000 Blackwell 96 GB
tensor parallel
333105all 256K93.8 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
181.9 GB82.5 GB
583.0 GB86.0 GB
883.8 GB88.7 GB
1686.1 GB95.7 GB
3290.6 GB110 GB
6499.5 GB138 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Qwen3-Coder-Next-FP8 ↗ 79.7BFP8 80.4 GB2× L40S 48 GB
Qwen3-Coder-Next ↗ 79.7BBF16 159 GB4× L40S 48 GB
Qwen3-Coder-Next-GGUF ↗
packaged by unsloth
29 builds: TQ1_0 18.9 GB … BF16 159 GB
GGUF 97.8 GBDGX Spark (GB10) 128 GB unified
Qwen3-Coder-Next-FP8 (above) ↗
packaged by unsloth
79.7BFP8 80.4 GB2× L40S 48 GB
Qwen3-Coder-Next-FP8-dynamic ↗
packaged by RedHatAI
79.8BFP8 81.7 GB2× L40S 48 GB
Qwen3-Coder-Next-NVFP4 ↗
packaged by RedHatAI
NVFP4 47.6 GB2× RTX 5090 32 GB

From the model card

What Qwen says about Qwen3-Coder-Next

Read the 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_config field in config.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 ```` 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.

Yo

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms