Qwen3 Coder Next

79.7B total, 3.9B active · 256k context · apache-2.0 · released 2026-01-30

codingagentic

In short

Qwen3 Coder Next is an open model from Alibaba Qwen with 79.7B parameters (3.9B active per token). At Q4_K_M, Qwen3 Coder Next needs about 46 GB of memory at 8k context and 47 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs Qwen3 Coder Next fully in memory at 32k context is the Mac mini M4 Pro 64GB, $2,399 at Amazon, at about 33 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the US today

Mac mini M4 Pro 64GB, new at Amazon

Runs Qwen3 Coder Next at Q4_K_M fully in memory at 32k context, about 33 tok/sest.

$2,399

In stock, checked

What to run it on in the US

Fully in memory at 32k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
Mac mini M4 Pro 64GBQ4_K_Mfits33 tok/s$2,39913.7
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s$3,5004.8
Mac Studio M4 Max 64GBQ4_K_Mfits66 tok/s$3,50018.8
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s$3,8004.4
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s$3,9594.3
AMD Radeon PRO W7900Q4_K_Mfits88 tok/s$4,00022.0
Mac Studio M3 Ultra 96GBQ6_Kfits78 tok/s$4,75816.5
Mac Studio M4 Max 128GBQ8_0fits43 tok/s$5,4007.9
NVIDIA RTX A6000Q4_K_Mfits88 tok/s$5,98914.7
ASUS Ascent GX10 128GBQ8_0fits20 tok/s$6,1003.3
NVIDIA RTX PRO 5000 Blackwell 48GBQ4_K_Mfits154 tok/s$6,99922.0
NVIDIA DGX Spark 128GBQ8_0fits20 tok/s$7,8002.6
NVIDIA RTX 6000 Ada GenerationQ4_K_Mfits110 tok/s$8,49513.0
NVIDIA RTX PRO 5000 Blackwell 72GBQ6_Kfits123 tok/s$8,49914.4
Mac Studio M3 Ultra 256GBQ8_0fits64 tok/s$9,5006.7
NVIDIA RTX PRO 6000 BlackwellQ8_0fits133 tok/s$16,0008.3
Mac Studio M3 Ultra 512GBQ8_0fits64 tok/s$30,0002.1
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ4_K_Mfits26 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits20 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits20 tok/s––
NVIDIA RTX PRO 4000 BlackwellQ4_K_Moffload17 tok/s$33951.0
NVIDIA Tesla P40Q4_K_Moffload16 tok/s$44935.0
Intel Arc Pro B60Q4_K_Moffload15 tok/s$89916.1
AMD Radeon RX 7900 XTXQ4_K_Moffload18 tok/s$1,40012.6
AMD Radeon AI PRO R9700Q4_K_Moffload22 tok/s$1,70013.2
Intel Arc Pro B70Q4_K_Moffload20 tok/s$1,80011.1
NVIDIA GeForce RTX 3090Q4_K_Moffload18 tok/s$1,9799.0
NVIDIA GeForce RTX 3090 TiQ4_K_Moffload18 tok/s$2,0338.9
NVIDIA GeForce RTX 4090Q4_K_Moffload18 tok/s$2,0738.7
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ4_K_Moffload16 tok/s$2,9805.5
NVIDIA RTX PRO 4500 BlackwellQ4_K_Moffload25 tok/s$4,0006.2
NVIDIA GeForce RTX 5090Q4_K_Moffload27 tok/s$6,4954.2

30 other cards and machines we price cannot hold it at this context.

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
Q4_K_Mgguf45.2 GB46.2 GB46.9 GB47.8 GB49.7 GB
mlx-4bitmlx41.8 GB42.8 GB43.5 GB44.4 GB46.3 GB
Q5_K_Mgguf52.9 GB53.9 GB54.7 GB55.6 GB57.5 GB
Q6_Kgguf61.1 GB62.1 GB62.8 GB63.8 GB65.6 GB
mlx-8bitmlx78.8 GB79.8 GB80.5 GB81.5 GB83.4 GB
Q8_0gguf79.0 GB80.0 GB80.7 GB81.6 GB83.5 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M
    • LM Studiolms get unsloth/Qwen3-Coder-Next-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M
  • mlx-4bit
    • LM Studiolms get mlx-community/Qwen3-Coder-Next-4bit
    • MLXmlx_lm.server --model mlx-community/Qwen3-Coder-Next-4bit
  • Q5_K_M
    • Ollamaollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q5_K_M
    • LM Studiolms get unsloth/Qwen3-Coder-Next-GGUF@q5_k_m
    • llama.cppllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q5_K_M
  • Q6_K
    • Ollamaollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q6_K
    • LM Studiolms get unsloth/Qwen3-Coder-Next-GGUF@q6_k
    • llama.cppllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q6_K
  • mlx-8bit
    • LM Studiolms get mlx-community/Qwen3-Coder-Next-8bit
    • MLXmlx_lm.server --model mlx-community/Qwen3-Coder-Next-8bit
  • Q8_0
    • Ollamaollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q8_0
    • LM Studiolms get unsloth/Qwen3-Coder-Next-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q8_0

Questions

How much VRAM does Qwen3 Coder Next need?
At Q4_K_M, Qwen3 Coder Next needs about 46 GB of memory at 8k context and 47 GB at 32k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running Qwen3 Coder Next locally?
The cheapest hardware in the US that runs Qwen3 Coder Next fully in memory at 32k context is the Mac mini M4 Pro 64GB, $2,399 at Amazon, at about 33 tok/s (estimated). The best value is the AMD Radeon PRO W7900 (about 88 tok/s for $4,000). The fastest we price is the NVIDIA RTX PRO 5000 Blackwell 48GB, at about 154 tok/s.
What is the cheapest way to run Qwen3 Coder Next in the US today?
The Mac mini M4 Pro 64GB, $2,399 new at Amazon, in stock: it runs Qwen3 Coder Next at Q4_K_M fully in memory at 32k context, at about 33 tok/s (estimated).
Can I run Qwen3 Coder Next on a 16 GB GPU?
No: it does not fit in 16 GB at 32k context, even with system RAM.
Can I run Qwen3 Coder Next on a 24 GB GPU?
Only partly: at 32k context it does not fit in 24 GB, so part of it runs from system RAM and it slows to about 17 tok/s on the NVIDIA RTX PRO 4000 Blackwell (estimated).
How do I run Qwen3 Coder Next locally?
With Ollama: ollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
What licence is Qwen3 Coder Next released under?
apache-2.0, which allows commercial use.

More hardware for local AI