whatmodel.sh / Gemma 3n E4B
Gemma 3n E4B
↗ share
+ contribute
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.
$ how it compares
The LLMs ranked either side of Gemma 3n E4B, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 458 | 48±0 | comparison only | |||
| 459 | 48±2 | comparison only | |||
| 460 | 48±1 | local | |||
| 461 | 48±2 | local | |||
| 462 | 48±1 | 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
coding█··········█ #1 of 2 · 24% of its score · 3 tests
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #202 of 393 * · 18% of its score · 1 test
Beats Granite 4.2 8B, Qwen3-VL 30B-A3B Thinking, Mistral Small 4 (119B-A6.5B) here, though they rank higher overall. Trails LFM2.5 1.2B Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1317.4 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 147/379 | 18% |
math█··········█ #1 of 2 * · 22% of its score · 2 tests
other tests8 not in a task · 34% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU lab | 64.9% ✎ | ▁▁▁▁▁▂▃▅█▃▆▃ beats 85/183 | 8.7% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 55.0% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 40/81 | 8.0% |
| MMLU-Pro lab | 50.6% ✎ | ▁▁·▁▁▁▃▃▄▅█▁ beats 51/188 | 7.7% |
| Global-MMLU lab | 60.3% ✎ | ▃▅▃·▃···▅·▅█ beats 1/11 | 4.5% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 71.3% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 54/100 | 3.3% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 80.2% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 66/146 | 2.3% |
| Codegolf v2.2 lab | 16.8% ✎ | █··········█ beats 1/1 | — |
| GPQA Diamond (Google RelaxedAccuracy/accuracy) lab | 23.7% ✎ | ······█····· beats 0/1 | — |
$ where to run it
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 3n E4B · needs ~4.5 GB · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/gemma-3n-E4B-it-GGUF:Q4_K_M - 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
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 3n E4B · needs ~4.5 GB · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/gemma-3n-E4B-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 3n E4B · needs ~5.21 GB · from ollama.comchat in the terminal
ollama run gemma3n:e4b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Gemma 3n E4B · needs ~5.8 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/gemma-3n-E4B-it-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/gemma-3n-E4B-it-MLX-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · Google DeepMind Gemma 3n E2B… 67%, LMArena leaderboard dataset 18%, Open Persian LLM Leaderboard… 8% 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
| source | results | share of the score |
|---|---|---|
| 8 | 67% | |
| 1 | 18% | |
| 1 | 8% | |
| 2 | 6% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 47.7 |
not counted (2)
| Google DeepMind Gemma 3n E2B IT model card | Codegolf 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 card | GPQA 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