// Gemma · Omni / audio LLM
gemma-4-E2B-it: VRAM & local deployment
5.12B parameters. About 4.0 GB at 4-bit and 11.8 GB at BF16 with one 8K-token request.
released 2026-03-02licence: Commercial OKmemory figures are estimates
01Specs
| Publisher | Google · google |
|---|---|
| Family / series | Gemma · gemma-4 |
| Type | Omni / audio LLM (any-to-any) |
| Parameters | 5.12B Source: counted from official safetensors weights |
| Context length | 128K tokens (131,072)max_position_embeddings in config.json |
| Architecture | 35 layers (7 full-attention) · 28 sliding-window layers (512) · GQA |
| Released weights | BF16 · 10.3 GBdownload |
| Licence | Apache-2.0 · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed. |
| Released | 2026-03-02 (Hugging Face repo created) |
02How much VRAM it needs (estimate)
Total = weights + 10% + 0.5GB overhead + KV cache for one request (FP16 KV). More concurrent users multiply the KV column.
| Precision | Weights | Total @ 8K | Total @ 32K | Total @ 128K | Smallest GPU | Mac |
|---|---|---|---|---|---|---|
| BF16 / FP16 (original) | 10.3 GB | 11.8 GB | 12.0 GB | 12.7 GB | 16GB GPU | Mac 24GB |
| FP8 / INT8 / Q8_0 | 5.4 GB | 6.6 GB | 6.7 GB | 7.4 GB | 8GB GPU | Mac 16GB |
| 4-bit (Q4_K_M / AWQ / GPTQ-Int4) | 3.1 GB | 4.0 GB | 4.2 GB | 4.9 GB | 8GB GPU | Mac 16GB |
KV cache per request: 8K 0.1 GB · 32K 0.3 GB · 128K 0.9 GB
Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →
03How to run it
Only runtimes the publisher or the runtime’s official library names for this model.
- llama.cpp — mentioned in the official model card
- Transformers — mentioned in the official model card
- Ollama — in the official Ollama library · gemma4:e2b
ollama run gemma4:e2b 04Official repositories & quantised builds
3 official repo(s) from google.
- gemma-4-E2B-it Instruct
- gemma-4-E2B main
- gemma-4-E2B-it-qat-mobile-transformers Instruct
05Other Gemma models
All 48 →| Model | Params | 4-bit total | Released |
|---|---|---|---|
| gemma-4-E4B-it · same series | 8B | 6.0 GB | 2026-03-02 |
| gemma-4-12B-it · same series | 12B | 9.3 GB | 2026-05-23 |
| gemma-4-26B-A4B-it · same series | 25.8B / 4B | 18.3 GB | 2026-03-11 |
| gemma-4-31B-it · same series | 31.3B | 23.5 GB | 2026-03-11 |
| embeddinggemma-2 | 744M | 1.0 GB | 2026-09-14 |
| diffusiongemma-26B-A4B-it | 25.8B / 4B | 18.3 GB | 2026-06-09 |
| gemma-4-12B-it-qat-q4_0-unquantized | 12B | 9.3 GB | 2026-06-04 |
| gemma-4-E4B-it-qat-q4_0-unquantized | 7.94B | 5.9 GB | 2026-04-30 |
| gemma-4-E2B-it-qat-q4_0-unquantized | 5.1B | 4.0 GB | 2026-04-29 |
| gemma-4-26B-A4B-it-qat-q4_0-unquantized | 25.8B / 4B | 18.3 GB | 2026-04-29 |
| gemma-4-31B-it-qat-q4_0-unquantized | 31.3B | 23.5 GB | 2026-04-28 |
| translategemma-4b-it | 4.3B | 3.4 GB | 2026-01-12 |
06Sources
Data checked 2026-07-20. Parameters, context and licence are copied from the official repository; memory figures are our estimates.