whatmodel.sh / Gemma 3n E4B

Gemma 3n E4B is an open-weights language model from Google, released June 2025. Its published size is 7.85B parameters (4B active per token) and a 32k-token context window. Licence: gemma.

48.8±1.3#400 of 743 LLMsfrom 12 benchmark results across 4 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Gemma 3n E4B, out of 897 with a score, then more from Google.

#modelscorewhereRAMreleased
477Claude 3 Haiku Anthropic49±0comparison only2024-03
478Qwen3-VL 2B Thinking Alibaba49±1local~3.1GB2025-10
479Gemma 3n E4B Google49±1local~5.7GB2025-06
480DeepSeek-Coder 7B Instruct v1.5 DeepSeek49±1local~5.9GB2024-01
481DeepSeek-Coder 6.7B Instruct DeepSeek49±1local~8.8GB2023-10
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

coding█··········█ #1 of 2 · 21% of its score · 3 tests
testresultvs the others in its rundifficultycountswhy
HumanEval lab75.0% ✎▁▁▁▁▂▂▆▆█▅▂▁ beats 158/205easy · avg 78%▇▇▇▇ 11%sharp · small run
MBPP lab63.6% ✎▁▁▁▄▅█▆▅▄▁▂▁ beats 59/86easy · avg 68%▇▇ 5.7%at its level · small run
LiveCodeBench v5 (window unspecified) lab25.7% ✎▃▃·····▃█··▅ beats 1/7hard · avg 32%▇▇ 4.2%at its level · small run
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #210 of 405 * · 18% of its score · 1 test

Beats Gemma 2 9B IT SimPO, Granite 4.2 8B, Mistral Small 4 (119B-A6.5B) here, though they rank higher overall. Trails LFM2.5 1.2B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1317.6 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 148/388avg 1262▇▇▇▇▇▇▇ 18%blunt
math█··········█ #1 of 2 * · 25% of its score · 2 tests
testresultvs the others in its rundifficultycountswhy
AIME 2025 lab11.6% ✎▁·▁▁▃▃▅▇█▆▃▁ beats 6/134hard · avg 18%▇▇▇▇▇ 13%sharp · small run
MGSM lab60.7% ✎▂·▁▁▁▁▁▂▅█▃▂ beats 35/42easy · avg 68%▇▇▇▇▇ 12%sharp · at its level · small run
other tests8 not in a task · 35% of its score
testresultvs the others in its rundifficultycountswhy
Open Persian LLM Leaderboard v2 average (21 tasks)55.0% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 40/81medium · avg 57%▇▇▇▇ 9.0%blunt · at its level
MMLU lab64.9% ✎▁▁▁▁▁▂▂▅██▆▄ beats 105/215medium · avg 71%▇▇▇ 8.7%at its level · small run
MMLU-Pro lab50.6% ✎▁▁·▁▁▁▃▃▄▅█▁ beats 51/189medium · avg 54%▇▇▇ 7.1%at its level · small run
Global-MMLU lab60.3% ✎▃█·▃···▅·▅█▃ beats 1/12medium · avg 64%▇▇ 4.1%at its level · small run
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy71.3% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 54/100medium · avg 67%▇▇ 3.8%sharp · at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy80.2% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 66/146easy · avg 82%▇ 2.5%at its level · noisy
Codegolf v2.2 lab16.8% ✎█··········█ beats 1/1—not counted yet: no other model in the same run to compare it with
GPQA Diamond (Google RelaxedAccuracy/accuracy) lab23.7% ✎······█····· beats 0/1—not counted yet: no other model in the same run to compare it with

$ where to run it

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 3n E4B · needs 5.7 GB memory, 4.54 GB download · from huggingface.co/unsloth
    chat in the terminal
    llama cli -hf unsloth/gemma-3n-E4B-it-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf unsloth/gemma-3n-E4B-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 3n E4B · needs 5.7 GB memory, 4.54 GB download · from huggingface.co/unsloth

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/unsloth/gemma-3n-E4B-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 3n E4B · needs 10.9 GB memory, 9.77 GB download · from ollama.com
    chat in the terminal
    ollama run gemma3n:e4b

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 3n E4B · needs 7 GB memory, 5.82 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/gemma-3n-E4B-it-MLX-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model lmstudio-community/gemma-3n-E4B-it-MLX-4bit

Model repository and documentation: huggingface.co/google ↗

$ how the score was worked out · Google DeepMind Gemma 3n E2B… 66%, LMArena leaderboard dataset 18%, Open Persian LLM Leaderboard… 9% and 1 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

sourceresultsshare of the scorelicence
Google DeepMind Gemma 3n E2B IT model card · maker-reported8CC-BY-4.0
LMArena leaderboard dataset1CC BY 4.0
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard2MIT
prior · pull toward the middle
weighted average= 48.8

not counted (2)

Google DeepMind Gemma 3n E2B IT model cardCodegolf v2.2 [correct]16.8%fewer than three models have this test yet, or this source ran it for this model alone
Google DeepMind Gemma 3n E2B IT model cardGPQA Diamond (Google RelaxedAccuracy/accuracy) [correct]23.7%fewer than three models have this test yet, or this source ran it for this model alone

$ 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