Skip to content

Gemma 3 4B

by Google · gemma-3 family

4B

parameters

text-generation code-generation reasoning multilingual vision summarization

Gemma 3 4B is the smallest multimodal model in the Gemma 3 family, supporting both text and image inputs. It delivers impressive performance for its size, outperforming many larger text-only models on standard benchmarks. With 128K context and vision support at just 5 GB VRAM (Q4), it's an excellent choice for users with 8 GB GPUs who want multimodal capabilities. Drag images into Ollama's desktop app to ask questions about them.

Quick Start with Ollama

ollama run 4b-it-q4_K_M
Resources Ollama Hugging Face Official Page
Creator Google
Parameters 4B
Architecture transformer-decoder
Context 128K tokens
Released Mar 12, 2025
License Gemma Terms of Use
Ollama gemma3:4b

Quantization Options

Format File Size VRAM Required Quality Ollama Tag
Q4_K_M rec 3.3 GB 5 GB 4b-it-q4_K_M
Q8_0 5 GB 7.5 GB 4b-it-q8_0
F16 8.6 GB 11.5 GB 4b-it-fp16

Compatible Hardware

Q4_K_M requires 5 GB VRAM

Compatible Hardware

HardwareVRAMTypeFitEst. Speed
Mac Studio M4 Ultra 512GB512 GBmacRuns~164 tok/s
Mac Pro M2 Ultra 192GB192 GBmacRuns~160 tok/s
Mac Studio M4 Ultra 192GB192 GBmacRuns~164 tok/s
Mac Studio M4 Max 128GB128 GBmacRuns~109 tok/s
MacBook Pro M4 Max 128GB128 GBmacRuns~109 tok/s
MacBook Pro M5 Max 128GB128 GBmacRuns~109 tok/s
NVIDIA RTX PRO 6000 Blackwell96 GBgpuRuns~384 tok/s
MacBook Pro M3 Max 96GB96 GBmacRuns~80 tok/s
Mac mini M4 Pro 64GB64 GBmacRuns~55 tok/s
Mac Studio M4 Max 64GB64 GBmacRuns~109 tok/s
MacBook Pro M4 Max 64GB64 GBmacRuns~109 tok/s
MacBook Pro M5 Max 64GB64 GBmacRuns~109 tok/s
NVIDIA RTX 6000 Ada Generation48 GBgpuRuns~192 tok/s
NVIDIA RTX A600048 GBgpuRuns~154 tok/s
NVIDIA RTX PRO 5000 Blackwell48 GBgpuRuns~192 tok/s
Mac mini M4 Pro 48GB48 GBmacRuns~55 tok/s
MacBook Pro M3 Max 48GB48 GBmacRuns~80 tok/s
MacBook Pro M4 Max 48GB48 GBmacRuns~109 tok/s
MacBook Pro M4 Pro 48GB48 GBmacRuns~55 tok/s
MacBook Pro M5 Max 48GB48 GBmacRuns~82 tok/s
MacBook Pro M5 Pro 48GB48 GBmacRuns~55 tok/s
Mac Studio M4 Max 36GB36 GBmacRuns~109 tok/s
MacBook Pro M3 Pro 36GB36 GBmacRuns~30 tok/s
MacBook Pro M5 Max 36GB36 GBmacRuns~82 tok/s
NVIDIA RTX 5000 Ada Generation32 GBgpuRuns~144 tok/s
NVIDIA GeForce RTX 509032 GBgpuRuns~358 tok/s
iMac M4 32GB32 GBmacRuns~24 tok/s
Mac mini M4 32GB32 GBmacRuns~24 tok/s
MacBook Air M4 32GB32 GBmacRuns~24 tok/s
MacBook Air M5 32GB32 GBmacRuns~24 tok/s
MacBook Pro M5 32GB32 GBmacRuns~24 tok/s
AMD Radeon RX 7900 XTX24 GBgpuRuns~192 tok/s
NVIDIA GeForce RTX 309024 GBgpuRuns~187 tok/s
NVIDIA GeForce RTX 3090 Ti24 GBgpuRuns~202 tok/s
NVIDIA GeForce RTX 409024 GBgpuRuns~202 tok/s
NVIDIA RTX A500024 GBgpuRuns~154 tok/s
iMac M3 24GB24 GBmacRuns~20 tok/s
Mac mini M2 24GB24 GBmacRuns~20 tok/s
Mac mini M4 Pro 24GB24 GBmacRuns~55 tok/s
MacBook Air M2 24GB24 GBmacRuns~20 tok/s
MacBook Air M4 24GB24 GBmacRuns~24 tok/s
MacBook Air M5 24GB24 GBmacRuns~24 tok/s
MacBook Pro M4 Pro 24GB24 GBmacRuns~55 tok/s
MacBook Pro M5 24GB24 GBmacRuns~24 tok/s
MacBook Pro M5 Pro 24GB24 GBmacRuns~55 tok/s
AMD Radeon RX 7900 XT20 GBgpuRuns~160 tok/s
NVIDIA RTX 4000 Ada Generation20 GBgpuRuns~72 tok/s
MacBook Pro M3 Pro 18GB18 GBmacRuns~30 tok/s
AMD Radeon RX 6900 XT16 GBgpuRuns~102 tok/s
AMD Radeon RX 6800 XT16 GBgpuRuns~102 tok/s
AMD Radeon RX 7800 XT16 GBgpuRuns~125 tok/s
AMD Radeon RX 9060 XT 16GB16 GBgpuRuns~108 tok/s
AMD Radeon RX 9070 XT16 GBgpuRuns~130 tok/s
AMD Radeon RX 907016 GBgpuRuns~108 tok/s
Intel Arc A77016 GBgpuRuns~112 tok/s
NVIDIA GeForce RTX 4060 Ti 16GB16 GBgpuRuns~58 tok/s
NVIDIA GeForce RTX 4070 Ti Super16 GBgpuRuns~134 tok/s
NVIDIA GeForce RTX 4080 Super16 GBgpuRuns~147 tok/s
NVIDIA GeForce RTX 408016 GBgpuRuns~143 tok/s
NVIDIA GeForce RTX 5060 Ti 16GB16 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 5070 Ti16 GBgpuRuns~179 tok/s
NVIDIA GeForce RTX 508016 GBgpuRuns~192 tok/s
NVIDIA RTX A400016 GBgpuRuns~90 tok/s
iMac M1 16GB16 GBmacRuns~14 tok/s
iMac M4 16GB16 GBmacRuns~24 tok/s
Mac mini M1 16GB16 GBmacRuns~14 tok/s
Mac mini M4 16GB16 GBmacRuns~24 tok/s
MacBook Air M2 16GB16 GBmacRuns~20 tok/s
MacBook Air M3 16GB16 GBmacRuns~20 tok/s
MacBook Air M4 16GB16 GBmacRuns~24 tok/s
MacBook Air M5 16GB16 GBmacRuns~24 tok/s
MacBook Pro M1 16GB16 GBmacRuns~14 tok/s
MacBook Pro M2 Pro 16GB16 GBmacRuns~40 tok/s
MacBook Pro M5 16GB16 GBmacRuns~24 tok/s
AMD Radeon RX 6700 XT12 GBgpuRuns~77 tok/s
AMD Radeon RX 7700 XT12 GBgpuRuns~86 tok/s
Intel Arc B58012 GBgpuRuns~91 tok/s
NVIDIA GeForce RTX 3060 12GB12 GBgpuRuns~72 tok/s
NVIDIA GeForce RTX 3080 12GB12 GBgpuRuns~182 tok/s
NVIDIA GeForce RTX 4070 Super12 GBgpuRuns~101 tok/s
NVIDIA GeForce RTX 4070 Ti12 GBgpuRuns~101 tok/s
NVIDIA GeForce RTX 407012 GBgpuRuns~101 tok/s
NVIDIA GeForce RTX 507012 GBgpuRuns~134 tok/s
NVIDIA GeForce GTX 1080 Ti11 GBgpuRuns~97 tok/s
NVIDIA GeForce RTX 2080 Ti11 GBgpuRuns~123 tok/s
Intel Arc B57010 GBgpuRuns~76 tok/s
NVIDIA GeForce RTX 3080 10GB10 GBgpuRuns~152 tok/s
AMD Radeon RX 6600 XT8 GBgpuRuns~51 tok/s
AMD Radeon RX 76008 GBgpuRuns~58 tok/s
AMD Radeon RX 9060 XT 8GB8 GBgpuRuns~54 tok/s
Intel Arc A7508 GBgpuRuns~102 tok/s
NVIDIA GeForce GTX 10708 GBgpuRuns~51 tok/s
NVIDIA GeForce RTX 2060 Super8 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 2070 Super8 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 2080 Super8 GBgpuRuns~99 tok/s
NVIDIA GeForce RTX 30508 GBgpuRuns~45 tok/s
NVIDIA GeForce RTX 30708 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 3060 Ti8 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 4060 Ti 8GB8 GBgpuRuns~58 tok/s
NVIDIA GeForce RTX 40608 GBgpuRuns~54 tok/s
NVIDIA GeForce RTX 50508 GBgpuRuns~45 tok/s
NVIDIA GeForce RTX 5060 Ti 8GB8 GBgpuRuns~90 tok/s
NVIDIA GeForce RTX 50608 GBgpuRuns~67 tok/s
MacBook Air M1 8GB8 GBmacRuns~14 tok/s
MacBook Air M2 8GB8 GBmacRuns~20 tok/s
NVIDIA GeForce GTX 1660 Super6 GBgpuRuns~67 tok/s
NVIDIA GeForce RTX 20606 GBgpuRuns~67 tok/s

Benchmark Scores

62.0
mmlu