Gemma 4 E2B
A solid pick for self-hosting and full data control.
Overview
Gemma 4 E2B is the smallest member of Google DeepMind's Gemma 4 family, built for on-device inference rather than a GPU cluster. With 2.3B effective parameters, a 128K-token context window and support for text, image and audio, it handles everyday drafting and prototyping reasonably well. Benchmarks put it clearly behind the rest of the lineup (60% MMLU Pro, 44% LiveCodeBench), an expected trade-off for a model this small. Released under Apache 2.0, it can run fully on-premise, keeping data local with no reliance on external cloud infrastructure.
Skill profile
Not disclosed
Three independent measures
What people prefer, what the model can do, what the market uses. Each source has its biases and none is enough on its own: we show them side by side, never blended.
Strengths
- Open-source and self-hostable
Limitations
- API pricing not disclosed
Who is it for
- you want to control cost or self-host
- your data must stay in the EU
Ideal use cases
- Fast local prototyping
- Offline embedded assistant
- Confidential document summarization
- Lightweight office automation
Access & availability
Key specifications
What it costs per month
Estimate from sourced API prices and a hardware tier for self-hosting. Assumptions are editable.
Assumptions: 36-month amortisation, 0.25 €/kWh, 22 days/month, 1 $ = 0.92 €. Excludes labour, software licences, redundancy.
nAIvigate Trust Index
What the vendor offers and documents for professional use in Europe. An undocumented criterion counts as zero and stays visible: the score rises when the vendor publishes, not when we assume.
19/19 criteria documented · 100 % · 12 of them set by rule
See the criteria▾
Trust Index badge
Show this score in your docs, README or security page. It updates automatically.
[](https://naivigate.com/en/model/gemma-4-e2b)Data & compliance
What we know, line by line, with source and date. These lines feed the Data and Enterprise families of the Trust Index above. GDPR compliance depends on your processing, not on the model alone.
| EU data residency | Yes |
| Data processing agreement (DPA) | N/A· self-hosted: data never leaves |
| Transfer outside the EU | No |
| Training on your data | No |
| Configurable retention | N/A· self-hosted: data never leaves |
| Zero Data Retention | N/A· self-hosted: data never leaves |
| Self-hostable | Yes |
| Declared hosting | self |
Quality of this card’s data
This score measures the quality of the data on this card: price, context, Elo, licence, documented, sourced and fresh. It measures neither the model nor its compliance: for that, see the Trust Index above.
5/8 documented · 1/8 primary sources
Run it locally
| Quantization | Disk | RAM / VRAM | Typical hardware |
|---|---|---|---|
| Q4 · recommended | 1.1 GB | 3 GB | Any recent PC/Mac |
| Q8 · balanced | 2.1 GB | 4 GB | Any recent PC/Mac |
| FP16 · max quality | 4 GB | 6 GB | Any recent PC/Mac |
Estimates for a moderate context. Long contexts need more RAM (KV cache).
Deploy
Copy-ready commands generated from this card. Adjust context length and GPU count to your hardware.
OpenAI-compatible server for production on NVIDIA GPUs.
pip install vllm
vllm serve google/gemma-4-E2B-it \
--max-model-len 32768 \
--tensor-parallel-size 1 \
--dtype autoAdvanced data · for expertsArchitecture, modalities, detailed cost, full benchmarks▾
| Arena Elo | — |
| MMLU | — |
| GPQA | — |
| HumanEval | — |
| SWE-Bench | — |
| MATH | — |