Gemma 4 E2B
Google DeepMind · open-weight model
The smallest Gemma 4, made for phones and small devices: 2.3B effective parameters with image and audio input.
What computer do you need?
At 4-bit (Q4_K_M, the usual choice for home use), Gemma 4 E2B needs about 3.9 GB of memory: 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB.
| Format | Weights | Memory needed* | Fits on |
|---|---|---|---|
| BF16 / FP16 Full precision, as published. Best quality, biggest. | about 10 GB | about 12 GB | 16 GB GPU (e.g. RTX 4070 Ti Super) or Mac, 32 GB; CPU only: PC, 32 GB RAM (slow) |
| Q8_0 8-bit. Practically the same quality as full precision. | about 5.4 GB | about 6.5 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 16 GB RAM (slow) |
| Q6_K 6-bit. Very close to full quality. | about 4.2 GB | about 5.1 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 16 GB RAM (slow) |
| Q5_K_M 5-bit. Small quality loss, good balance. | about 3.6 GB | about 4.5 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 8 GB RAM (slow) |
| Q4_K_M 4-bit. The usual default for running at home; noticeable but small loss. | about 3.1 GB | about 3.9 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 8 GB RAM (slow) |
* Estimate = parameters × bits ÷ 8, plus about 10% overhead and about 0.5 GB for an 8K-token conversation. Longer contexts need more. CPU-only means it runs from normal RAM without a graphics card, which works but is much slower. How we calculate this.
"E2B" means 2.3B effective parameters; with embeddings the files hold 5.1B values, which the estimates use.
Key facts
| Made by | Google DeepMind |
|---|---|
| Hugging Face | google/gemma-4-E2B-it |
| GitHub | Not linked from the model card |
| Hugging Face repo created | March 2, 2026 |
| License | Apache 2.0: Free for personal and commercial use, including modifying and redistributing it. Keep the license and copyright notices. |
| Parameters | 5.12B total |
| Architecture | Dense (all parameters used for every token) |
| Context length | 131,072 tokens |
| Input | Text, Images, Video, Audio → text output |
| Languages | 35+ languages supported, pre-trained on 140+ |
| Reasoning / thinking mode | Optional (can be switched on/off) |
| Popularity | 2,420,398 downloads in the last month, 1,180 likes (Hugging Face, November 25, 2026) |
| Works with | Ollama, Transformers, vLLM |
Which hardware runs Gemma 4 E2B?
- RTX 4060 (8 GB VRAM): Q8_0
- RTX 3070 (8 GB VRAM): Q8_0
- RTX 3080 10 GB: Q8_0
- RTX 3090 (24 GB VRAM): BF16 / FP16
- RTX 3060 12 GB: Q8_0
- RTX 4070 (12 GB VRAM): Q8_0
- RTX 5070 (12 GB VRAM): Q8_0
- RTX 4060 Ti 16 GB: BF16 / FP16
- RTX 5060 Ti 16 GB: BF16 / FP16
- RTX 4070 Ti Super (16 GB VRAM): BF16 / FP16
- RTX 4080 / 4080 Super (16 GB VRAM): BF16 / FP16
- RTX 5080 (16 GB VRAM): BF16 / FP16
- RTX 4090 (24 GB VRAM): BF16 / FP16
- Radeon RX 7900 XTX (24 GB VRAM): BF16 / FP16
- RTX 5090 (32 GB VRAM): BF16 / FP16
- 2x RTX 3090 (48 GB): BF16 / FP16
- Mac with 16 GB unified memory: Q8_0
- Mac with 24 GB unified memory: BF16 / FP16
- Mac with 32 GB unified memory: BF16 / FP16
- Mac with 48 GB unified memory: BF16 / FP16
- Mac with 64 GB unified memory: BF16 / FP16
- Mac with 128 GB unified memory: BF16 / FP16
- Mac Studio with 256 GB unified memory: BF16 / FP16
- Mac Studio with 512 GB unified memory: BF16 / FP16
- Laptop or PC with 8 GB RAM: Q5_K_M
- Laptop or PC with 16 GB RAM: Q8_0
- PC with 32 GB RAM: BF16 / FP16
- PC with 64 GB RAM: BF16 / FP16
How to run Gemma 4 E2B
With Ollama (easiest)
- Install Ollama from ollama.com/download (Windows, Mac, Linux).
- Open a terminal and download + start the model:
ollama run gemma4:e2b
Ollama picks a ready-made quantized version (usually 4-bit). Library page: ollama.com/library/gemma4.
With LM Studio (no terminal)
- Install LM Studio.
- Open the search (Discover) tab and search for Gemma 4 E2B; pick a GGUF or MLX version that fits your memory (see the table above).
- Click Download, then Load and start chatting.
On a GPU server with vLLM
pip install -U vllm
vllm serve google/gemma-4-E2B-it
This gives you an OpenAI-compatible API on port 8000. Big models need several GPUs (add --tensor-parallel-size N) and the exact flags from the model card.
Can I run Gemma 4 E2B?
Can I run Gemma 4 E2B on laptop or PC with 16 GB RAM?
Yes. By our estimate it fits at Q8_0 (about 6.5 GB) in the roughly 11 GB a Laptop or PC with 16 GB RAM can use. Without a graphics card it runs on the processor, so answers come slowly.
Can I run Gemma 4 E2B on an RTX 3060 12 GB?
Yes. By our estimate it fits at Q8_0 (about 6.5 GB) in the roughly 11.5 GB an RTX 3060 12 GB can use.
Can I run Gemma 4 E2B on an RTX 4090?
Yes. By our estimate it fits at BF16 / FP16 (about 12 GB) in the roughly 23.5 GB an RTX 4090 can use.
Can I run Gemma 4 E2B on a Mac with 32 GB?
Yes. By our estimate it fits at BF16 / FP16 (about 12 GB) in the roughly 23 GB a Mac with 32 GB can use.
What is the minimum hardware for Gemma 4 E2B?
At 4-bit it needs about 3.9 GB of memory: 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB. These are estimates; longer conversations need more.
Sources
- google/gemma-4-E2B-it model card, Hugging Face, read November 25, 2026
- config.json (architecture, context length), read November 25, 2026
- Apache 2.0, read November 25, 2026
- Ollama library, read November 25, 2026
Similar-size models
- Qwen3.5 4B (4.66B)
- Qwen3 4B Instruct 2507 (4.02B)
- Nemotron 3 Nano 4B (3.97B)
- Phi-4-mini Instruct (3.84B)