Can an RTX 5090 run Qwen3 30B A3B?

Yes

At Q8_0 it needs 30.99 GB of the 31.2 GB available and generates around 190 tokens per second at an 8k context window.

In practice

It fits, with very little to spare. Qwen3 30B A3B at Q8_0 needs 30.99 GB and the GeForce RTX 5090 offers 31.2 GB, a margin of 0.21 GB. That is enough to load it and run at about 190 tokens per second, and not enough to be relaxed about.

Three things take the margin away. A longer window is the first: at 16k the cache alone grows by 0.75 GB. Another program holding VRAM is the second, since a browser with hardware acceleration can take a gigabyte. And a runtime that places layers conservatively is the third, which Ollama does. Store the cache at 8 bits and close the other programs before you load it, and go down one quantization if it still will not.

Reading a 4,000-token prompt, roughly a long email or a few pages of text, takes under a second before the first word appears. That part is limited by compute and not by bandwidth, so it follows a different spec from the writing speed.

The numbers

Qwen3 30B A3B has 30.53 billion parameters across 48 layers, of which 3.34 billion are read for each token. The GeForce RTX 5090 has 32 GB of VRAM at 1792 GB/s, of which about 31.2 GB is left for a model once the operating system has taken its share.

QuantizationTotal neededFitsSpeed
Q8_0 30.99 GB yes 190 t/s
Q6_K 24.17 GB yes 234 t/s
Q5_K_M 21.11 GB yes 260 t/s
Q4_K_M 18.08 GB yes 293 t/s
IQ4_XS 16.04 GB yes 321 t/s
Q3_K_M 14.84 GB yes 339 t/s
IQ3_XXS degraded 11.85 GB yes 397 t/s
Q2_K degraded 12.87 GB yes 375 t/s
IQ2_XXS degraded 8.34 GB yes 496 t/s

9 of the 9 levels fit entirely. Levels marked degraded are listed for completeness, not as advice.

How long a conversation it holds

Memory rises with the length of the conversation because the attention cache keeps a key and a value for every token. At Q8_0, the longest window that still fits on this device is 8k tokens. Setting the window to what you need and no more is the cheapest way to buy back memory.

ContextCacheTotalFits
4k 0.38 GB 30.62 GB yes
8k 0.75 GB 30.99 GB yes
16k 1.5 GB 31.74 GB no
32k 3 GB 33.24 GB no

The settings we would use

llama-server -m <model>.gguf -ngl all -c 8192 -fa on -ctk q8_0 -ctv q8_0

The cache is stored at 8 bits because headroom is under 1 GB. That halves it for a small quality cost.

In Ollama, set OLLAMA_CONTEXT_LENGTH to the window you want, run ollama ps while the model is loaded and check that the processor column reads 100% GPU. If it shows a split on a model that fits, the Ollama guide shows how to fix it. The llama.cpp flags guide explains each option above.

What else an RTX 5090 runs well

For comparison, these are the other popular models that fit this device at a sound quantization, best pairings first.

ModelQuantizationMemorySpeed
Gemma 4 31B Instruct Q6_K 27.61 GB 48.5 t/s
Qwen3.5 27B Q8_0 27.32 GB 49.1 t/s
Qwen3 32B Q6_K 26.86 GB 49.9 t/s
Gemma 4 12B Instruct Q8_0 13.55 GB 100 t/s

The same model on nearby hardware

Memory decides whether Qwen3 30B A3B loads and bandwidth decides how quickly it answers. Here is what a step down, a card with the same memory and a step up do with it.

DeviceMemoryBandwidthResult
GeForce RTX 4090 24 GB 1008 GB/s Q5_K_M, 146 t/s
Apple M3 Max 36GB 36 GB 400 GB/s does not fit

See how fast it feels

GeForce RTX 5090 running Qwen3 30B A3B at Q8_0

Wait for the first word21 ms
Then writes at190.2 tok/s
Whole answer931 ms

YouWhy does my model use more memory when the conversation gets longer?

Model

Simulated from our estimate at a 512-token question, not a recording. Assumes nothing else is competing for the GPU.

Questions people ask

How much VRAM does Qwen3 30B A3B need on RTX 5090?

At Q4_K_M with an 8k context window it needs 18.08 GB in total: 16.99 GB of weights, 0.75 GB of KV cache and 0.34 GB of runtime overhead. The GeForce RTX 5090 makes about 31.2 GB available once the operating system has taken its share.

What context length can RTX 5090 handle with Qwen3 30B A3B?

At Q8_0 the longest window that still fits is about 8k tokens. Memory grows with the window, so a shorter one leaves room for a higher quantization.

How fast is Qwen3 30B A3B on RTX 5090?

We estimate about 190 tokens per second at Q8_0, which is faster than most people read. A 500-token answer takes about 3 seconds. Memory bandwidth of 1792 GB/s sets that ceiling, and the estimate is good to about 10 to 30 percent.

Keep going

Everything the GeForce RTX 5090 runs, the full breakdown for Qwen3 30B A3B, how the numbers are made in the methodology, or a different pairing in the calculator.