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 46 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs Qwen3 Coder Next fully in memory at 8k context is the Mac mini M4 Pro 64GB, $2,399 at Amazon, at about 40 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 8k context, about 40 tok/sest.

$2,399

In stock, checked

What to run it on in the US

Fully in memory at 8k 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_Mfits40 tok/s$2,39916.8
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits19 tok/s$3,5005.5
Mac Studio M4 Max 64GBQ4_K_Mfits81 tok/s$3,50023.1
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits19 tok/s$3,8005.1
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits19 tok/s$3,9594.8
AMD Radeon PRO W7900Q4_K_Mfits108 tok/s$4,00027.0
Mac Studio M3 Ultra 96GBQ6_Kfits92 tok/s$4,75819.4
Mac Studio M4 Max 128GBQ8_0fits48 tok/s$5,4009.0
NVIDIA RTX A6000Q4_K_Mfits108 tok/s$5,98918.1
ASUS Ascent GX10 128GBQ8_0fits23 tok/s$6,1003.8
NVIDIA RTX PRO 5000 Blackwell 48GBQ4_K_Mfits190 tok/s$6,99927.1
NVIDIA DGX Spark 128GBQ8_0fits23 tok/s$7,8003.0
NVIDIA RTX 6000 Ada GenerationQ4_K_Mfits135 tok/s$8,49515.9
NVIDIA RTX PRO 5000 Blackwell 72GBQ6_Kfits144 tok/s$8,49917.0
Mac Studio M3 Ultra 256GBQ8_0fits73 tok/s$9,5007.6
NVIDIA RTX PRO 6000 BlackwellQ8_0fits151 tok/s$16,0009.5
Mac Studio M3 Ultra 512GBQ8_0fits73 tok/s$30,0002.4
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits19 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ4_K_Mfits32 tok/s––
Lenovo ThinkStation PGX GB10 128GBQ8_0fits23 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits23 tok/s––
NVIDIA RTX PRO 4000 BlackwellQ4_K_Moffload22 tok/s$33963.7
NVIDIA Tesla P40Q4_K_Moffload20 tok/s$44943.4
Intel Arc Pro B60Q4_K_Moffload18 tok/s$89920.0
AMD Radeon RX 7900 XTXQ4_K_Moffload22 tok/s$1,40015.6
AMD Radeon AI PRO R9700Q4_K_Moffload28 tok/s$1,70016.6
Intel Arc Pro B70Q4_K_Moffload25 tok/s$1,80013.8
NVIDIA GeForce RTX 3090Q4_K_Moffload22 tok/s$1,97911.3
NVIDIA GeForce RTX 3090 TiQ4_K_Moffload23 tok/s$2,03311.1
NVIDIA GeForce RTX 4090Q4_K_Moffload23 tok/s$2,07310.9
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ4_K_Moffload20 tok/s$2,9806.8
NVIDIA RTX PRO 4500 BlackwellQ4_K_Moffload31 tok/s$4,0007.8
NVIDIA GeForce RTX 5090Q4_K_Moffload34 tok/s$6,4955.3

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 46 GB at 8k, 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 8k context is the Mac mini M4 Pro 64GB, $2,399 at Amazon, at about 40 tok/s (estimated). The best value is the NVIDIA RTX PRO 5000 Blackwell 48GB (about 190 tok/s for $6,999). The fastest we price is the NVIDIA RTX PRO 5000 Blackwell 48GB, at about 190 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 8k context, at about 40 tok/s (estimated).
Can I run Qwen3 Coder Next on a 16 GB GPU?
No: it does not fit in 16 GB at 8k context, even with system RAM.
Can I run Qwen3 Coder Next on a 24 GB GPU?
Only partly: at 8k context it does not fit in 24 GB, so part of it runs from system RAM and it slows to about 22 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