Qwen3-Coder-Next VRAM requirements
Qwen3-Coder-Next has 79.7B parameters, of which about 3B are used per token; all 512 experts still have to be in memory. With an 8K-token context and one request it needs about 50.1 GB of GPU memory at Q4_K_M, 82.3 GB at FP8 and 164 GB at FP16/BF16. The published weights take 148 GB (BF16). It does not fit on a 24 GB card at Q4_K_M; the smallest single GPU that holds it with an 8K context is the 80 GB A100 / H100 80GB.
Open Qwen3-Coder-Next in the calculator
VRAM by quantization
Weights plus the KV cache for 8,192 tokens in FP16 and the runtime overhead (0.5 GB plus 10%). Each row opens the calculator with that setting. What the GGUF names mean.
| Precision | Weights | Total | Smallest setup |
|---|---|---|---|
| As published (BF16) | 148 GB | 164 GB | B200 |
| FP16 / BF16 | 148 GB | 164 GB | B200 |
| FP8 / INT8 | 74.2 GB | 82.3 GB | H200 |
| INT4 (AWQ / GPTQ) | 39.4 GB | 44.1 GB | L40S / RTX 6000 Ada |
| GGUF Q8_0 | 78.8 GB | 87.4 GB | H200 |
| GGUF Q6_K | 60.8 GB | 67.6 GB | A100 / H100 80GB |
| GGUF Q5_K_M | 52.6 GB | 58.6 GB | A100 / H100 80GB |
| GGUF Q4_K_M | 44.9 GB | 50.1 GB | A100 / H100 80GB |
| GGUF Q3_K_M | 36.3 GB | 40.6 GB | L40S / RTX 6000 Ada |
| GGUF Q2_K | 31.1 GB | 34.9 GB | A100 40GB |
KV cache at long context
12 of its 48 layers use full attention and 36 are linear-attention layers with no growing cache. Each extra token of context adds 24 KB of FP16 cache per request. How the KV cache works.
| Context | KV cache, FP16 | KV cache, FP8 | Total at Q4_K_M |
|---|---|---|---|
| 4K tokens | 96 MB | 48 MB | 50.0 GB |
| 32K tokens | 768 MB | 384 MB | 50.7 GB |
| 128K tokens | 3.00 GB | 1.50 GB | 53.2 GB |
| 256K tokens | 6.00 GB | 3.00 GB | 56.5 GB |
Which GPUs can run Qwen3-Coder-Next
With 8,192 tokens of context. Several GPUs means one tensor-parallel group of 2, 4 or 8 cards.
| GPU | Memory | Q4_K_M | FP8 |
|---|---|---|---|
| RTX 3060 | 12 GB | Needs 8 | Needs 8 |
| RTX 4060 Ti 16GB | 16 GB | Needs 4 | Needs 8 |
| RTX 3090 / 4090 | 24 GB | Needs 4 | Needs 4 |
| RTX 5090 | 32 GB | Needs 2 | Needs 4 |
| A100 40GB | 40 GB | Needs 2 | Needs 4 |
| Mac, 64 GB unified memory about 75% of it is usable by the GPU by default | 48 GB | Needs 2 | Needs 2 |
| L40S / RTX 6000 Ada | 48 GB | Needs 2 | Needs 2 |
| A100 / H100 80GB | 80 GB | Fits on one | Needs 2 |
| Mac, 128 GB unified memory about 75% of it is usable by the GPU by default | 96 GB | Fits on one | Fits on one |
| H200 | 141 GB | Fits on one | Fits on one |
| B200 | 180 GB | Fits on one | Fits on one |
How fast Qwen3-Coder-Next writes
Tokens per second for one request with 8,192 tokens of context, estimated from memory bandwidth and the parameters read per token. A dash means it does not fit on one card. Try other settings in the speed calculator.
| Hardware | Bandwidth | Q4_K_M | FP8 |
|---|---|---|---|
| RTX 3060 12GB | 360 GB/s | — | — |
| RTX 4090 | 1,008 GB/s | — | — |
| RTX 5090 | 1,792 GB/s | — | — |
| M4 Max Mac (128 GB) | 546 GB/s | 72–127 | 48–82 |
| M3 Ultra Mac Studio (512 GB) | 819 GB/s | 103–184 | 69–120 |
| H100 SXM | 3,350 GB/s | 285–587 | — |
| H200 | 4,800 GB/s | 345–746 | 269–545 |
Longest context on one GPU
How many tokens of context fit on a single card with one request and an FP16 KV cache. "Full" means the model's whole context window fits.
| GPU | Memory | Q4_K_M | Q8_0 | FP8 |
|---|---|---|---|---|
| RTX 3060 | 12 GB | No | No | No |
| RTX 4060 Ti 16GB | 16 GB | No | No | No |
| RTX 3090 / 4090 | 24 GB | No | No | No |
| RTX 5090 | 32 GB | No | No | No |
| A100 40GB | 40 GB | No | No | No |
| Mac, 64 GB unified memory | 48 GB | No | No | No |
| L40S / RTX 6000 Ada | 48 GB | No | No | No |
| A100 / H100 80GB | 80 GB | 256K (full) | No | No |
| Mac, 128 GB unified memory | 96 GB | 256K (full) | 256K (full) | 256K (full) |
| H200 | 141 GB | 256K (full) | 256K (full) | 256K (full) |
| B200 | 180 GB | 256K (full) | 256K (full) | 256K (full) |
Model details
- Parameters
- 79.7B (79,674,391,296)
- Experts
- 512 routed experts, all loaded
- Active per token
- 3B
- Layers
- 12 of its 48 layers use full attention and 36 are linear-attention layers with no growing cache
- Attention cache
- 2 KV heads × 256
- Context length
- 262,144 tokens
- Published weights
- 148 GB (BF16)
- On Hugging Face
- Qwen/Qwen3-Coder-Next
Other models
- DeepSeek V4 Flash 0731
- Qwen3.6 35B-A3B
- Qwen3.6 27B
- Qwen3.8 27B
- Qwen3.8 Flash Next
- Qwen3.8 2.4T-A95B
- Qwen3.5 9B
- Qwen3.5 122B-A10B
- DeepSeek V4.1 Flash
- DeepSeek V4 Flash
- DeepSeek V4 Pro
- DeepSeek V3.2
- GLM-5.3
- GLM-5.3 Flash
- GLM-5.2
- GLM-4.7 Flash
- Gemma 4 31B
- Gemma 4 26B-A4B
- Gemma 4 12B
- Gemma 4 E4B
- Kimi K3
- MiniMax M3
- MiniMax M2.7
- MiMo V2.6 Flash
- MiMo V2.6 Pro
- Mistral Medium 3.5 128B
- Nemotron 3 Nano 4B
- Nemotron 3 Nano 30B-A3B
- Nemotron 3 Super 120B-A12B
- Xing 4.0 29B-A4B
- Muse Glimmer 30B
- MiniCPM5 2B
- Llama 3.1 8B
- Llama 3.1 70B
- Qwen3 8B
- Qwen3 30B-A3B
- gpt-oss-20b
- gpt-oss-120b
- DeepSeek V3 / R1
Numbers read from the model files on Hugging Face on .