Skip to content
Llama Builds

Hardware guide · October 2026

What GPU do you need to run Qwen3 30B-A3B (2507)?

Qwen3 30B-A3B (2507) is a 30.5B (3.3B active) mixture-of-experts model. Here is exactly how much memory it needs and which GPUs and Macs run it well.

By Updated

The short answer

To run Qwen3 30B-A3B (2507) at Q4_K_M with 8K tokens of context you need about 21GB of VRAM (18.6GB of weights plus KV cache and overhead). The cheapest way in is a 20GB card like the RTX 4000 Ada ($1,250 MSRP). For the best speed per dollar, get the RTX 3090 (~135 tokens/sec). On a Mac or other unified-memory system, the Ryzen AI Max+ 395 runs it at ~29 tokens/sec.

VRAM at Q4_K_M
~21GB
GPUs that run it
23
Parameters
30.5B
CPU only (est.)
~20 tok/s

Our recommendations

The best GPUs for Qwen3 30B-A3B (2507)

Minimum

RTX 4000 Ada

20GB · $1,250 MSRP

Quant
Q3_K_M
Speed (est.)
~84 tok/s
Runs well

The smallest card that runs it at Q3_K_M with 8K context.

Best value

RTX 3090

24GB · ~$1,050 used

Quant
Q4_K_M
Speed (est.)
~135 tok/s
Runs well

The most tokens per second per dollar among cards with room to spare.

Fastest

RTX 5090

32GB · ~$4,300

Quant
Q6_K
Speed (est.)
~175 tok/s
Runs well

The fastest single GPU in our database for this model.

Mac / unified memory

Ryzen AI Max+ 395

128GB unified · ~$3,300

Quant
Q8_0
Speed (est.)
~29 tok/s
Runs well

Lots of memory per dollar and silent, but slower than a GPU with the same capacity.

We may earn a commission when you buy through links on this page. It never changes what we recommend. How we make money

Memory

Qwen3 30B-A3B (2507) VRAM requirements

Memory needed at each quantization level. Q4_K_M is the best balance of size and quality for most people; move up to Q5 or Q6 if you have the room.

Memory needed for Qwen3 30B-A3B (2507) at each quantization level
QuantizationQualityWeightsTotal @ 8K ctxTotal @ 32K ctx
Q2_KRough12 GB13 GB16 GB
Q3_K_MUsable15 GB17 GB19 GB
Q4_K_MRecommendedDefault19 GB21 GB23 GB
Q5_K_MVery good22 GB24 GB26 GB
Q6_KNear-lossless25 GB28 GB30 GB
Q8_0Practically lossless33 GB35 GB37 GB
BF16Full precision61 GB64 GB67 GB

Context

How context length changes the memory you need

Every token in the context window is stored in the KV cache. At Q4_K_M, with a 16-bit KV cache, Qwen3 30B-A3B (2507) needs:

ContextKV cacheTotal memoryWith 8-bit KV
4K tokens0.4 GB20.2 GB20.0 GB
8K tokens0.8 GB20.6 GB20.2 GB
16K tokens1.6 GB21.4 GB20.6 GB
32K tokens3.2 GB23.0 GB21.4 GB
64K tokens6.4 GB26.2 GB23.0 GB
128K tokens12.9 GB32.7 GB26.2 GB
256K tokens25.8 GB45.6 GB32.7 GB

2 x 48 layers x 4 KV heads x 128 dims x 2 bytes = 98,304 bytes (96 KiB) per token: about 0.8GB at 8K and 25.8GB at the full 262K context.

Compatibility

Every GPU that runs Qwen3 30B-A3B (2507)

Each GPU at the highest-quality quantization that fits with 8K context, fastest first. Speeds are single-user estimates.

