Gemma 3 4B is the smallest Gemma 3 model that reads images as well as text. Google released it in March 2025 with a 128K tokens token context window and support for over 140 languages.
At Q4_K_M it needs about 3.5 GB with an 8K conversation, so a laptop GPU or an 8GB Mac can describe photos, read screenshots and answer questions about documents.
gemma3:4b-it-qat.ollama run gemma3:4bIn llama.cpp and LM Studio, image input also needs the mmproj file from the GGUF repo. Licence: Gemma Terms of Use, which allow commercial use.
Last reviewed · How we calculate
gemma3:4bThe upright line marks the memory your device can give the model. Everything left of it runs on the GPU.
At Q4_K_M this device holds the full 128K native context.
Total memory for weights, conversation cache and runtime. Pick the row your card can hold at the length you need.
| Quantization | File size | 4K | 8K | 16K | 32K | Quality |
|---|---|---|---|---|---|---|
| Q4_K_Mrecommended | 2.6 GB | 3.4 GB | 3.5 GB | 3.7 GB | 4.0 GB | Small loss, best default |
| Q5_K_M | 3.1 GB | 3.9 GB | 3.9 GB | 4.1 GB | 4.5 GB | Very close to Q8 |
| Q6_K | 3.5 GB | 4.3 GB | 4.4 GB | 4.6 GB | 4.9 GB | Hard to tell from Q8 |
| Q8_0 | 4.6 GB | 5.4 GB | 5.5 GB | 5.6 GB | 6.0 GB | Near full quality |
| F16 | 8.6 GB | 9.4 GB | 9.5 GB | 9.7 GB | 10.0 GB | Full quality |
| Device | At Q4_K_M | At Q8_0 | Memory | Speed | Longest chat |
|---|---|---|---|---|---|
| RTX 4060 8GB | Runs well | Runs well | about 68 tok/s | 128K, full | |
| RTX 3060 12GB | Runs well | Runs well | about 90 tok/s | 128K, full | |
| RTX 4070 12GB | Runs well | Runs well | about 126 tok/s | 128K, full | |
| RTX 4060 Ti 16GB | Runs well | Runs well | about 72 tok/s | 128K, full | |
| Radeon RX 7600 XT 16GB | Runs well | Runs well | about 72 tok/s | 128K, full | |
| RTX 5060 Ti 16GB | Runs well | Runs well | about 112 tok/s | 128K, full | |
| Intel Arc A770 16GB | Runs well | Runs well | about 140 tok/s | 128K, full | |
| Radeon RX 9070 XT 16GB | Runs well | Runs well | about 160 tok/s | 128K, full | |
| RTX 4070 Ti Super 16GB | Runs well | Runs well | about 168 tok/s | 128K, full | |
| RTX 4080 Super 16GB | Runs well | Runs well | about 184 tok/s | 128K, full | |
| RTX 5080 16GB | Runs well | Runs well | about 239 tok/s | 128K, full | |
| RTX 3090 24GB | Runs well | Runs well | about 233 tok/s | 128K, full | |
| Radeon RX 7900 XTX 24GB | Runs well | Runs well | about 239 tok/s | 128K, full | |
| RTX 4090 24GB | Runs well | Runs well | about 251 tok/s | 128K, full | |
| RTX 5090 32GB | Runs well | Runs well | about 447 tok/s | 128K, full | |
| Mac mini M4 16GB | Runs well | Runs well | about 30 tok/s | 128K, full | |
| Mac M4 Pro 24GB | Runs well | Runs well | about 68 tok/s | 128K, full | |
| Mac M4 Pro 48GB | Runs well | Runs well | about 68 tok/s | 128K, full | |
| Mac M4 Max 64GB | Runs well | Runs well | about 136 tok/s | 128K, full | |
| Mac M4 Max 128GB | Runs well | Runs well | about 136 tok/s | 128K, full |
These apps use the same GGUF files, so the memory numbers above apply to each.
ollama run gemma3:4b
Downloads the Q4_K_M file on first run. For a longer conversation type /set parameter num_ctx 16384 inside the chat.
The speeds on this page are estimates from memory bandwidth. Run the model, note the tokens per second your app reports, and your number replaces the estimate for everyone with your hardware.
Add the first benchmarkInstall Ollama 0.6 or newer and run ollama run gemma3:4b (about 3.3 GB). You can add an image to your message and ask about it.
Yes. At Q4 it needs about 3.5 GB plus a small vision encoder, so most laptops with 8 GB of RAM or a 4 to 6GB GPU can describe photos and read screenshots.
It is Google's quantization-aware trained 4-bit version. It keeps quality closer to the full model than a normal 4-bit quant. Run it with ollama run gemma3:4b-it-qat.
Gemma 3 4B reads images and covers far more languages. Llama 3.2 3B is text only and a little smaller. For a small multimodal model, Gemma 3 4B is the better pick.
Yes. The Gemma Terms of Use allow commercial use as long as you follow Google's prohibited use policy.
About 3.5 GB at Q4_K_M with an 8K conversation, 3.9 GB at Q5_K_M, 5.5 GB at Q8_0 and 9.5 GB at full F16 precision. Longer conversations add about 0.3 GB for every 8,000 tokens.
Yes. The RTX 4060 8GB runs Gemma 3 4B fully on the GPU at Q4_K_M at about 68 tokens a second.
Yes. The RTX 3060 12GB runs Gemma 3 4B fully on the GPU at Q4_K_M at about 90 tokens a second.
Yes. The RTX 4060 Ti 16GB runs Gemma 3 4B fully on the GPU at Q4_K_M at about 72 tokens a second.
Yes. A Mac with 16 GB of memory runs it comfortably at Q4. macOS keeps about a third of memory for the system, so smaller Macs may only manage short conversations.