How much VRAM does Gemma 3 4B need?

Gemma 3 4B needs about 3.8 GB of video memory at Q4 with a 4K context, so it runs fully on any graphics card with 4 GB or more. At full FP16 quality it needs about 9.8 GB. It supports up to 128K tokens of context.

ollama run gemma3:4b

Figures checked 19 Nov 2026 against the model's published configuration · Sources and method

Memory needed by quality and context length

Quality4K context16K context32K context128K context
Q4 (Q4_K_M)3.8 GB5.5 GB7.8 GB21.6 GB
Q5 (Q5_K_M)4.2 GB6.0 GB8.3 GB22.0 GB
Q8 (Q8_0)5.7 GB7.5 GB9.8 GB23.5 GB
FP16 (full)9.8 GB11.5 GB13.8 GB27.6 GB

Estimates for llama.cpp / Ollama (GGUF): weights + KV cache (FP16) + about 0.6 GB for the runtime. A model can use about 95% of a card's memory. Q4 is the usual sweet spot; Q8 is close to full quality.

Which graphics cards run it?

Fully on the GPU at Q4 with a 4K context: any card with 4 GB or more, for example GTX 1050 Ti, RX 570, GTX 1650 (everything a 4 GB card runs). For Q8 (near full quality), 8 GB or more.

On a Mac: 8 GB of unified memory or more.

Similar-size models

Sources and method

Spotted a figure that does not match the model card? Use the "Tell us" link at the bottom of the page.

Questions people ask

How much VRAM does Gemma 3 4B need?

About 3.8 GB at Q4 (Q4_K_M), 4.2 GB at Q5, 5.7 GB at Q8 and 9.8 GB at FP16, with a 4K-token context. A longer context adds about 0.6 GB for every 4K tokens.

Can Gemma 3 4B run on an 8 GB graphics card?

Yes. At Q8 (Q8_0) it needs about 5.7 GB, which fits in 8 GB with room for a 4K context.

Can I run Gemma 3 4B on a Mac?

Yes, on an Apple Silicon Mac with 8 GB of unified memory or more, where macOS lets the GPU use about 5 GB by default. Run it with "ollama run gemma3:4b".

How do I run Gemma 3 4B with Ollama?

Install Ollama, then run "ollama run gemma3:4b". Ollama downloads a Q4 version by default, which is the usual sweet spot of quality and memory.

Spotted a wrong number? Tell us and we'll fix it.