whatmodel.sh / Gemma 2 9B IT
Gemma 2 9B IT
↗ share
+ contribute
Gemma 2 9B IT is an open-weights language model from Google, released June 2024. Its published size is 9.24B parameters and a 8k-token context window. Licence: gemma.
Catalogue identity notes
Comparison model from the Epoch AI internal-evaluation CSVs (Epoch release date 2024-06-24). Instruction-tuned checkpoint google/gemma-2-9b-it (not the PT base; distinct from Gemma 3). 9,241,705,984 parameters (safetensors metadata). ollama gemma2:9b = 9b-instruct-q4_0 (same digest).
$ how it compares
The LLMs ranked either side of Gemma 2 9B IT, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 468 | 48±2 | local | |||
| 469 | 47±1 | local | |||
| 470 | 47±1 | local | |||
| 471 | 47±1 | api $4.38/M +local | |||
| 472 | 47±2 | 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▁▁▁▃▆██▇▆▄▃▁ #262 of 458 · 7.8% of its score · 5 tests
Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), GLM-4.7-Flash here, though they rank higher overall. Trails DeepSeek LLM 67B Chat, QwQ-32B-Preview, Phi-3 Medium 128K Instruct here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| CRUXEval (ZeroEval, 800 problems) | 46.0% ✎ | ▁▂▆▃▆█▆▃▂·▁▁ beats 11/47 | 6.2% |
| CodeReviewQA: change localisation (hard), invariant accuracy | 52.0% ✎ | █▂▁▁▂▂▂▃▅▅▅▇ beats 36/47 | 0.6% |
| CodeReviewQA: solution identification (hard), invariant accuracy | 49.6% ✎ | ▃··▁▂▂▃▂█▃▄▂ beats 25/47 | 0.6% |
| CodeReviewQA: automated code refinement, exact match rate | 39.0% ✎ | ▁▁▁▁▁▁▂▂▃█▅▄ beats 38/47 | 0.4% |
| CodeReviewQA: change type recognition, invariant accuracy | 74.1% ✎ | ▁▁▁······▁▃█ beats 29/47 | 0.0% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #257 of 393 · 8.5% of its score · 6 tests
Beats Ministral 3 14B Reasoning 2512, Ministral 3 14B, OpenThinker2 32B here, though they rank higher overall. Trails Flan-T5 XXL, Granite 4.0 H 1B, Granite 4.0 1B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1204.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 82/95 | 2.1% |
| LMArena (text) | 1267.0 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 101/379 | 2.1% |
| Arabic IFEval prompt-level (Inception) | 51.5% ✎ | ▁·▁▁▂▁▄▄▆▄█▄ beats 28/38 | 1.8% |
| AlpacaEval 2 length-controlled | 43.7% ✎ | ▃▃·▁▁█▇▅·▁·▁ beats 17/22 | 1.4% |
| Arena-Hard (version/judge unspecified) | 43.2% ✎ | ▃▃▂▅▃▆▅█▅▅▂▃ beats 5/30 | 0.8% |
| IFEval prompt-level loose | 69.9% ✎ | ▁▃▁▃▁▄▁▁█▃▃▁ beats 7/22 | 0.4% |
math▁▂▃▅▆▅▄█▄▁▁▁ #322 of 398 · 21% of its score · 8 tests
Beats Athene-70B here, though they rank higher overall. Trails Gemma 7B (base), DeepSeek R1 Distill Qwen 1.5B, Tulu 2 DPO 13B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GSM8K +2 | 79.7% ✎ | ▂▃··▃▂▅█▆▃▂▃ beats 6/22 | 5.6% |
| MATH level 5 | 21.0% ✎ | ▂▂▅▆▄█▆▃▅▂▃▄ beats 17/92 | 3.6% |
| GSM8K (ZeroEval, zero-shot) | 87.4% ✎ | ▁▄·▁▄█▅▅▅███ beats 20/43 | 3.2% |
| MATH Level 5 (ZeroEval, 721 problems) | 19.4% ✎ | ▁▁▁▆█▂▇▇▄··▂ beats 7/38 | 2.5% |
| MGSM | 75.1% ✎ | ▅▃▃█·▅···▃·▃ beats 9/10 | 2.3% |
| MATH (subset unspecified) +1 | 29.8% ✎ | ▃▃█▂▂▆·····▁ beats 3/22 | 2.0% |
| MATH | 51.3% ✎ | █▄██···▄▄▄·▄ beats 6/10 | 1.5% |
| OTIS mock AIME 2024–2025 | 0.6% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 4/193 | 0.4% |
other tests29 not in a task · 63% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Redux (ZeroEval, 2,778 questions) | 72.8% ✎ | ▁·▁▁▄▄▄▅█▄▂▁ beats 18/53 | 10% |
| LiveBench 2024-07-26 | 31.3% ✎ | ▁▁▁▂▂▃▂█▆▃▅▃ beats 31/61 | 8.5% |
| MMLU +2 | 69.1% ✎ | ▁▂·▁·▁▁█·▃▃▅ beats 9/22 | 7.2% |
| BIG-Bench Hard +1 | 64.9% ✎ | ▁▄·▁▁·▅█·▄▄▁ beats 7/22 | 5.9% |
| ARC Challenge | 89.8% ✎ | ▂▂▂█▂···▄··▂ beats 8/10 | 3.8% |
| ZebraLogic (ZeroEval, 1,000 puzzles) | 12.8% ✎ | ▁▁▃▆██▁▁·▁▁▁ beats 16/57 | 2.4% |
| WildBench v2 WB-Score (task macro) | 42.6962 WB-Score ✎ | ▁·▁▁·▃█▄▇▆▅▆ beats 31/52 | 2.4% |
| OpenBookQA | 90.0% ✎ | ▂··▄█▂·▂···▄ beats 10/10 | 2.4% |
21 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro | 50.1% ✎ | █▄▄·█▄▄▄·▄·▄ beats 7/10 | 2.0% |
| GPQA Diamond | 27.5% ✎ | ▁▁▃▁▂▄▆▄▅▇█▅ beats 11/208 | 1.9% |
| GPQA (subset unspecified) +1 | 39.1% ✎ | █··▄▂··▂▂··▄ beats 9/10 | 1.8% |
| Multilingual MMLU (Microsoft) | 63.8% ✎ | █▄▄██··█···▄ beats 8/10 | 1.7% |
| EvalPerf correctness (118 tasks, 20240328) | 68.1% ✎ | ▂·▂▂▂▆▅▆▆▆▃█ beats 4/29 | 1.5% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 975.3 ✎ | ▁·▃▁▄▅▅▃█▄▁▁ beats 1/62 | 1.3% |
| WinoGrande | 74.0% ✎ | ▃····▃▃█▃·▅▅ beats 9/10 | 1.2% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 35.1% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 44/97 | 1.0% |
| HellaSwag | 87.1% ✎ | ▃▅█·▃▃▃···▃▃ beats 9/10 | 1.0% |
| BoolQ | 85.7% ✎ | ▃··▃··██▃·▃▃ beats 9/10 | 1.0% |
| Social IQA | 74.7% ✎ | ▃·▃▅▅█·▃···▃ beats 5/10 | 0.9% |
| Open Persian LLM Leaderboard v2 average (21 tasks) | 60.6% ✎ | ▂▄▂▃█▄▃▆▃▅▂▂ beats 53/81 | 0.9% |
| TruthfulQA MC2 +1 | 61.4% ✎ | ▃▃▂·▃▃·▅█▂▅▂ beats 9/21 | 0.7% |
| PopQA | 28.3% ✎ | ▁▁▁▃▃▃▁█▁▃·▄ beats 10/21 | 0.5% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 74.3% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 216/276 | 0.5% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 43.9% ✎ | ▂···▂▂·▃▂▃██ beats 3/17 | 0.5% |
| CMMLU | 60.3% ✎ | ▅·▅····█▃▅█▅ beats 2/14 | 0.4% |
| EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy | 78.3% ✎ | ▃·▁▁▂▁▂▅█▇▄▁ beats 67/100 | 0.4% |
| PIQA | 83.7% ✎ | ▃·▅·▃█·▃▅··▃ beats 9/10 | 0.3% |
| EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy | 84.3% ✎ | ▁▁▁▁▁▁▁▂▄█▄▃ beats 94/146 | 0.3% |
| Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate) | 89.9% ✎ | ▁▁▂▃▄▄█▆▃▂▂▁ beats 24/140 | 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 2 9B IT · needs ~5.8 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/gemma-2-9b-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/gemma-2-9b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Gemma 2 9B IT · needs ~5.8 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/gemma-2-9b-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 2 9B IT · needs ~6.04 GB · from ollama.comchat in the terminal
ollama run gemma2:9b
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run Gemma 2 9B IT · needs ~5.2 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/gemma-2-9b-it-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/gemma-2-9b-it-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · microsoft/Phi-4-mini-instruct… 28%, WildEval ZeroEval published r… 24%, 2 OLMo 2 Furious (Team OLMo,… 11% and 17 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