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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of Gemma 4 E2B, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 539 | 47±2 | local | |||
| 540 | 47±1 | never released | |||
| 541 | 47±1 | api $0.050/M +local | |||
| 542 | 47±1 | local | |||
| 543 | 47±1 | local | |||
| more from Google | |||||
| 3 | 84±1 | api $4.00/M | |||
| 9 | 81±1 | api $4.00/M | |||
| 14 | 79±2 | api $3.00/M | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #293 of 319 · 14% 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 | 3.1% |
| Tau2 – airline lab | 31.0% ✎ | ▃·▃··▃·····█ beats 0/5 | 1.9% |
| τ²-bench Telecom lab +1 | 19.7% ✎ | ▄····█··▄·▄▄ beats 2/5 | 1.3% |
| MCP-Atlas (public set) | 12.6% ✎ | ▃·▁▂▂·▁▃█▆▆▃ beats 0/41 | 1.1% |
| ContractBench success rate (33 observation-contract tool tasks) | 7.1% ✎ | ▆··▆▄▂▄▂▆▆█▄ beats 2/23 | 1.1% |
| τ²-bench aggregate lab | 24.5% ✎ | ▄·▄··▄····█▄ beats 1/5 | 1.1% |
| τ³-bench Banking +1 | 3.9% ✎ | ▂▂·▅█▂▃▃▃▆▂▆ beats 3/25 | 0.9% |
| Terminal-Bench Hard lab | 3.0% ✎ | ██··█·█·█··█ beats 0/5 | 0.8% |
7 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified | 2.0% ✎ | ▄··▄▄█··▄·▄█ beats 1/8 | 0.6% |
| BrowseComp-ZH | 4.7% ✎ | ▄▄·▄▄▄·█···█ beats 1/8 | 0.6% |
| Tau2 – retail lab | 34.6% ✎ | ▄····▄··▄·▄█ beats 1/5 | 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▁▁▁▃▆▇█▆▆▃▃▁ #364 of 474 · 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 Code Tulu 2 13B, Phi-3-mini-128k-instruct (Apr 2024), 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.9% |
| LiveCodeBench Pro 2025Q2 (Easy) | 27.1% ✎ | ▄···█▄··▄█▄▄ beats 1/8 | 1.6% |
| LiveCodeBench v6 (Feb–May 2025) lab | 44.0% ✎ | ▄··▄·▄···▄·█ beats 1/5 | 1.0% |
| SciCode lab | 21.0% ✎ | █▄·······▄▄▄ beats 1/5 | 1.0% |
| SciCode (level unspecified) | 20.5% ✎ | █·····██████ beats 2/6 | 0.7% |
| SWE-bench Verified | 2.0% ✎ | ▄··▄▄█··▄·▄█ beats 1/8 | 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▁▁▁▃▅▄▆█▇▇▇▃ #378 of 405 · 1.7% of its score · 2 tests
Beats Code Llama 70B Instruct here, though they rank higher overall. 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 | 1.0% |
| IFEval lab | 94.6% ✎ | ▄··▄··█···▄▄ beats 1/5 | 0.8% |
math▁▁▃▅█▆▅█▄▁▁▁ #307 of 440 · 24% of its score · 6 tests
Beats Molmo 2 8B, DeepSeek-Coder-V2 Instruct (0724), GPT-4 (0613) here, though they rank higher overall. Trails DeepSeek R1 Distill Qwen 1.5B, Gemma 7B (base), Mistral 7B 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.8% |
| AIME 2025 +1 | 31.7% ✎ | █▄▄▄▄····█·▄ beats 1/8 | 5.2% |
| AIME 2026 +1 | 39.8% ✎ | ▄·▄█·▄▄···█▄ beats 1/8 | 4.8% |
| MATH-500 | 85.4% ✎ | ██▄▄▄··▄···▄ beats 0/8 | 2.4% |
| IMO-AnswerBench | 22.6% ✎ | ▄▄···▄·▄··█▄ beats 0/6 | 2.2% |
| MATH-Vision lab | 52.4% ✎ | ██·█·····███ beats 1/5 | 1.7% |
vision & documents▁▁▃▂▁▃▄▂▆▇█▄ #139 of 154 · 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.1% |
| MMMU Pro lab | 44.2% ✎ | ██·█····█·██ beats 0/5 | 2.0% |
| CharXiv descriptive questions | 75.1% ✎ | █·▄·······▄█ beats 3/5 | 1.8% |
| MATH-Vision lab | 52.4% ✎ | ██·█·····███ beats 1/5 | 1.7% |
| MMStar | 52.9% ✎ | ▄▄▄█·······▄ beats 3/5 | 1.4% |
| 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.2% |
| ChartQA | 42.2% ✎ | ▄······▄··██ beats 0/5 | 0.1% |
web search▅·▅▅█·▃▃▃·▅▃ #14 of 15 * · 0.9% 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.6% |
| BrowseComp | 3.7% ✎ | ▅···█·▃···▃▃ beats 1/7 | 0.3% |
other tests21 not in a task · 40% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro +2 | 56.0% ✎ | ▃··▂█·▂▂···▂ beats 0/8 | 7.0% |
| GPQA Diamond lab | 43.4% ✎ | █···▄·····▄█ beats 1/5 | 3.1% |
| EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy | 69.7% ✎ | ▂·▃▂·▂·▃▃·█▃ beats 1/14 | 3.1% |
| MMMLU lab | 67.4% ✎ | ██··█···█·██ beats 0/5 | 2.6% |
| IFBench (aggregation unspecified) +2 | 25.7% ✎ | ▅····▃▃·█·▃▃ beats 0/8 | 2.5% |
| MMLU-Redux | 71.8% ✎ | ▃···█··▂▂··▂ beats 0/8 | 2.2% |
| GPQA (subset unspecified) | 43.8% ✎ | █···▃···▅·▃▃ beats 0/7 | 2.1% |
| MMLU | 69.2% ✎ | ▄·····▄▄··▄█ beats 5/5 | 1.9% |
13 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BRIDGE clinical text, zero-shot average (87 tasks) | 32.7% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 37/97 | 1.9% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 50.5% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 34/81 | 1.7% |
| Multi-IF (aggregation unspecified) +2 | 40.3% ✎ | ▄▄···▄·▄·▄██ beats 0/8 | 1.6% |
| IFBench lab | 38.0% ✎ | ▄▄·▄······▄█ beats 1/5 | 1.4% |
| EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy | 53.6% ✎ | ▂··▃▂·▂▆▆█·▄ beats 1/15 | 1.4% |
| Humanity's Last Exam | 2.5% ✎ | ▄▄·▄··▄·▄·▄█ beats 1/7 | 1.3% |
| MedXPertQA MM lab | 23.5% ✎ | ▂···▃·▃··▆▂█ beats 1/13 | 1.3% |
| MRCR v2 8-needle, 128k lab | 19.1% ✎ | ▄▄·▄···█···▄ beats 1/5 | 1.1% |
| SuperGPQA | 30.3% ✎ | ▃·▃·▃▅█····▃ beats 1/8 | 1.0% |
| Big Bench Extra Hard micro avg lab | 21.9% ✎ | █··▄···▄·▄·▄ beats 1/5 | 1.0% |
| OJBench | 11.6% ✎ | ▃····▃▅··█▃▃ beats 3/8 | 0.9% |
| Claw-Eval average score | 53.1% ✎ | ▄·▄··█▄▄▄▄▄▄ beats 0/9 | 0.8% |
| 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.
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 5.5 GB memory, 4.41 GB download · 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 5.5 GB memory, 4.41 GB download · 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 5.7 GB memory, 4.59 GB download · 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 5.4 GB memory, 4.34 GB download, 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
Model repository and documentation: huggingface.co/google ↗
$ how the score was worked out · openbmb/MiniCPM5-2B model card 29%, Gemma Team — Gemma 4 Technica… 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 |
|---|---|---|
| 20 | 29% | |
| 19 | 29% | |
| 11 | 14% | |
| 13 | 11% | |
| 7 | 7% | |
| 2 | 4% | |
| 1 | 2% | |
| 1 | 2% | |
| 1 | 1% | |
| 1 | 1% | |
| 1 | 0% | |
| 1 | 0% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 46.8 |
$ 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