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.8±0.6#447 of 743 LLMsfrom 78 benchmark results across 12 sources

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.

#modelscorewhereRAMreleased
539Qwen2.5-Math 1.5B Instruct Alibaba47±2local~1.7GB2024-09
540Flan-cont-PaLM 62B Google47±1never released2022-10
541Gemma 4 E2B Google47±1api $0.050/M +local~5.4GB2026-04
542EXAONE 4.0 1.2B LG AI Research47±1local~2.3GB2025-07
543StarCoder2-15B-Instruct-v0.1 BigCode47±1local~11GB2024-04
more from Google
3Gemini 4 Carbon Google84±1api $4.00/M2026-10
9Gemini 4 Argon Google81±1api $4.00/M2026-09
14Gemini 4 Hydrogen Google79±2api $3.00/M2026-11

see all LLMs · find the ones that fit your machine

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

testresultvs the others in its rundifficultycountswhy
BFCL V4 (December 2025 archive) +236.6% ✎▄·█·▄▄▄▄·▄·▄ beats 0/8medium · avg 44%▇ 3.1%at its level · several runs
Tau2 – airline lab31.0% ✎▃·▃··▃·····█ beats 0/5medium · avg 42%▇ 1.9%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/41hard · avg 22%▇ 1.1%typical
ContractBench success rate (33 observation-contract tool tasks)7.1% ✎▆··▆▄▂▄▂▆▆█▄ beats 2/23very hard · avg 14%▇ 1.1%sharp
τ²-bench aggregate lab24.5% ✎▄·▄··▄····█▄ beats 1/5hard · avg 35%▇ 1.1%at its level
τ³-bench Banking +13.9% ✎▂▂·▅█▂▃▃▃▆▂▆ beats 3/25very hard · avg 4.1%▇ 0.9%blunt · too hard for it · several runs
Terminal-Bench Hard lab3.0% ✎██··█·█·█··█ beats 0/5very hard · avg 4.8%▇ 0.8%sharp · too hard for it
7 more tests
testresultvs the others in its rundifficultycountswhy
SWE-bench Verified2.0% ✎▄··▄▄█··▄·▄█ beats 1/8very hard · avg 11%▇ 0.6%sharp · too hard for it · noisy
BrowseComp-ZH4.7% ✎▄▄·▄▄▄·█···█ beats 1/8very hard · avg 13%▇ 0.6%noisy
Tau2 – retail lab34.6% ✎▄····▄··▄·▄█ beats 1/5medium · avg 41%▇ 0.6%at its level · noisy
τ³-bench8.8% ✎▃·▃·█·▃··▃·▃ beats 2/7very hard · avg 13%▇ 0.4%typical
SWE-bench Pro (split unspecified)0.0% ✎█▂···▂···▄·▂ beats 2/8very hard · avg 4.0%▇ 0.4%sharp · too hard for it · noisy
BrowseComp3.7% ✎▅···█·▃···▃▃ beats 1/7very hard · avg 11%▇ 0.3%noisy
T1-Bench multi-domain conversational agent pass^328.4% ✎▂▂··▂·▂·▃▂█▄ beats 4/11hard · avg 25%▇ 0.0%blunt · noisy
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.

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

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

testresultvs the others in its rundifficultycountswhy
HMMT February 2026 +117.8% ✎▅··▃▃·▃··▃·█ beats 0/8hard · avg 33%▇▇▇ 7.8%sharp · several runs
AIME 2025 +131.7% ✎█▄▄▄▄····█·▄ beats 1/8medium · avg 43%▇▇ 5.2%sharp · at its level · several runs
AIME 2026 +139.8% ✎▄·▄█·▄▄···█▄ beats 1/8medium · avg 49%▇▇ 4.8%sharp · at its level · several runs
MATH-50085.4% ✎██▄▄▄··▄···▄ beats 0/8very easy · avg 89%▇ 2.4%typical
IMO-AnswerBench22.6% ✎▄▄···▄·▄··█▄ beats 0/6hard · avg 33%▇ 2.2%at its level
MATH-Vision lab52.4% ✎██·█·····███ beats 1/5medium · avg 54%▇ 1.7%at its level
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.

