dexiio

What hardware runs Gemma 3 27B?

Gemma 3 27B is a 27.01B-parameter dense model (gemma license). Sliding-window attention keeps long context cheap, and the vision stack still beats most of 2026's newcomers.

All figures assume an f16 KV cache, a 0.6 GB display reserve on the GPU, and 64 GB of DDR5 system RAM for the offload tiers. Tune these in the calculator.

Minimum VRAM by quant and context

QuantFile size8K16K32K64K128K
Q2_K *9.8 GB12.7 GB13.5 GB15 GB18 GB23.7 GB
Q3_K_M *12.5 GB15.5 GB16.2 GB17.7 GB20.7 GB26.5 GB
Q4_K_M15.4 GB18.4 GB19.1 GB20.6 GB23.6 GB29.4 GB
Q5_K_M17.9 GB20.9 GB21.7 GB23.2 GB26.2 GB31.9 GB
Q6_K20.6 GB23.6 GB24.4 GB25.9 GB28.9 GB34.6 GB
Q8_026.7 GB29.7 GB30.4 GB31.9 GB34.9 GB40.7 GB
IQ4_XS13.8 GB16.7 GB17.5 GB19 GB22 GB27.7 GB

Full-GPU figures: weights + f16 KV cache + overhead. * below our recommended floor of Q4_K_M.

GPU compatibility

GPU8K16K32K64K128K
NVIDIA GeForce RTX 5090Q8_0Q8_0Q8_0Q6_KQ5_K_M
NVIDIA GeForce RTX 5080IQ4_XSIQ4_XSIQ4_XSIQ4_XSIQ4_XS
NVIDIA GeForce RTX 5070 TiIQ4_XSIQ4_XSIQ4_XSIQ4_XSIQ4_XS
NVIDIA GeForce RTX 5070IQ4_XSIQ4_XSIQ4_XSIQ4_XSQ8_0
NVIDIA GeForce RTX 5060 Ti 16GBIQ4_XSIQ4_XSIQ4_XSIQ4_XSIQ4_XS
NVIDIA GeForce RTX 5060IQ4_XSIQ4_XSIQ4_XSQ8_0Q8_0
NVIDIA GeForce RTX 4090Q6_KQ5_K_MQ5_K_MQ4_K_MIQ4_XS
NVIDIA GeForce RTX 4080 SUPERIQ4_XSIQ4_XSIQ4_XSIQ4_XSIQ4_XS
NVIDIA GeForce RTX 4070 Ti SUPERIQ4_XSIQ4_XSIQ4_XSIQ4_XSIQ4_XS
NV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6_KQ5_K_MQ5_K_MQ4_K_MIQ4_XS
Apple M2 Max (64GB)Q8_0Q8_0Q8_0Q8_0Q8_0
Apple M2 Ultra (128GB)Q8_0Q8_0Q8_0Q8_0Q8_0
Apple M3 (16GB)IQ4_XSIQ4_XSIQ4_XSIQ4_XSQ8_0
Apple M3 Pro (36GB)Q6_KQ6_KQ6_KQ5_K_MIQ4_XS
Apple M3 Max (64GB)Q8_0Q8_0Q8_0Q8_0Q8_0
Apple M3 Ultra (96GB)Q8_0Q8_0Q8_0Q8_0Q8_0
Apple M4 (16GB)IQ4_XSIQ4_XSIQ4_XSIQ4_XSQ8_0
Apple M4 Pro (48GB)Q8_0Q8_0Q8_0Q8_0Q6_K
Apple M4 Max (64GB)Q8_0Q8_0Q8_0Q8_0Q8_0
CPU only / integrated graphicsQ8_0Q8_0Q8_0Q8_0Q8_0

Fits on GPUExpert offloadPartial offloadCPU only

Quant guidance

Our floor for Gemma 3 27B is Q4_K_M — below that, quality degrades faster than the VRAM savings are worth. Prefer the highest quant that still lands "Fits on GPU" at your context length in the table above.

Recommended run command

Q4_K_M at 32K on a AMD Radeon RX 7900 XT-class GPU (Partial offload):

llama-server -m gemma-3-27b-it-Q4_K_M.gguf -c 32768 --flash-attn -ngl 59

Frequently asked questions

How much VRAM does Gemma 3 27B need?

At Q4_K_M and 32K context, Gemma 3 27B needs about 20.6 GB of VRAM to run fully on GPU (weights + KV cache + overhead).

What is the smallest GPU that can run Gemma 3 27B?

The AMD Radeon RX 7900 XT (20 GB) is the smallest GPU in our set that runs Gemma 3 27B well at 32K context.

What quantization should I use for Gemma 3 27B?

We recommend Q4_K_M or higher. Q4_K_M weighs 15.4 GB (4.9 bits/weight); going below Q4_K_M costs noticeable quality on a model this size.

How long a context can Gemma 3 27B handle?

Gemma 3 27B supports up to 128K tokens. KV cache grows linearly with context, though sliding-window layers cap most of the growth.

Can I run Gemma 3 27B without a GPU?

Yes, at reduced speed: on CPU with 64 GB of DDR5 it manages roughly 2 tokens/sec at 8K context (Q8_0).

Related guides