Advisor / Can it run? / Qwen3.8 27B on RTX 5090 32GB

Can RTX 5090 32GB run Qwen3.8 27B?

Measured results for Qwen3.8 27B (27.78B dense) on RTX 5090 32GB, plus what fits and the commands to run it.

53generation tok/s (Q8_0 on llama.cpp CUDA, 128-token generation)
4378prompt tok/s (pp512)
30.3 GBQ8_0 + 16k f16 KV, fits fully
31 GBusable on this hardware

Short answer

Yes. Qwen3.8 27B Q8_0 fits fully on RTX 5090 32GB at 16k context, using 30.3 of 31.0 GB usable, and generates about 53 tokens/s in our own run. As the context fills it slows down: 51.3 tok/s with 16k tokens already in context (97% of the empty-context speed) and 49.6 tok/s at 32k (94%), measured. For Q8_0, our bandwidth-only estimate was ~34 tok/s against a measured median of ~53 (36% too pessimistic).

Measured generation speed by quantization

QuantGeneration tok/sRangePrompt tok/sRunsOrigin
Q2 class (median)109103.3–114.636212public runs
Q3 class (median)96.296.2–96.239441public runs
Q4 class (median)78.976.2–82.538813includes our runs
Q6 class (median)63.163.1–63.132231public runs
Q8 class (median)5353–53.141062includes our runs
Q4_K_M (our run, depth 0)82.53 repeats46293own measurement
Q8_0 (our run, depth 0)533 repeats43783own measurement

Generation = tg128 (128 generated tokens, short context). Public rows are medians of community llama.cpp results (sources); our own runs use llama-bench b11658 on a rented GPU.

Speed vs context depth measured

Our own llama-bench runs on GeForce RTX 5090 (flash attention on, 3 repeats): generation and prompt speed with the given number of tokens already in the context.

QuantContext depthGeneration tok/svs depth 0Prompt tok/s
Q4_K_M082.5100%4629
Q4_K_M4k81.699%4502
Q4_K_M16k78.395%4031
Q4_K_M32k74.590%3317
Q4_K_M64k67.982%2107
Q8_0053100%4378
Q8_04k52.599%4294
Q8_016k51.397%3887
Q8_032k49.694%3232

Alternatives

Less memory that still fits Qwen3.8 27B

Smaller memory usually means a cheaper card or Mac (we do not list prices).

Other models on RTX 5090 32GB, similar size

Memory and context limits

Q8_0 weights are 29.1 GB; the 16k f16 KV cache adds 1.23 GB. Largest context that fits in 31.0 GB usable:

KV cache typeMax context
f1616k
q8_032k
q4_064k

Native limit 256k, 1M with YaRN. Full KV cache table for Qwen3.8 27B.

Copy-paste commands

The advisor's pick for this hardware: Q8_0, 16k context.

llama.cpp
llama-server -hf unsloth/Qwen3.8-27B-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
ollama
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:Q8_0

FAQ

How fast is Qwen3.8 27B on RTX 5090 32GB?

About 53 tokens/s for generation (Q8_0 on llama.cpp CUDA, 128-token generation), 4378 tokens/s for prompt processing. Speed drops as the context fills; see the depth table.

How much memory does Qwen3.8 27B need on RTX 5090 32GB?

The advisor's pick, Q8_0, is 29.1 GB of weights plus 1.23 GB of KV cache at 16k context (30.3 GB), against 31.0 GB usable.

Is the Qwen3.8 27B speed on RTX 5090 32GB measured or estimated?

Measured: our own llama-bench run on a rented GeForce RTX 5090, including runs with 4k to 64k tokens already in context.

What can I use instead of RTX 5090 32GB for Qwen3.8 27B?

With less memory, Mac mini M6 32GB (~6 tok/s), MacBook Air M5 32GB (~6 tok/s), RTX 4090 24GB (~44 tok/s) also fit it fully.

What is the maximum context for Qwen3.8 27B on RTX 5090 32GB?

With an f16 KV cache about 16k tokens, 32k with q8_0 and 64k with q4_0, bounded by the model's own limit.

Related

All models on RTX 5090 32GB · Qwen3.8 27B on all hardware · VRAM tier · all measured pages · leaderboard

Compare: RTX 4090 24GB vs RTX 5090 32GB · RTX 3090 24GB vs RTX 5090 32GB · 2x RTX 3090 (48GB total) vs RTX 5090 32GB