Skip to content
Run LLM Locally

Gemma 3 27B IT on the RTX 5090

With 32 GB of VRAM, the RTX 5090 runs Gemma 3 27B IT at Q4_K_M entirely on the GPU with an 8K context (about 18.3 GB needed). At Q8_0 it fits entirely.

Gemma 3 27B IT

Q4_K_M · 8K context

Excellent

The model needs about 18.3 GB and fits in the 31 GB available, with 12.7 GB to spare.

Your hardware
RTX 5090 32 GB · 64 GB RAM
Estimated memory
~18.3 GB estimate
VRAM (usable memory)
31 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
62–92 tok/s estimate
Largest context in fast memory
128K tokens
Confidence: low

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

Memory breakdown

~18.3 GB (17.6 GB–19.1 GB) needed · estimate

Fits entirely in VRAM · 12.7 GB left

  • Model weights15.4 GB
  • KV cache1 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 · sliding-window layers keep 1,024 tokens

EstimateData updated 24 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 5090

Gemma 3 27B IT on RTX 5090 + 64 GB RAM · 8K context
Gemma 3 27B IT Q8_08K~30.2 GB · 40–56 tok/s estimateCompatible with limits
Gemma 3 27B IT Q6_K8K~23.8 GB · 50–71 tok/s estimateExcellent
Gemma 3 27B IT Q5_K_M8K~21 GB · 55–80 tok/s estimateExcellent
Gemma 3 27B IT Q4_K_M8K~18.3 GB · 62–92 tok/s estimateExcellent
Gemma 3 27B IT IQ4_XS8K~16.6 GB · 68–101 tok/s estimateExcellent
Gemma 3 27B IT Q3_K_M8K~15.3 GB · 72–109 tok/s estimateExcellent

Alternatives

Where to buy a RTX 5090

Prices and links follow the market you choose.

GeForce RTX 5090

32 GB GDDR7 · 1,792 GB/s · 575 W

ExcellentRuns Gemma 3 27B IT 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 5090 run Gemma 3 27B IT?
The model needs about 18.3 GB and fits in the 31 GB available, with 12.7 GB to spare.
Which quantization should I use on the RTX 5090?
Q8_0 is the highest-precision quantization that fits entirely in VRAM at 8K context. ~30.2 GB / 31 GB.
What is the largest context on the RTX 5090?
At Q4_K_M, about 128K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is Gemma 3 27B IT (RTX 5090)?
We estimate 62–92 tok/s (estimate, confidence low). Based on: memory bandwidth (1,792 GB/s) and model size.