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.
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.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 477 | 49±0 | comparison only | |||
| 478 | 49±1 | local | |||
| 479 | 49±1 | local | |||
| 480 | 49±1 | local | |||
| 481 | 49±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
coding█··········█ #1 of 2 · 21% of its score · 3 tests
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.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1317.6 ✎ | ▁▁▁▂▃▂▃▆▆▇█▃ beats 148/388 | 18% |
math█··········█ #1 of 2 * · 25% of its score · 2 tests
other tests8 not in a task · 35% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Open Persian LLM Leaderboard v2 average (21 tasks) | 55.0% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 40/81 | 9.0% |
| MMLU lab | 64.9% ✎ | ▁▁▁▁▁▂▂▅██▆▄ beats 105/215 | 8.7% |
| MMLU-Pro lab | 50.6% ✎ | ▁▁·▁▁▁▃▃▄▅█▁ beats 51/189 | 7.1% |
| Global-MMLU lab | 60.3% ✎ | ▃█·▃···▅·▅█▃ beats 1/12 | 4.1% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 71.3% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 54/100 | 3.8% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 80.2% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 66/146 | 2.5% |
| Codegolf v2.2 lab | 16.8% ✎ | █··········█ beats 1/1 | — |
| GPQA Diamond (Google RelaxedAccuracy/accuracy) lab | 23.7% ✎ | ······█····· beats 0/1 | — |
$ 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
- 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 5.7 GB memory, 4.54 GB download · 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 5.7 GB memory, 4.54 GB download · 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 10.9 GB memory, 9.77 GB download · 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 7 GB memory, 5.82 GB download, 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
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
| source | results | share of the score |
|---|---|---|
| 8 | 66% | |
| 1 | 18% | |
| 1 | 9% | |
| 2 | 6% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 48.8 |
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