testresultvs the others in its rundifficultycountswhy
InfographicVQA lab63.9% ✎▄█·······█·▄ beats 0/5easy · avg 71%▇ 2.1%at its level
MMMU Pro lab44.2% ✎██·█····█·██ beats 0/5medium · avg 49%▇ 2.0%at its level
CharXiv descriptive questions75.1% ✎█·▄·······▄█ beats 3/5easy · avg 78%▇ 1.8%at its level
MATH-Vision lab52.4% ✎██·█·····███ beats 1/5medium · avg 54%▇ 1.7%at its level
MMStar52.9% ✎▄▄▄█·······▄ beats 3/5medium · avg 61%▇ 1.4%at its level
OmniDocBench 1.5 ↓ lab29.0% ✎█·█·····████ beats 1/5avg 30%▇ 0.7%blunt
MMBench-EN dev v1.169.3% ✎█·····▃··▃·▃ beats 2/5easy · avg 79%▇ 0.7%blunt
HallusionBench59.8% ✎▄▄·▄·····█·▄ beats 1/5easy · avg 66%▇ 0.6%blunt · at its level
5 more tests
testresultvs the others in its rundifficultycountswhy
RealWorldQA50.7% ✎▄···█··▄▄··▄ beats 0/5easy · avg 68%▇ 0.3%blunt · at its level
CountBench53.4% ✎▄··▄··█··▄·▄ beats 0/5easy · avg 84%▇ 0.3%noisy
OCRBench71.9% ✎█··███·█···█ beats 1/5easy · avg 81%▇ 0.2%blunt
AI2D test71.2% ✎█···▄▄···▄·▄ beats 0/5easy · avg 82%▇ 0.2%blunt · at its level
ChartQA42.2% ✎▄······▄··██ beats 0/5easy · avg 79%▇ 0.1%blunt · noisy
web search▅·▅▅█·▃▃▃·▅▃ #14 of 15 * · 0.9% 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.6%noisy
BrowseComp3.7% ✎▅···█·▃···▃▃ beats 1/7very hard · avg 11%▇ 0.3%noisy
other tests21 not in a task · 40% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Pro +256.0% ✎▃··▂█·▂▂···▂ beats 0/8medium · avg 61%▇▇▇ 7.0%at its level · several runs
GPQA Diamond lab43.4% ✎█···▄·····▄█ beats 1/5hard · avg 46%▇ 3.1%sharp
EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy69.7% ✎▂·▃▂·▂·▃▃·█▃ beats 1/14easy · avg 80%▇ 3.1%at its level
MMMLU lab67.4% ✎██··█···█·██ beats 0/5medium · avg 69%▇ 2.6%at its level
IFBench (aggregation unspecified) +225.7% ✎▅····▃▃·█·▃▃ beats 0/8medium · avg 39%▇ 2.5%at its level · several runs
MMLU-Redux71.8% ✎▃···█··▂▂··▂ beats 0/8easy · avg 77%▇ 2.2%at its level
GPQA (subset unspecified)43.8% ✎█···▃···▅·▃▃ beats 0/7hard · avg 45%▇ 2.1%sharp
MMLU69.2% ✎▄·····▄▄··▄█ beats 5/5medium · avg 69%▇ 1.9%at its level
13 more tests
testresultvs the others in its rundifficultycountswhy
BRIDGE clinical text, zero-shot average (87 tasks)32.7% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 37/97hard · avg 32%▇ 1.9%blunt · at its level
Open Persian LLM Leaderboard v2 average (21 tasks)50.5% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 34/81medium · avg 57%▇ 1.7%blunt · at its level
Multi-IF (aggregation unspecified) +240.3% ✎▄▄···▄·▄·▄██ beats 0/8medium · avg 58%▇ 1.6%at its level · several runs
IFBench lab38.0% ✎▄▄·▄······▄█ beats 1/5medium · avg 41%▇ 1.4%at its level
EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy53.6% ✎▂··▃▂·▂▆▆█·▄ beats 1/15medium · avg 64%▇ 1.4%at its level
Humanity's Last Exam2.5% ✎▄▄·▄··▄·▄·▄█ beats 1/7very hard · avg 3.9%▇ 1.3%too hard for it
MedXPertQA MM lab23.5% ✎▂···▃·▃··▆▂█ beats 1/13very hard · avg 30%▇ 1.3%sharp
MRCR v2 8-needle, 128k lab19.1% ✎▄▄·▄···█···▄ beats 1/5hard · avg 22%▇ 1.1%typical
SuperGPQA30.3% ✎▃·▃·▃▅█····▃ beats 1/8hard · avg 32%▇ 1.0%at its level
Big Bench Extra Hard micro avg lab21.9% ✎█··▄···▄·▄·▄ beats 1/5hard · avg 28%▇ 1.0%typical
OJBench11.6% ✎▃····▃▅··█▃▃ beats 3/8very hard · avg 12%▇ 0.9%typical
Claw-Eval average score53.1% ✎▄·▄··█▄▄▄▄▄▄ beats 0/9medium · avg 54%▇ 0.8%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.

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

  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 5.5 GB memory, 4.41 GB download · 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 5.5 GB memory, 4.41 GB download · 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 5.7 GB memory, 4.59 GB download · 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 5.4 GB memory, 4.34 GB download, 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

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

$ 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