Written by Jakub Rusinowski · Last updated September 6, 2026
Yes, but it is tight
Yes, but it is tight — Qwen3.8 27B at Q5_K_M needs about 22.2 GB of the 24 GB usable on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM), leaving only ~1.8 GB before the runtime starts swapping. Expect ~34 tok/s (estimated), with room for about 16,384 tokens of context.
Confidence: low · Recommended quantization: Q5_K_M · Estimated speed: ~34 tok/s
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
| Usable memory for models | 24 GB |
| Memory bandwidth | 1008 GB/s |
| Form factor | Desktop |
| Operating system | Windows or Linux |
| Memory upgradeable | Yes |
| Quant | Memory needed | Fits 24 GB? | Max context | Est. speed | Download |
|---|---|---|---|---|---|
| F16 | 58.1 GB | ✗ No | — | — | 55.6 GB |
| Q8_0 | 32.1 GB | ✗ No | — | — | 29.5 GB |
| Q6_K | 25.3 GB | ✗ No | — | — | 22.8 GB |
| Q5_K_M | 22.2 GB | ✓ Yes | 16K | ~34 tok/s | 19.7 GB |
| Q4_K_M | 19.3 GB | ✓ Yes | 16K | ~39.1 tok/s | 16.8 GB |
| Q3_K_M | 14.4 GB | ✓ Yes | 32K | ~52.5 tok/s | 11.8 GB |
| Q2_K | 11.7 GB | ✓ Yes | 64K | ~64.6 tok/s | 9.1 GB |
| Variant | Needs at Q4_K_M | Fits? | Est. speed |
|---|---|---|---|
| Qwen3.8-Max | 1457.5 GB | ✗ Too large | — |
| Qwen3.8 27B | 19.3 GB | ✓ Fits | ~39.1 tok/s |
Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving
Yes, but it is tight — Qwen3.8 27B at Q5_K_M needs about 22.2 GB of the 24 GB usable on RTX 4090 Desktop (24 GB VRAM, 64 GB RAM), leaving only ~1.8 GB before the runtime starts swapping. Expect ~34 tok/s (estimated), with room for about 16,384 tokens of context.
Q5_K_M — it needs about 22.2 GB of the 24 GB available, downloads as roughly 19.7 GB, and runs at an estimated 34 tokens/sec with up to 16K of context.
Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.
Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving