Qwen3 Coder 30B-A3B

30.5B total, 3B active · 256k context · apache-2.0 · released 2025-07-31

codingagentic

What to run it on in the UK

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

Something we price holds it fully in memory, but none reaches 15 tok/s, our bar for recommending it. The table below has the speeds.

All hardware that runs it

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

HardwareQuantFitsDecodePricetok/s per 1,000
NVIDIA GeForce RTX 5090Q6_Kfits75 tok/s––
Mac Studio M4 Max 128GBQ8_0fits22 tok/s––
Mac mini M4 Pro 64GBQ8_0fits11 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s––
Mac Studio M3 Ultra 512GBQ8_0fits33 tok/s––
NVIDIA DGX Spark 128GBQ8_0fits11 tok/s––
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits9 tok/s––
Mac Studio M3 Ultra 256GBQ8_0fits33 tok/s––
Mac mini M4 Pro 48GBQ6_Kfits12 tok/s––
Mac Studio M4 Max 64GBQ8_0fits22 tok/s––
Mac Studio M3 Ultra 96GBQ8_0fits33 tok/s––
NVIDIA RTX PRO 6000 BlackwellQ8_0fits69 tok/s––
AMD Radeon AI PRO R9700Q6_Kfits24 tok/s––
ASUS Ascent GX10 128GBQ8_0fits11 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits9 tok/s––
NVIDIA GeForce RTX 3090Q4_K_Moffload30 tok/s––
NVIDIA GeForce RTX 4090Q4_K_Moffload32 tok/s––
NVIDIA GeForce RTX 5070 TiQ4_K_Moffload9 tok/s––
NVIDIA GeForce RTX 5060 Ti 16GBQ4_K_Moffload8 tok/s––
AMD Radeon RX 7900 XTXQ4_K_Moffload26 tok/s––
NVIDIA GeForce RTX 3060 12GBQ4_K_Moffload6 tok/s––
AMD Radeon RX 9070 XTQ4_K_Moffload8 tok/s––
NVIDIA GeForce RTX 4060 Ti 16GBQ4_K_Moffload7 tok/s––
NVIDIA GeForce RTX 5080Q4_K_Moffload9 tok/s––
NVIDIA GeForce RTX 4070 Ti SuperQ4_K_Moffload8 tok/s––
NVIDIA GeForce RTX 5070Q4_K_Moffload6 tok/s––
AMD Radeon RX 9060 XT 16GBQ4_K_Moffload7 tok/s––
NVIDIA GeForce RTX 4070 SuperQ4_K_Moffload6 tok/s––
NVIDIA GeForce RTX 4080 SuperQ4_K_Moffload9 tok/s––
AMD Radeon RX 7800 XTQ4_K_Moffload8 tok/s––
AMD Radeon RX 7900 XTQ4_K_Moffload12 tok/s––
Intel Arc B580Q4_K_Moffload5 tok/s––
NVIDIA GeForce RTX 3090 TiQ4_K_Moffload32 tok/s––
AMD Radeon RX 7600 XTQ4_K_Moffload7 tok/s––
NVIDIA GeForce RTX 3080 10GBQ4_K_Moffload6 tok/s––
Intel Arc Pro B60Q4_K_Moffload13 tok/s––
NVIDIA Tesla P40Q4_K_Moffload14 tok/s––
Intel Arc A770 16GBQ4_K_Moffload7 tok/s––

2 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_Mgguf17.3 GB18.8 GB21.2 GB24.4 GB30.7 GB
mlx-4bitmlx16.0 GB17.5 GB19.9 GB23.1 GB29.5 GB
Q5_K_Mgguf20.2 GB21.7 GB24.1 GB27.3 GB33.7 GB
Q6_Kgguf23.4 GB24.9 GB27.3 GB30.4 GB36.8 GB
mlx-8bitmlx30.2 GB31.7 GB34.1 GB37.3 GB43.7 GB
Q8_0gguf30.3 GB31.7 GB34.1 GB37.3 GB43.7 GB

Run it

Copy a command for the runtime you use.

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