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-GGUF (GGUF) weighs 97.8 GB; the smallest configuration that runs it is DGX Spark (GB10) 128 GB unified.

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
VRAM97.8 GB for the weights

What it runs on

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

97.8 GBweights, file size
651 MBruntime overhead, at least
262,144 tokenscontext max

How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.

CardWeights alone
RTX 3060 12 GB … RTX PRO 6000 Blackwell 96 GB
9 smaller cards
does not fit
DGX Spark (GB10) 128 GB unifiedtight
H200 141 GBfits
B200 180 GBfits
4× RTX 5090 32 GB
split by layers (llama.cpp)
fits
2× H100 80 GB
split by layers (llama.cpp)
fits
2× A100 80 GB
split by layers (llama.cpp)
fits
4× L40S 48 GB
split by layers (llama.cpp)
fits
2× RTX PRO 6000 Blackwell 96 GB
split by layers (llama.cpp)
fits

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 (above) ↗
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 ↗
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