What Models?

Pick the right model for your GPU — in seconds.

Gemma 3 4B VRAM requirements: which GPUs can run it locally?

3.88B params 128K max context Vision

The smallest GPU memory that runs Gemma 3 4B well is 4 GB (Q4_K_M, e.g. T1000). 131 of 132 GPUs run it well.

MMLU 63

VRAM needed per quantization

QuantizationWeights16K context32K contextFull 128K
Q4_K_M2.3 GB2.6 GB2.9 GB4.8 GB
Q8_03.9 GB4.2 GB4.5 GB6.3 GB

Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.

Run it locally

Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080. Both fetch the vision projector (mmproj) automatically.

Ollama ollama run hf.co/unsloth/gemma-3-4b-it-GGUF:Q4_K_M
llama.cpp llama-server -hf unsloth/gemma-3-4b-it-GGUF:Q4_K_M
Ollama ollama run hf.co/unsloth/gemma-3-4b-it-GGUF:Q8_0
llama.cpp llama-server -hf unsloth/gemma-3-4b-it-GGUF:Q8_0

Cheapest GPUs that can run Gemma 3 4B

Lowest launch MSRP among GPUs that run its smallest quantization (Q4_K_M) well, with at least 16K context.

As an Amazon Associate, I earn from qualifying purchases.

GPUs that can run Gemma 3 4B

Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.

NVIDIA

AMD

Intel

Apple

  • M1 8 GB Q8_0 128K context · ~13 tok/s
  • M2 8 GB Q8_0 128K context · ~19 tok/s
  • M3 8 GB Q8_0 128K context · ~19 tok/s
  • M1 Pro 16 GB Q8_0 128K context · ~39 tok/s
  • M2 Pro 16 GB Q8_0 128K context · ~39 tok/s
  • M4 16 GB Q8_0 128K context · ~23 tok/s
  • M5 16 GB Q8_0 128K context · ~30 tok/s
  • M6 16 GB Q8_0 128K context · ~30 tok/s
  • M3 Pro 18 GB Q8_0 128K context · ~29 tok/s
  • M4 Pro 24 GB Q8_0 128K context · ~53 tok/s
  • M5 Pro 24 GB Q8_0 128K context · ~60 tok/s
  • M1 Max 32 GB Q8_0 128K context · ~78 tok/s
  • M2 Max 32 GB Q8_0 128K context · ~78 tok/s
  • M3 Max 36 GB Q8_0 128K context · ~58 tok/s
  • M4 Max 36 GB Q8_0 128K context · ~80 tok/s
  • M5 Max 36 GB Q8_0 128K context · ~90 tok/s
  • M1 Ultra 64 GB Q8_0 128K context · ~109 tok/s
  • M2 Ultra 64 GB Q8_0 128K context · ~109 tok/s
  • M3 Ultra 96 GB Q8_0 128K context · ~112 tok/s
  • M5 Ultra 96 GB Q8_0 128K context · ~164 tok/s
Check your exact setup in the full tool →