whatmodel.sh / Gemma 4 E2B
Gemma 4 E2B
↗ share
+ contribute
Gemma 4 E2B is an open-weights language model from Google, released April 2026. Its published size is 5.1B parameters (2.3B active per token) and a 131k-token context window. Licence: apache-2.0.
$ how it compares
The LLMs ranked either side of Gemma 4 E2B, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 479 | 47±2 | local | |||
| 480 | 47±1 | local | |||
| 481 | 47±1 | api $0.050/M +local | |||
| 482 | 47±1 | local | |||
| 483 | 47±2 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #273 of 300 · 15% of its score · 15 tests
Beats Magistral Small 1.0 (2506), Bielik 11B v2.3 Instruct, Mixtral 8x22B Instruct v0.1 here, though they rank higher overall. Trails Granite 4.0 H 350M, Qwen3 0.6B, Qwen2.5 1.5B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BFCL V4 (December 2025 archive) +2 | 36.6% ✎ | ▄·█·▄▄▄▄·▄·▄ beats 0/8 | 2.8% |
| Tau2 – airline lab | 31.0% ✎ | ▃·▃··▃·····█ beats 0/5 | 2.0% |
| τ²-bench aggregate lab | 24.5% ✎ | ▄·▄··▄····█▄ beats 1/5 | 1.4% |
| τ²-bench Telecom lab +1 | 19.7% ✎ | ▄····█··▄·▄▄ beats 2/5 | 1.3% |
| MCP-Atlas (public set) | 12.6% ✎ | ▃·▁▂▁·▁▃█▆▆▂ beats 0/37 | 1.2% |
| ContractBench success rate (33 observation-contract tool tasks) | 7.1% ✎ | ▆··▆▄▂▄▂▆▆█▄ beats 2/23 | 1.1% |
| τ³-bench Banking +1 | 3.9% ✎ | ▂▂·▅█▂▂▃▂▅▂▃ beats 3/20 | 1.0% |
| Terminal-Bench Hard lab | 3.0% ✎ | ██··█·█·█··█ beats 0/5 | 0.8% |
7 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp-ZH | 4.7% ✎ | ▄▄·▄▄▄·█···█ beats 1/8 | 0.7% |
| Tau2 – retail lab | 34.6% ✎ | ▄····▄··▄·▄█ beats 1/5 | 0.7% |
| SWE-bench Verified | 2.0% ✎ | ▄··▄▄█··▄·▄█ beats 1/8 | 0.6% |
| τ³-bench | 8.8% ✎ | ▃·▃·█·▃··▃·▃ beats 2/7 | 0.4% |
| SWE-bench Pro (split unspecified) | 0.0% ✎ | █▂···▂···▄·▂ beats 2/8 | 0.4% |
| BrowseComp | 3.7% ✎ | ▅···█·▃···▃▃ beats 1/7 | 0.3% |
| T1-Bench multi-domain conversational agent pass^3 | 28.4% ✎ | ▂▂··▂·▂·▃▂█▄ beats 4/11 | 0.0% |
coding▁▁▁▃▆██▇▆▄▃▁ #349 of 458 · 10% of its score · 8 tests
Beats LFM2.5 2.6B, LFM2.5 8B-A1B, Qwen3-VL 2B Thinking here, though they rank higher overall. Trails Phi-3-mini-128k-instruct (Apr 2024), Code Tulu 2 13B, DeepSeek LLM 67B Chat here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LiveCodeBench v6 (window unspecified) +1 | 42.9% ✎ | ▃····█·▃▅▃·▃ beats 3/8 | 3.7% |
| LiveCodeBench Pro 2025Q2 (Easy) | 27.1% ✎ | ▄···█▄··▄█▄▄ beats 1/8 | 1.7% |
| LiveCodeBench v6 (Feb–May 2025) lab | 44.0% ✎ | ▄··▄·▄···▄·█ beats 1/5 | 1.1% |
| SciCode lab | 21.0% ✎ | █▄·······▄▄▄ beats 1/5 | 1.0% |
| SWE-bench Verified | 2.0% ✎ | ▄··▄▄█··▄·▄█ beats 1/8 | 0.6% |
| SciCode (level unspecified) | 20.5% ✎ | █·····██████ beats 2/6 | 0.6% |
| LiveCodeBench Pro 2025Q2 (Medium) | 0.0% ✎ | █···▂··▄▂··▂ beats 1/8 | 0.6% |
| SWE-bench Pro (split unspecified) | 0.0% ✎ | █▂···▂···▄·▂ beats 2/8 | 0.4% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #367 of 393 · 1.8% of its score · 2 tests
Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| IFEval (aggregation unspecified) +2 | 31.4% ✎ | ▄▄····▄··███ beats 0/8 | 0.9% |
| IFEval lab | 94.6% ✎ | ▄··▄··█···▄▄ beats 1/5 | 0.9% |
math▁▂▃▅▆▅▄█▄▁▁▁ #277 of 398 · 25% of its score · 6 tests
Beats Molmo 2 8B, DeepSeek-Coder-V2 Instruct (0724), Llama 3.1 Nemotron 70B Instruct here, though they rank higher overall. Trails DeepSeek R1 Distill Qwen 1.5B, Granite 8B Code Base (4K), Mixtral 8x7B v0.1 (base) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HMMT February 2026 +1 | 17.8% ✎ | ▅··▃▃·▃··▃·█ beats 0/8 | 7.9% |
| AIME 2025 +1 | 31.7% ✎ | █▄▄▄▄····█·▄ beats 1/8 | 4.9% |
| AIME 2026 +1 | 39.8% ✎ | ▄·▄█·▄▄···█▄ beats 1/8 | 4.8% |
| MATH-500 | 85.4% ✎ | ██▄▄▄··▄···▄ beats 0/8 | 2.9% |
| IMO-AnswerBench | 22.6% ✎ | ▄▄···▄·▄··█▄ beats 0/6 | 2.3% |
| MATH-Vision lab | 52.4% ✎ | ██·█·····███ beats 1/5 | 1.8% |
vision & documents▁▁▃▂▁▃▄▂▆▇█▄ #132 of 147 · 12% of its score · 13 tests
Trails Qwen3-VL 2B Instruct, Ministral 3 3B, Qwen2-VL 7B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| InfographicVQA lab | 63.9% ✎ | ▄█·······█·▄ beats 0/5 | 2.3% |
| MMMU Pro lab | 44.2% ✎ | ██·█····█·██ beats 0/5 | 1.9% |
| MATH-Vision lab | 52.4% ✎ | ██·█·····███ beats 1/5 | 1.8% |
| CharXiv descriptive questions | 75.1% ✎ | █·▄·······▄█ beats 3/5 | 1.7% |
| MMStar | 52.9% ✎ | ▄▄▄█·······▄ beats 3/5 | 1.3% |
| OmniDocBench 1.5 ↓ lab | 29.0% ✎ | █·█·····████ beats 1/5 | 0.7% |
| MMBench-EN dev v1.1 | 69.3% ✎ | █·····▃··▃·▃ beats 2/5 | 0.7% |
| HallusionBench | 59.8% ✎ | ▄▄·▄·····█·▄ beats 1/5 | 0.6% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| RealWorldQA | 50.7% ✎ | ▄···█··▄▄··▄ beats 0/5 | 0.3% |
| CountBench | 53.4% ✎ | ▄··▄··█··▄·▄ beats 0/5 | 0.3% |
| OCRBench | 71.9% ✎ | █··███·█···█ beats 1/5 | 0.2% |
| AI2D test | 71.2% ✎ | █···▄▄···▄·▄ beats 0/5 | 0.1% |
| ChartQA | 42.2% ✎ | ▄······▄··██ beats 0/5 | 0.1% |
web search█·█▄██·▄▄·▄▄ #12 of 13 * · 1.0% of its score · 2 tests
Beats Nemotron 3 Nano 4B here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp-ZH | 4.7% ✎ | ▄▄·▄▄▄·█···█ beats 1/8 | 0.7% |
| BrowseComp | 3.7% ✎ | ▅···█·▃···▃▃ beats 1/7 | 0.3% |
other tests21 not in a task · 39% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro +2 | 56.0% ✎ | ▃··▂█·▂▂···▂ beats 0/8 | 6.6% |
| EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy | 69.7% ✎ | ▂·▃▂·▂·▃▃·█▃ beats 1/14 | 3.2% |
| GPQA Diamond lab | 43.4% ✎ | █···▄·····▄█ beats 1/5 | 3.2% |
| MMMLU lab | 67.4% ✎ | ██··█···█·██ beats 0/5 | 2.6% |
| IFBench (aggregation unspecified) +2 | 25.7% ✎ | ▅····▃▃·█·▃▃ beats 0/8 | 2.4% |
| MMLU-Redux | 71.8% ✎ | ▃···█··▂▂··▂ beats 0/8 | 2.1% |
| GPQA (subset unspecified) | 43.8% ✎ | █···▃···▅·▃▃ beats 0/7 | 1.9% |
| MMLU | 69.2% ✎ | ▄·····▄▄··▄█ beats 5/5 | 1.6% |
13 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| IFBench lab | 38.0% ✎ | ▄▄·▄······▄█ beats 1/5 | 1.6% |
| Multi-IF (aggregation unspecified) +2 | 40.3% ✎ | ▄▄···▄·▄·▄██ beats 0/8 | 1.6% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 32.7% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 37/97 | 1.5% |
| EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy | 53.6% ✎ | ▂··▃▂·▂▆▆█·▄ beats 1/15 | 1.4% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 50.5% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 34/81 | 1.4% |
| MedXPertQA MM lab | 23.5% ✎ | ▂···▃·▃··▆▂█ beats 1/13 | 1.3% |
| Humanity's Last Exam | 2.5% ✎ | ▄▄·▄··▄·▄·▄█ beats 1/7 | 1.2% |
| MRCR v2 8-needle, 128k lab | 19.1% ✎ | ▄▄·▄···█···▄ beats 1/5 | 1.2% |
| Big Bench Extra Hard micro avg lab | 21.9% ✎ | █··▄···▄·▄·▄ beats 1/5 | 1.1% |
| SuperGPQA | 30.3% ✎ | ▃·▃·▃▅█····▃ beats 1/8 | 1.0% |
| OJBench | 11.6% ✎ | ▃····▃▅··█▃▃ beats 3/8 | 0.9% |
| Claw-Eval average score | 53.1% ✎ | ▄·▄··█▄▄▄▄▄▄ beats 0/9 | 0.7% |
| LongBench v2 | 33.2% ✎ | ▃······▅▅▃·█ beats 4/8 | 0.6% |
$ where to run it
Through an API
api · Amazon Bedrock · $0.050/M · $0.04 in / $0.08 out per 1M tokens · 131k context · docs.aws.amazon.com ↗ · price sourceUSD per 1M tokens, Amazon Bedrock on-demand Gemma 4 E2B, US East (N. Virginia)/Ohio and US West (Oregon); Frankfurt and other regions priced higher. Currency: USD. Amazon Bedrock official pricing page, observed 2026-09-25.
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Gemma 4 E2B · needs ~3.4 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/gemma-4-E2B-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/gemma-4-E2B-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 4 E2B · needs ~3.4 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/gemma-4-E2B-it-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Gemma 4 E2B · needs ~3.56 GB · from ollama.comchat in the terminal
ollama run gemma4:e2b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Gemma 4 E2B · needs ~4.3 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/gemma-4-E2B-it-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/gemma-4-E2B-it-MLX-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · Gemma Team — Gemma 4 Technica… 30%, openbmb/MiniCPM5-2B model card 29%, XHToken/Spark-X2.5-4B model c… 14% and 9 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 19 | 30% | |
| 20 | 29% | |
| 11 | 14% | |
| 13 | 10% | |
| 7 | 7% | |
| 2 | 5% | |
| 1 | 2% | |
| 1 | 1% | |
| 1 | 1% | |
| 1 | 1% | |
| 1 | 0% | |
| 1 | 0% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 46.7 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json