whatmodel.sh / Gemma 4 E2B

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.

46.7±0.6#404 of 719 LLMsfrom 78 benchmark results across 12 sources

$ how it compares

The LLMs ranked either side of Gemma 4 E2B, out of 828 with a score, then more from Google.

#modelscorewhereRAMreleased
479InternVL2-26B Shanghai AI Laboratory (OpenGVLab)47±2local~55GB2024-07
480speechless-coder-ds-6.7b uukuguy47±1local~5.8GB2023-12
481Gemma 4 E2B Google47±1api $0.050/M +local~5.1GB2026-04
482Magicoder-S-CL-7B UIUC (ise-uiuc)47±1local~5.8GB2023-12
483Aya Expanse 8B Cohere47±2local~6.2GB2024-10
more from Google
9Gemini 4 Argon (limited preview) Google82±1limited preview2026-09
23Gemini 3.8 Flash Google77±1api $1.50/M2026-09
32Gemini 3.7 Flash Google76±1api $1.50/M2026-08

see all LLMs · find the ones that fit your machine

$ 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.

testresultvs the others in its rundifficultycountswhy
BFCL V4 (December 2025 archive) +236.6% ✎▄·█·▄▄▄▄·▄·▄ beats 0/8medium · avg 43%▇ 2.8%at its level · several runs
Tau2 – airline lab31.0% ✎▃·▃··▃·····█ beats 0/5medium · avg 42%▇ 2.0%at its level
τ²-bench aggregate lab24.5% ✎▄·▄··▄····█▄ beats 1/5hard · avg 32%▇ 1.4%at its level
τ²-bench Telecom lab +119.7% ✎▄····█··▄·▄▄ beats 2/5very hard · avg 14%▇ 1.3%sharp · noisy · several runs
MCP-Atlas (public set)12.6% ✎▃·▁▂▁·▁▃█▆▆▂ beats 0/37hard · avg 21%▇ 1.2%typical
ContractBench success rate (33 observation-contract tool tasks)7.1% ✎▆··▆▄▂▄▂▆▆█▄ beats 2/23very hard · avg 14%▇ 1.1%sharp
τ³-bench Banking +13.9% ✎▂▂·▅█▂▂▃▂▅▂▃ beats 3/20very hard · avg 4.0%▇ 1.0%blunt · too hard for it · several runs
Terminal-Bench Hard lab3.0% ✎██··█·█·█··█ beats 0/5very hard · avg 4.7%▇ 0.8%sharp · too hard for it
7 more tests
testresultvs the others in its rundifficultycountswhy
BrowseComp-ZH4.7% ✎▄▄·▄▄▄·█···█ beats 1/8very hard · avg 13%▇ 0.7%typical
Tau2 – retail lab34.6% ✎▄····▄··▄·▄█ beats 1/5medium · avg 40%▇ 0.7%sharp · at its level · noisy
SWE-bench Verified2.0% ✎▄··▄▄█··▄·▄█ beats 1/8very hard · avg 12%▇ 0.6%sharp · noisy
τ³-bench8.8% ✎▃·▃·█·▃··▃·▃ beats 2/7very hard · avg 14%▇ 0.4%blunt
SWE-bench Pro (split unspecified)0.0% ✎█▂···▂···▄·▂ beats 2/8very hard · avg 4.3%▇ 0.4%sharp · too hard for it · noisy
BrowseComp3.7% ✎▅···█·▃···▃▃ beats 1/7very hard · avg 10%▇ 0.3%noisy
T1-Bench multi-domain conversational agent pass^328.4% ✎▂▂··▂·▂·▃▂█▄ beats 4/11hard · avg 25%▇ 0.0%blunt · noisy
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.

