Qwen3 Coder 30B-A3B
30.5B total, 3B active · 256k context · apache-2.0 · released 2025-07-31
codingagentic
In short
Qwen3 Coder 30B-A3B is an open model from Alibaba Qwen with 30.5B parameters (3B active per token). At Q4_K_M, Qwen3 Coder 30B-A3B needs about 19 GB of memory at 8k context and 19 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Germany that runs Qwen3 Coder 30B-A3B fully in memory at 8k context is the NVIDIA Tesla P40, 389 € at eBay, at about 44 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Germany today
NVIDIA Tesla P40, used at eBay
Runs Qwen3 Coder 30B-A3B at Q5_K_M fully in memory at 8k context, about 44 tok/sest.
389 €
In stock, checked
What to run it on in Germany
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA Tesla P4044tok/sest.Q5_K_M
389 €
Best value
NVIDIA Tesla P4044tok/sest.Q5_K_M
389 €
Fastest
NVIDIA GeForce RTX 5090204tok/sest.Q6_K
6.888 €
Mac
Mac mini M4 32GB18tok/sest.Q4_K_M
1.330 €
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| NVIDIA Tesla P40 | Q5_K_M | fits | 44 tok/s | 389 € | 112.6 |
| AMD Radeon RX 7900 XT | Q4_K_M | fits | 100 tok/s | 999 € | 100.5 |
| Intel Arc Pro B60 | Q5_K_M | fits | 43 tok/s | 1.184 € | 36.0 |
| Mac mini M4 32GB | Q4_K_M | fits | 18 tok/s | 1.330 € | 13.4 |
| AMD Radeon RX 7900 XTX | Q5_K_M | fits | 108 tok/s | 1.555 € | 69.3 |
| Intel Arc Pro B70 | Q6_K | fits | 51 tok/s | 1.749 € | 29.2 |
| AMD Radeon AI PRO R9700 | Q6_K | fits | 65 tok/s | 2.300 € | 28.1 |
| Mac mini M4 Pro 48GB | Q8_0 | fits | 27 tok/s | 2.549 € | 10.4 |
| NVIDIA GeForce RTX 3090 | Q5_K_M | fits | 118 tok/s | 2.790 € | 42.4 |
| Mac mini M4 Pro 64GB | Q8_0 | fits | 27 tok/s | 2.934 € | 9.1 |
| NVIDIA RTX PRO 4000 Blackwell | Q5_K_M | fits | 85 tok/s | 3.339 € | 25.5 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | Q8_0 | fits | 21 tok/s | 3.850 € | 5.5 |
| NVIDIA GeForce RTX 3090 Ti | Q5_K_M | fits | 128 tok/s | 4.284 € | 29.8 |
| Mac Studio M4 Max 64GB | Q8_0 | fits | 53 tok/s | 4.299 € | 12.4 |
| NVIDIA GeForce RTX 4090 | Q5_K_M | fits | 128 tok/s | 4.790 € | 26.6 |
| NVIDIA RTX PRO 4500 Blackwell | Q6_K | fits | 102 tok/s | 4.878 € | 20.9 |
| Mac Studio M4 Max 128GB | Q8_0 | fits | 53 tok/s | 5.499 € | 9.7 |
| Mac Studio M3 Ultra 96GB | Q8_0 | fits | 80 tok/s | 5.999 € | 13.3 |
| NVIDIA GeForce RTX 5090 | Q6_K | fits | 204 tok/s | 6.888 € | 29.6 |
| ASUS Ascent GX10 128GB | Q8_0 | fits | 25 tok/s | 7.306 € | 3.5 |
| Dell Pro Max with GB10 128GB | Q8_0 | fits | 25 tok/s | 8.063 € | 3.2 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | Q8_0 | fits | 125 tok/s | 8.866 € | 14.1 |
| NVIDIA DGX Spark 128GB | Q8_0 | fits | 25 tok/s | 9.091 € | 2.8 |
| Mac Studio M3 Ultra 256GB | Q8_0 | fits | 80 tok/s | 15.555 € | 5.1 |
| Mac Studio M3 Ultra 512GB | Q8_0 | fits | 80 tok/s | 17.995 € | 4.4 |
| NVIDIA RTX PRO 6000 Blackwell | Q8_0 | fits | 167 tok/s | 18.327 € | 9.1 |
| Framework Desktop Ryzen AI Max+ 395 128GB | Q8_0 | fits | 21 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | Q8_0 | fits | 21 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | Q5_K_M | fits | 55 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | Q8_0 | fits | 21 tok/s | – | – |
| NVIDIA RTX 6000 Ada Generation | Q8_0 | fits | 89 tok/s | – | – |
| NVIDIA RTX A6000 | Q8_0 | fits | 72 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | Q8_0 | fits | 25 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | Q8_0 | fits | 125 tok/s | – | – |
| AMD Radeon PRO W7900 | Q8_0 | fits | 71 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | Q8_0 | fits | 21 tok/s | – | – |
| Intel Arc B570 | Q4_K_M | offload | 17 tok/s | 282 € | 59.6 |
| NVIDIA GeForce RTX 3060 12GB | Q4_K_M | offload | 22 tok/s | 415 € | 53.5 |
| NVIDIA GeForce RTX 5050 | Q4_K_M | offload | 17 tok/s | 428 € | 39.3 |
| NVIDIA GeForce RTX 5060 | Q4_K_M | offload | 18 tok/s | 469 € | 37.3 |
| Intel Arc B580 | Q4_K_M | offload | 20 tok/s | 498 € | 40.2 |
| NVIDIA GeForce RTX 3080 10GB | Q4_K_M | offload | 21 tok/s | 518 € | 41.1 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q4_K_M | offload | 18 tok/s | 520 € | 33.7 |
| NVIDIA GeForce RTX 4060 | Q4_K_M | offload | 16 tok/s | 556 € | 29.5 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q4_K_M | offload | 28 tok/s | 625 € | 45.4 |
| Intel Arc Pro B50 | Q4_K_M | offload | 19 tok/s | 648 € | 29.6 |
| AMD Radeon RX 9060 XT 16GB | Q4_K_M | offload | 27 tok/s | 650 € | 42.2 |
| NVIDIA GeForce RTX 4070 Super | Q4_K_M | offload | 24 tok/s | 700 € | 34.3 |
| Intel Arc A770 16GB | Q4_K_M | offload | 32 tok/s | 787 € | 40.0 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q4_K_M | offload | 36 tok/s | 799 € | 44.6 |
| AMD Radeon RX 9070 | Q4_K_M | offload | 38 tok/s | 807 € | 46.7 |
| AMD Radeon RX 7600 XT | Q4_K_M | offload | 26 tok/s | 833 € | 31.1 |
| NVIDIA GeForce RTX 4070 | Q4_K_M | offload | 24 tok/s | 843 € | 28.5 |
| NVIDIA GeForce RTX 5070 | Q4_K_M | offload | 25 tok/s | 877 € | 28.8 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q4_K_M | offload | 17 tok/s | 878 € | 18.8 |
| NVIDIA RTX PRO 2000 Blackwell | Q4_K_M | offload | 28 tok/s | 880 € | 32.3 |
| AMD Radeon RX 9070 XT | Q4_K_M | offload | 38 tok/s | 903 € | 41.7 |
| AMD Radeon RX 7800 XT | Q4_K_M | offload | 37 tok/s | 1.069 € | 34.9 |
| NVIDIA GeForce RTX 5070 Ti | Q4_K_M | offload | 46 tok/s | 1.389 € | 33.2 |
| NVIDIA GeForce RTX 4070 Ti Super | Q4_K_M | offload | 42 tok/s | 1.500 € | 28.0 |
| NVIDIA GeForce RTX 5080 | Q4_K_M | offload | 47 tok/s | 1.889 € | 24.9 |
| NVIDIA GeForce RTX 4080 Super | Q4_K_M | offload | 43 tok/s | 3.263 € | 13.3 |
1 other card or machine we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| Q4_K_Mgguf | 17.3 GB | 18.8 GB | 21.2 GB | 24.4 GB | 30.7 GB |
| mlx-4bitmlx | 16.0 GB | 17.5 GB | 19.9 GB | 23.1 GB | 29.5 GB |
| Q5_K_Mgguf | 20.2 GB | 21.7 GB | 24.1 GB | 27.3 GB | 33.7 GB |
| Q6_Kgguf | 23.4 GB | 24.9 GB | 27.3 GB | 30.4 GB | 36.8 GB |
| mlx-8bitmlx | 30.2 GB | 31.7 GB | 34.1 GB | 37.3 GB | 43.7 GB |
| Q8_0gguf | 30.3 GB | 31.7 GB | 34.1 GB | 37.3 GB | 43.7 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M - LM Studio
lms get unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF@q4_k_m - llama.cpp
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bit - MLX
mlx_lm.server --model mlx-community/Qwen3-Coder-30B-A3B-Instruct-4bit
- LM Studio
- Q5_K_M
- Ollama
ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q5_K_M - LM Studio
lms get unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF@q5_k_m - llama.cpp
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q6_K - LM Studio
lms get unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF@q6_k - llama.cpp
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q6_K
- Ollama
- mlx-8bit
- LM Studio
lms get mlx-community/Qwen3-Coder-30B-A3B-Instruct-8bit - MLX
mlx_lm.server --model mlx-community/Qwen3-Coder-30B-A3B-Instruct-8bit
- LM Studio
- Q8_0
- Ollama
ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q8_0 - LM Studio
lms get unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF@q8_0 - llama.cpp
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q8_0
- Ollama
Questions
- How much VRAM does Qwen3 Coder 30B-A3B need?
- At Q4_K_M, Qwen3 Coder 30B-A3B needs about 19 GB of memory at 8k context and 19 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running Qwen3 Coder 30B-A3B locally?
- The cheapest hardware in Germany that runs Qwen3 Coder 30B-A3B fully in memory at 8k context is the NVIDIA Tesla P40, 389 € at eBay, at about 44 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 204 tok/s.
- What is the cheapest way to run Qwen3 Coder 30B-A3B in Germany today?
- The NVIDIA Tesla P40, 389 € used at eBay, in stock: it runs Qwen3 Coder 30B-A3B at Q5_K_M fully in memory at 8k context, at about 44 tok/s (estimated).
- Can I run Qwen3 Coder 30B-A3B on a 16 GB GPU?
- Only partly: at 8k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 28 tok/s on the NVIDIA GeForce RTX 4060 Ti 16GB (estimated).
- Can I run Qwen3 Coder 30B-A3B on a 24 GB GPU?
- Yes: at Q5_K_M it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 128 tok/s (estimated).
- How do I run Qwen3 Coder 30B-A3B locally?
- With Ollama: ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Qwen3 Coder 30B-A3B released under?
- apache-2.0, which allows commercial use.