Skip to content
Run LLM Locally

Qwen3.8 27B on the RTX 4090

With 24 GB of VRAM, the RTX 4090 runs Qwen3.8 27B at Q4_K_M entirely on the GPU with an 8K context (about 18.2 GB needed). At Q8_0 it does not fit in VRAM.

Qwen3.8 27B

Q4_K_M · 8K context

Excellent

The model needs about 18.2 GB and fits in the 23.3 GB available, with 5.1 GB to spare.

Your hardware
RTX 4090 24 GB · 64 GB RAM
Estimated memory
~18.2 GB estimate
VRAM (usable memory)
23.3 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
39–54 tok/s estimate
Largest context in fast memory
85K tokens
Confidence: low

Based on: memory bandwidth (1,008 GB/s) and model size

Memory breakdown

~18.2 GB (17.4 GB–18.9 GB) needed · estimate

Fits entirely in VRAM · 5.1 GB left

  • Model weights15.7 GB
  • KV cache0.6 GB
  • Runtime overhead1 GB
  • Safety margin0.9 GB
Assumptions: context 8K tokens · KV cache f16 · llama.cpp (CUDA) · flash attention on · weights = real file size

EstimateData updated 40 days agoSource: Run LLM Locally engine, Hugging Face config.json + model card

What makes this estimate less reliable

  • no benchmark for this hardware and model yet

Other quantizations on the RTX 4090

Qwen3.8 27B on RTX 4090 + 64 GB RAM · 8K context
Qwen3.8 27B Q8_08K~30.1 GB · 2.5–5 tok/s estimateCPU/GPU offload
Qwen3.8 27B Q6_K8K~23.7 GB · 17–30 tok/s estimateCPU/GPU offload
Qwen3.8 27B Q5_K_M8K~21.1 GB · 34–46 tok/s estimateCompatible
Qwen3.8 27B Q4_K_M8K~18.2 GB · 39–54 tok/s estimateExcellent
Qwen3.8 27B IQ4_XS8K~16.9 GB · 41–58 tok/s estimateExcellent
Qwen3.8 27B Q3_K_M8K~15.3 GB · 45–64 tok/s estimateExcellent

Alternatives

Where to buy a RTX 4090

Prices and links follow the market you choose.

GeForce RTX 4090

24 GB GDDR6X · 1,008 GB/s · 450 W

ExcellentRuns Qwen3.8 27B Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

No current offer imported for this market: the link opens a marketplace search.

Frequently asked questions

Can the RTX 4090 run Qwen3.8 27B?
The model needs about 18.2 GB and fits in the 23.3 GB available, with 5.1 GB to spare.
Which quantization should I use on the RTX 4090?
Q5_K_M is the highest-precision quantization that fits entirely in VRAM at 8K context. ~21.1 GB / 23.3 GB.
What is the largest context on the RTX 4090?
At Q4_K_M, about 85K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is Qwen3.8 27B (RTX 4090)?
We estimate 39–54 tok/s (estimate, confidence low). Based on: memory bandwidth (1,008 GB/s) and model size.