Gemma 4 E4B

Vendor claim

Needs at least 8GB memory (MLX-4bit, 4.8GB weights); 16GB recommended for comfortable headroom.

Params (Total / Active): — / 4B Architecture: dense License: Gemma Terms US Google Ads monthly search volume (2026-11-24): 1,600/mo

Quantization & memory footprint

Gemma 4 E4B quantization file sizes and memory requirements
Quant Weights Min RAM Recommended Status
MLX-4bit 4.8 GB 8 GB 16 GB Vendor claim

GGUF & MLX Quantization Explained (Q4 vs Q8 vs FP16) →

Throughput by device (tok/s)

Gemma 4 E4B token generation speed by hardware device
Device Runner Quant 1× tok/s 8× tok/s Status Date
M2 Pro / 16GB Locals MLX-4bit 56 224 Vendor claim 2026-11-24
Gemma 4 E4B — Hardware Fit Matrix
Hardware Verdict Quant Speed Status
Apple M1 8GB Won't fit MLX-4bit ~8 tok/s Estimated
Apple M4 16GB Fits MLX-4bit ~56 tok/s Vendor claim
RTX 3060 12GB Fits MLX-4bit ~47 tok/s Estimated
RTX 4090 24GB Fits MLX-4bit ~130 tok/s Estimated
Apple M4 Pro 24GB Fits MLX-4bit ~33 tok/s Estimated
RTX 5090 32GB Fits MLX-4bit ~231 tok/s Estimated
Mac Studio 64GB Fits MLX-4bit ~48 tok/s Estimated

How to run locally

Ollama

ollama run gemma-4-e4b

llama.cpp

llama-cli -hf <org>/gemma-4-e4b-GGUF \
  -ngl 99 -c 8192

LM Studio

lms get gemma-4-e4b
lms load gemma-4-e4b --gpu max

Ollama vs LM Studio →

KV cache & context memory

Official max context window and layer geometry are not yet verified (null). Estimate context overhead with our KV Cache Calculator.

Related models