GPUMemoryQuantSpeedFitPrice
RTX 509032GBQ6_K~175 tok/sRuns well~$4,300
RTX PRO 600096GBQ8_0~150 tok/sRuns well~$16,000
RTX 409024GBQ4_K_M~150 tok/sRuns well~$2,500 used
RTX 309024GBQ4_K_M~135 tok/sRuns well~$1,050 used
RTX PRO 5000 72GB72GBQ8_0~125 tok/sRuns well~$9,100
RX 7900 XTX24GBQ4_K_M~110 tok/sRuns well~$1,050 used
RTX 6000 Ada48GBQ8_0~99 tok/sRuns well~$4,750 used
V100 32GB32GBQ6_K~92 tok/sRuns well~$700 used
RTX 4000 Ada20GBQ3_K_M~84 tok/sRuns well$1,250
M5 Ultra 512GB512GB unifiedQ8_0~80 tok/sRuns well—
M5 Ultra 256GB256GB unifiedQ8_0~80 tok/sRuns well~$9,499
RTX A600048GBQ8_0~76 tok/sRuns well~$4,400 used
R970032GBQ6_K~68 tok/sRuns well~$1,800
MI50 32GB32GBQ6_K~67 tok/sRuns well~$600 used
M3 Ultra 512GB512GB unifiedQ8_0~60 tok/sRuns well$9,499
Arc Pro B6024GBQ4_K_M~54 tok/sRuns well~$650
M5 Max 128GB128GB unifiedQ8_0~54 tok/sRuns well~$5,100
Arc Pro B7032GBQ6_K~54 tok/sRuns well~$1,300
M4 Max 128GB128GB unifiedQ8_0~49 tok/sRuns well$3,499
Tesla P4024GBQ4_K_M~47 tok/sRuns well~$230 used
Ryzen AI Max+ PRO 495192GB unifiedQ8_0~31 tok/sRuns well~$6,800
DGX Spark128GB unifiedQ8_0~31 tok/sRuns well~$6,950
Ryzen AI Max+ 395128GB unifiedQ8_0~29 tok/sRuns well~$3,300

With CPU offload (partial offload, assuming 64GB of system RAM): RTX 5080 (~56 tok/s), RTX 5070 Ti (~55 tok/s), RTX 4080 Super (~53 tok/s), RTX 4070 Ti Super (~52 tok/s), RTX 5060 Ti 16GB (~46 tok/s), RX 9070 XT (~46 tok/s), RTX 4060 Ti 16GB (~39 tok/s), RTX 5070 (~36 tok/s) and 5 more.

Tips

Getting the most out of Qwen3 30B-A3B (2507)

  • Start at Q4_K_M. It keeps nearly all of the quality at about a third of the 16-bit size. Step up to Q5_K_M or Q6_K only if it still fits with the context you need.
  • Budget memory for context. The KV cache grows with every token. Quantizing it to 8-bit roughly halves that cost with little quality loss.
  • Offload experts, not layers. For mixture-of-experts models, llama.cpp's --n-cpu-moe (or -ot tensor overrides) keeps attention on the GPU and moves expert weights to system RAM. That keeps speed usable when the model does not fit in VRAM.
  • Pick the right runtime. Ollama and LM Studio are easiest. llama.cpp gives the most control. vLLM or SGLang are best when several people or agents share one machine.

Want to try different quantizations, context lengths, or GPU counts? Use our VRAM calculator, or read the Qwen3 30B-A3B (2507) overview for setup commands and benchmarks.

Frequently asked questions

How much VRAM do I need to run Qwen3 30B-A3B (2507)?

About 21GB at Q4_K_M with an 8K context window. At Q8_0 (near-lossless) it needs about 35GB, and at Q3_K_M about 17GB with some quality loss. Longer contexts add 0.10GB per 1K tokens with a 16-bit KV cache.

Can I run Qwen3 30B-A3B (2507) on a 16GB GPU?

Only with partial CPU offload. On a 16GB card like the RTX 5060 Ti 16GB, about 27% of the weights would sit in system RAM and generation drops to about 56 tokens/sec with CPU offload.

Can I run Qwen3 30B-A3B (2507) on a Mac?

Yes. With 128GB of unified memory or more (for example the Ryzen AI Max+ 395), macOS can give the GPU enough memory to run it at Q8_0, at about ~29 tokens/sec. MLX builds are usually fastest on Apple silicon.

Can I run Qwen3 30B-A3B (2507) on CPU only, without a GPU?

Yes, if you have at least 32GB of system RAM. On a desktop with dual-channel DDR5, expect roughly 20 tokens/sec, which is better than you might expect because only the active experts are read for each token. A GPU is recommended for interactive use.