testresultvs the others in its rundifficultycountswhy
LiveCodeBench v6 (window unspecified) +142.9% ✎▃····█·▃▅▃·▃ beats 3/8medium · avg 39%▇ 3.7%at its level · several runs
LiveCodeBench Pro 2025Q2 (Easy)27.1% ✎▄···█▄··▄█▄▄ beats 1/8hard · avg 33%▇ 1.7%at its level
LiveCodeBench v6 (Feb–May 2025) lab44.0% ✎▄··▄·▄···▄·█ beats 1/5medium · avg 43%▇ 1.1%at its level
SciCode lab21.0% ✎█▄·······▄▄▄ beats 1/5hard · avg 21%▇ 1.0%typical
SWE-bench Verified2.0% ✎▄··▄▄█··▄·▄█ beats 1/8very hard · avg 12%▇ 0.6%sharp · noisy
SciCode (level unspecified)20.5% ✎█·····██████ beats 2/6hard · avg 17%▇ 0.6%typical
LiveCodeBench Pro 2025Q2 (Medium)0.0% ✎█···▂··▄▂··▂ beats 1/8very hard · avg 2.0%▇ 0.6%sharp · too hard for it · noisy
SWE-bench Pro (split unspecified)0.0% ✎█▂···▂···▄·▂ beats 2/8very hard · avg 4.3%▇ 0.4%sharp · too hard for it · noisy
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.

testresultvs the others in its rundifficultycountswhy
IFEval (aggregation unspecified) +231.4% ✎▄▄····▄··███ beats 0/8easy · avg 79%▇ 0.9%several runs
IFEval lab94.6% ✎▄··▄··█···▄▄ beats 1/5very easy · avg 94%▇ 0.9%maxed out
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.

testresultvs the others in its rundifficultycountswhy
HMMT February 2026 +117.8% ✎▅··▃▃·▃··▃·█ beats 0/8hard · avg 32%▇▇▇ 7.9%sharp · several runs
AIME 2025 +131.7% ✎█▄▄▄▄····█·▄ beats 1/8medium · avg 42%▇▇ 4.9%sharp · at its level · several runs
AIME 2026 +139.8% ✎▄·▄█·▄▄···█▄ beats 1/8medium · avg 48%▇▇ 4.8%sharp · at its level · several runs
MATH-50085.4% ✎██▄▄▄··▄···▄ beats 0/8very easy · avg 89%▇ 2.9%typical
IMO-AnswerBench22.6% ✎▄▄···▄·▄··█▄ beats 0/6hard · avg 32%▇ 2.3%at its level
MATH-Vision lab52.4% ✎██·█·····███ beats 1/5medium · avg 53%▇ 1.8%at its level
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.

testresultvs the others in its rundifficultycountswhy
InfographicVQA lab63.9% ✎▄█·······█·▄ beats 0/5easy · avg 71%▇ 2.3%at its level
MMMU Pro lab44.2% ✎██·█····█·██ beats 0/5medium · avg 49%▇ 1.9%at its level
MATH-Vision lab52.4% ✎██·█·····███ beats 1/5medium · avg 53%▇ 1.8%at its level
CharXiv descriptive questions75.1% ✎█·▄·······▄█ beats 3/5easy · avg 78%▇ 1.7%at its level
MMStar52.9% ✎▄▄▄█·······▄ beats 3/5medium · avg 62%▇ 1.3%at its level
OmniDocBench 1.5 ↓ lab29.0% ✎█·█·····████ beats 1/5avg 31%▇ 0.7%blunt
MMBench-EN dev v1.169.3% ✎█·····▃··▃·▃ beats 2/5easy · avg 79%▇ 0.7%blunt
HallusionBench59.8% ✎▄▄·▄·····█·▄ beats 1/5medium · avg 65%▇ 0.6%blunt · at its level
5 more tests
testresultvs the others in its rundifficultycountswhy
RealWorldQA50.7% ✎▄···█··▄▄··▄ beats 0/5easy · avg 69%▇ 0.3%blunt · at its level
CountBench53.4% ✎▄··▄··█··▄·▄ beats 0/5very easy · avg 86%▇ 0.3%noisy
OCRBench71.9% ✎█··███·█···█ beats 1/5easy · avg 81%▇ 0.2%blunt
AI2D test71.2% ✎█···▄▄···▄·▄ beats 0/5easy · avg 82%▇ 0.1%blunt · at its level
ChartQA42.2% ✎▄······▄··██ beats 0/5easy · avg 80%▇ 0.1%blunt · noisy
web search█·█▄██·▄▄·▄▄ #12 of 13 * · 1.0% of its score · 2 tests

