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 31 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the UK that runs Qwen3 Coder 30B-A3B fully in memory at 128k context is the NVIDIA RTX PRO 4500 Blackwell, £4,587 at eBay, at about 23 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the UK today
NVIDIA RTX A6000, used at eBay
Runs Qwen3 Coder 30B-A3B at Q8_0 fully in memory at 128k context, about 18 tok/sest.
£4,237
In stock, checked
What to run it on in the UK
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA RTX PRO 4500 Blackwell23tok/sest.Q4_K_M
£4,587
Best value
NVIDIA GeForce RTX 509045tok/sest.Q4_K_M
£5,000
Fastest
NVIDIA GeForce RTX 509045tok/sest.Q4_K_M
£5,000
Mac
Mac Studio M3 Ultra 96GB20tok/sest.Q8_0
£4,949
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
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).
| 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 31 GB at 128k, 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 the UK that runs Qwen3 Coder 30B-A3B fully in memory at 128k context is the NVIDIA RTX PRO 4500 Blackwell, £4,587 at eBay, at about 23 tok/s (estimated). The best value is the NVIDIA GeForce RTX 5090 (about 45 tok/s for £5,000). The fastest we price is the NVIDIA GeForce RTX 5090, at about 45 tok/s.
- What is the cheapest way to run Qwen3 Coder 30B-A3B in the UK today?
- The NVIDIA RTX A6000, £4,237 used at eBay, in stock: it runs Qwen3 Coder 30B-A3B at Q8_0 fully in memory at 128k context, at about 18 tok/s (estimated).
- Can I run Qwen3 Coder 30B-A3B on a 16 GB GPU?
- Only partly: at 128k context it does not fit in 16 GB, so part of it runs from system RAM and it slows to about 3 tok/s on the Intel Arc A770 16GB (estimated).
- Can I run Qwen3 Coder 30B-A3B on a 24 GB GPU?
- Only partly: at 128k context it does not fit in 24 GB, so part of it runs from system RAM and it slows to about 5 tok/s on the NVIDIA Tesla P40 (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.