Can I run Qwen3 30B-A3B (2507) on the GeForce RTX 4090?
Runs greatQ4_K_M fits in VRAM with 3.5 GB to spare: Runs great, est. 161.2 tok/s (129.0–193.5, calibrated estimate ±20%).
24 GB VRAM · 1,008.0 GB/s · FP16 82.6 TFLOPS. Assumes 32 GB of DDR5-5600 system RAM, Windows with this GPU driving the display, 8k context and an f16 KV cache. The GeForce RTX 3090 Ti has the same memory setup (24 GB, 1,008.0 GB/s), so its generation-speed estimate is the same; only prompt processing differs. Prompt processing: about 11,564 tok/s (6,938–16,190, rough estimate ±40%) here vs about 5,600 tok/s (3,360–7,840, rough estimate ±40%) on the GeForce RTX 3090 Ti.
Every quant of Qwen3 30B-A3B (2507) on the GeForce RTX 4090
| Quant | File size | Verdict | Speed | Memory | Runs as | Notes |
|---|---|---|---|---|---|---|
| Q2_K | 11.26 GB | Runs great | est. 224.2 tok/s179.3–269.0calibrated estimate ±20% | 13.2 / 24.0 GB | Full GPU | — |
| IQ4_XS | 16.38 GB | Runs great | est. 176.0 tok/s140.8–211.2calibrated estimate ±20% | 18.4 / 24.0 GB | Full GPU | — |
| Q4_K_Mbaseline | 18.56 GB | Runs great | est. 161.2 tok/s129.0–193.5calibrated estimate ±20% | 20.5 / 24.0 GB | Full GPU | — |
| Q8_0 | 32.48 GB | Won't run | — | Needs about 33.9 GB; 23.4 GB of VRAM and 28.0 GB of RAM are free | — | — |
Where the memory goes at Q4_K_M
- Weights
- 18.6 GB
- KV cache
- 0.8 GB
- Compute buffer
- 0.6 GB
- OS reserve
- 0.6 GB
- Free
- 3.5 GB
Context length vs. KV cache
| Context | KV f16 | KV q8_0 | KV q4_0 |
|---|---|---|---|
| 4k | 19.5 GBRuns great est. 188.2 tok/s150.5–225.8calibrated estimate ±20% | 19.3 GBRuns great est. 204.0 tok/s163.2–244.8calibrated estimate ±20% | 19.2 GBRuns great est. 213.7 tok/s170.9–256.4calibrated estimate ±20% |
| 8k | 19.9 GBRuns great est. 161.2 tok/s129.0–193.5calibrated estimate ±20% | 19.6 GBRuns great est. 186.0 tok/s148.8–223.2calibrated estimate ±20% | 19.4 GBRuns great est. 202.7 tok/s162.2–243.3calibrated estimate ±20% |
| 16k | 20.8 GBRuns great est. 125.3 tok/s100.3–150.4calibrated estimate ±20% | 20.1 GBRuns great est. 158.1 tok/s126.4–189.7calibrated estimate ±20% | 19.7 GBRuns great est. 183.9 tok/s147.1–220.6calibrated estimate ±20% |
| 32k | 22.6 GBRuns great est. 86.7 tok/s69.4–104.1calibrated estimate ±20% | 21.1 GBRuns great est. 121.6 tok/s97.2–145.9calibrated estimate ±20% | 20.3 GBRuns great est. 155.0 tok/s124.0–186.0calibrated estimate ±20% |
| 64k | 26.1 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% | 23.1 GBRuns great est. 83.2 tok/s66.5–99.8calibrated estimate ±20% | 21.5 GBRuns great est. 118.0 tok/s94.4–141.6calibrated estimate ±20% |
| 128k | 33.1 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% | 27.2 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% | 23.9 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% |
| 256k | 47.2 GBdoes not fit | 35.2 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% | 28.8 GBRuns slowly est. 19.2 tok/s13.4–24.9theoretical estimate ±30% |
S = Runs great · A = Runs well · B = Runs slowly · F = Won't run
At Q4_K_M the verdict stays Runs great up to 32k context with an f16 KV cache, and up to 64k with q8_0.
Estimated speed
- Generation
- est. 161.2 tok/s (129.0–193.5, calibrated estimate ±20%)
- Prompt processing
- about 11,564 tok/s (6,938–16,190, rough estimate ±40%)
Measured on this exact combination
Public benchmarks we calibrate against. Their conditions (context, backend, flags) can differ from the estimates above.
| Hardware | Quant | Backend | Context | Prompt (tok/s) | Generation (tok/s) | Flags | Source | Measured |
|---|---|---|---|---|---|---|---|---|
| GeForce RTX 4090 | Q4_K_XL | llama.cpp | 16k | — | 139.7 | — | hardware-corner.net | 2026-08-09 |
If this is not enough
A larger model that also runs well on the GeForce RTX 4090
Runs greatQwen3.5 35B-A3B: Runs great, est. 220.6 tok/s (176.5–264.7, calibrated estimate ±20%)
How to run it
Commands for the Q4_K_M file. Both tools download from Hugging Face on first run.
File: Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf (18.56 GB) from unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF.
llama-server -hf unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF:Q4_K_M -c 8192 -ngl all -fa on- -ngl all loads every layer on the GPU.
- -fa on enables flash attention (needed for KV cache quantization).
- --cache-type-k q8_0 --cache-type-v q8_0 shrinks the KV cache to 0.43 GB at 8k context.
PowerShell (quit the Ollama tray app first):
$env:OLLAMA_CONTEXT_LENGTH="8192"; ollama serve
ollama run hf.co/unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF:Q4_K_M- Ollama defaults to 4k context on GPUs under 24 GB. Set OLLAMA_CONTEXT_LENGTH when starting the server, or /set parameter num_ctx inside the chat.
/set parameter num_ctx 8192
Related pages
Guide: How much VRAM do local LLMs need? 8–32 GB tiers (2026)
Other models on the GeForce RTX 4090
Qwen3 30B-A3B (2507) on other hardware
Frequently asked questions
Can I run Qwen3 30B-A3B (2507) on the GeForce RTX 4090?
Q4_K_M fits in VRAM with 3.5 GB to spare: Runs great, est. 161.2 tok/s (129.0–193.5, calibrated estimate ±20%). Q4_K_M needs 19.9 GB at 8k context; this setup has 23.4 GB of usable memory and 28.0 GB of free system RAM.
How much context can Qwen3 30B-A3B (2507) use on the GeForce RTX 4090?
At Q4_K_M the verdict stays Runs great up to 32k context with an f16 KV cache (3.2 GB of KV) and up to 64k with a q8_0 KV cache (3.4 GB). The model supports up to 256k.
Which quant should I use, and how fast is it?
Q4_K_M (18.56 GB) is the recommended balance: Runs great, est. 161.2 tok/s (129.0–193.5, calibrated estimate ±20%). It is also the largest tracked file that gets this verdict.
Speeds are estimates from memory bandwidth, calibrated against public benchmarks, and each one comes with an error band and a confidence label. Real results vary with drivers, backend, context length and thermals.