Beats Nemotron 3 Nano 4B here, though they rank higher overall.

testresultvs the others in its rundifficultycountswhy
BrowseComp-ZH4.7% ✎▄▄·▄▄▄·█···█ beats 1/8very hard · avg 13%▇ 0.7%typical
BrowseComp3.7% ✎▅···█·▃···▃▃ beats 1/7very hard · avg 10%▇ 0.3%noisy
other tests21 not in a task · 39% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Pro +256.0% ✎▃··▂█·▂▂···▂ beats 0/8medium · avg 61%▇▇▇ 6.6%at its level · several runs
EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy69.7% ✎▂·▃▂·▂·▃▃·█▃ beats 1/14easy · avg 80%▇ 3.2%at its level
GPQA Diamond lab43.4% ✎█···▄·····▄█ beats 1/5hard · avg 47%▇ 3.2%sharp
MMMLU lab67.4% ✎██··█···█·██ beats 0/5medium · avg 69%▇ 2.6%at its level
IFBench (aggregation unspecified) +225.7% ✎▅····▃▃·█·▃▃ beats 0/8medium · avg 39%▇ 2.4%at its level · several runs
MMLU-Redux71.8% ✎▃···█··▂▂··▂ beats 0/8easy · avg 77%▇ 2.1%at its level
GPQA (subset unspecified)43.8% ✎█···▃···▅·▃▃ beats 0/7hard · avg 45%▇ 1.9%sharp
MMLU69.2% ✎▄·····▄▄··▄█ beats 5/5medium · avg 70%▇ 1.6%at its level
13 more tests
testresultvs the others in its rundifficultycountswhy
IFBench lab38.0% ✎▄▄·▄······▄█ beats 1/5medium · avg 40%▇ 1.6%at its level
Multi-IF (aggregation unspecified) +240.3% ✎▄▄···▄·▄·▄██ beats 0/8medium · avg 58%▇ 1.6%blunt · at its level · several runs
BRIDGE clinical text, zero-shot average (87 tasks)32.7% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 37/97hard · avg 32%▇ 1.5%blunt · at its level
EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy53.6% ✎▂··▃▂·▂▆▆█·▄ beats 1/15medium · avg 63%▇ 1.4%at its level
Open Persian LLM Leaderboard v2 average (21 tasks)50.5% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 34/81medium · avg 58%▇ 1.4%blunt · at its level
MedXPertQA MM lab23.5% ✎▂···▃·▃··▆▂█ beats 1/13very hard · avg 30%▇ 1.3%sharp
Humanity's Last Exam2.5% ✎▄▄·▄··▄·▄·▄█ beats 1/7very hard · avg 3.8%▇ 1.2%too hard for it
MRCR v2 8-needle, 128k lab19.1% ✎▄▄·▄···█···▄ beats 1/5hard · avg 22%▇ 1.2%typical
Big Bench Extra Hard micro avg lab21.9% ✎█··▄···▄·▄·▄ beats 1/5hard · avg 28%▇ 1.1%typical
SuperGPQA30.3% ✎▃·▃·▃▅█····▃ beats 1/8hard · avg 32%▇ 1.0%at its level
OJBench11.6% ✎▃····▃▅··█▃▃ beats 3/8very hard · avg 12%▇ 0.9%typical
Claw-Eval average score53.1% ✎▄·▄··█▄▄▄▄▄▄ beats 0/9medium · avg 53%▇ 0.7%blunt · at its level
LongBench v233.2% ✎▃······▅▅▃·█ beats 4/8very hard · avg 32%▇ 0.6%too hard for it

$ 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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Gemma 4 E2B · needs ~3.4 GB · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/gemma-4-E2B-it-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Gemma 4 E2B · needs ~3.4 GB · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/gemma-4-E2B-it-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Gemma 4 E2B · needs ~3.56 GB · from ollama.com
    chat in the terminal
    ollama run gemma4:e2b

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Gemma 4 E2B · needs ~4.3 GB, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/gemma-4-E2B-it-MLX-4bit
  3. 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

$ 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