Gemma 4 E4B
Google DeepMind · open-weight model
An on-device Gemma 4 built for laptops and phones: 4.5B effective parameters, with speech recognition and translation built in alongside image understanding.
What computer do you need?
At 4-bit (Q4_K_M, the usual choice for home use), Gemma 4 E4B needs about 5.8 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 16 GB | about 18 GB | 24 GB GPU (e.g. RTX 4090) or Mac, 32 GB; CPU only: PC, 32 GB RAM (slow) |
| Q8_0 8-bit. Practically the same quality as full precision. | about 8.5 GB | about 9.9 GB | 12 GB GPU (e.g. RTX 3060 12 GB) or Mac, 16 GB; CPU only: Laptop/PC, 16 GB RAM (slow) |
| Q6_K 6-bit. Very close to full quality. | about 6.6 GB | about 7.8 GB | 12 GB GPU (e.g. RTX 3060 12 GB) or Mac, 16 GB; CPU only: Laptop/PC, 16 GB RAM (slow) |
| Q5_K_M 5-bit. Small quality loss, good balance. | about 5.7 GB | about 6.8 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 16 GB RAM (slow) |
| Q4_K_M 4-bit. The usual default for running at home; noticeable but small loss. | about 4.8 GB | about 5.8 GB | 8 GB GPU (e.g. RTX 4060) or Mac, 16 GB; CPU only: Laptop/PC, 16 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.
"E4B" means 4.5B effective parameters; with embeddings the files hold 8B values, which the estimates use. Real memory use can be lower in runtimes that keep the per-layer embeddings outside fast memory.
Key facts
| Made by | Google DeepMind |
|---|---|
| Hugging Face | google/gemma-4-E4B-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 | 8B 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 | 3,980,578 downloads in the last month, 1,984 likes (Hugging Face, November 25, 2026) |
| Works with | Ollama, Transformers, vLLM |
Compare
Which hardware runs Gemma 4 E4B?
- RTX 4060 (8 GB VRAM): Q5_K_M
- RTX 3070 (8 GB VRAM): Q5_K_M
- RTX 3080 10 GB: Q6_K
- 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: Q8_0
- RTX 5060 Ti 16 GB: Q8_0
- RTX 4070 Ti Super (16 GB VRAM): Q8_0
- RTX 4080 / 4080 Super (16 GB VRAM): Q8_0
- RTX 5080 (16 GB VRAM): Q8_0
- 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: Q8_0
- 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: does not fit
- 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 E4B
With Ollama (easiest)
- Install Ollama from ollama.com/download (Windows, Mac, Linux).
- Open a terminal and download + start the model:
ollama run gemma4:e4b
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 E4B; 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-E4B-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 E4B?
Can I run Gemma 4 E4B on laptop or PC with 16 GB RAM?
Yes. By our estimate it fits at Q8_0 (about 9.9 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 E4B on an RTX 3060 12 GB?
Yes. By our estimate it fits at Q8_0 (about 9.9 GB) in the roughly 11.5 GB an RTX 3060 12 GB can use.
Can I run Gemma 4 E4B on an RTX 4090?
Yes. By our estimate it fits at BF16 / FP16 (about 18 GB) in the roughly 23.5 GB an RTX 4090 can use.
Can I run Gemma 4 E4B on a Mac with 32 GB?
Yes. By our estimate it fits at BF16 / FP16 (about 18 GB) in the roughly 23 GB a Mac with 32 GB can use.
What is the minimum hardware for Gemma 4 E4B?
At 4-bit it needs about 5.8 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-E4B-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
- Llama 3.1 8B Instruct (8.03B)
- Olmo 3 7B Instruct (7.3B)
- Ministral 3 8B (8.9B)
- Qwen3.5 9B (9.65B)