whatmodel.sh / Gemma 2 9B IT

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

47.2±0.5#393 of 719 LLMsfrom 56 benchmark results across 20 sources

$ how it compares

The LLMs ranked either side of Gemma 2 9B IT, out of 828 with a score, then more from Google.

#modelscorewhereRAMreleased
468Bielik 4.5B v3.0 Instruct SpeakLeash48±2local~4.3GB2025-04
469Qwen3.5 2B Alibaba47±1local~2.9GB2026-03
470Gemma 2 9B IT Google47±1local~7GB2024-06
471Command R Plus (08-2024) Cohere47±1api $4.38/M +local~63GB2024-08
472GLM-4 9B Chat Zhipu AI (Z.ai)47±2local~7.9GB2024-06
more from Google
9Gemini 4 Argon (limited preview) Google82±1limited preview2026-09
23Gemini 3.8 Flash Google77±1api $1.50/M2026-09
32Gemini 3.7 Flash Google76±1api $1.50/M2026-08

see all LLMs · find the ones that fit your machine

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

testresultvs the others in its rundifficultycountswhy
CRUXEval (ZeroEval, 800 problems)46.0% ✎▁▂▆▃▆█▆▃▂·▁▁ beats 11/47medium · avg 61%▇▇ 6.2%sharp · at its level
CodeReviewQA: change localisation (hard), invariant accuracy52.0% ✎█▂▁▁▂▂▂▃▅▅▅▇ beats 36/47medium · avg 36%▇ 0.6%sharp · at its level · noisy
CodeReviewQA: solution identification (hard), invariant accuracy49.6% ✎▃··▁▂▂▃▂█▃▄▂ beats 25/47medium · avg 54%▇ 0.6%sharp · at its level · noisy
CodeReviewQA: automated code refinement, exact match rate39.0% ✎▁▁▁▁▁▁▂▂▃█▅▄ beats 38/47hard · avg 33%▇ 0.4%at its level
CodeReviewQA: change type recognition, invariant accuracy74.1% ✎▁▁▁······▁▃█ beats 29/47easy · avg 67%▇ 0.0%blunt · at its level · noisy
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.

testresultvs the others in its rundifficultycountswhy
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1204.0 ✎▂▁▂▁▃▇█▆▇▄▂▂ beats 82/95avg 1201▇ 2.1%blunt
LMArena (text)1267.0 ✎▁▁▁▂▃▃▃▆▆▇█▃ beats 101/379avg 1268▇ 2.1%blunt
Arabic IFEval prompt-level (Inception)51.5% ✎▁·▁▁▂▁▄▄▆▄█▄ beats 28/38medium · avg 49%▇ 1.8%sharp · at its level
AlpacaEval 2 length-controlled43.7% ✎▃▃·▁▁█▇▅·▁·▁ beats 17/22medium · avg 42%▇ 1.4%at its level
Arena-Hard (version/judge unspecified)43.2% ✎▃▃▂▅▃▆▅█▅▅▂▃ beats 5/30medium · avg 58%▇ 0.8%at its level · small run
IFEval prompt-level loose69.9% ✎▁▃▁▃▁▄▁▁█▃▃▁ beats 7/22easy · avg 80%▇ 0.4%typical
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.

testresultvs the others in its rundifficultycountswhy
GSM8K +279.7% ✎▂▃··▃▂▅█▆▃▂▃ beats 6/22very easy · avg 91%▇▇ 5.6%sharp · several runs
MATH level 521.0% ✎▂▂▅▆▄█▆▃▅▂▃▄ beats 17/92hard · avg 32%▇ 3.6%sharp
GSM8K (ZeroEval, zero-shot)87.4% ✎▁▄·▁▄█▅▅▅███ beats 20/43very easy · avg 89%▇ 3.2%sharp
MATH Level 5 (ZeroEval, 721 problems)19.4% ✎▁▁▁▆█▂▇▇▄··▂ beats 7/38hard · avg 34%▇ 2.5%sharp · at its level
MGSM75.1% ✎▅▃▃█·▅···▃·▃ beats 9/10easy · avg 71%▇ 2.3%at its level
MATH (subset unspecified) +129.8% ✎▃▃█▂▂▆·····▁ beats 3/22medium · avg 60%▇ 2.0%at its level · several runs
MATH51.3% ✎█▄██···▄▄▄·▄ beats 6/10medium · avg 64%▇ 1.5%at its level
OTIS mock AIME 2024–20250.6% ✎▃▃▄▃▃▃▇▇█▃▂▅ beats 4/193very hard · avg 8.5%▇ 0.4%sharp · too hard for it · noisy
other tests29 not in a task · 63% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Redux (ZeroEval, 2,778 questions)72.8% ✎▁·▁▁▄▄▄▅█▄▂▁ beats 18/53easy · avg 77%▇▇▇▇ 10%at its level
LiveBench 2024-07-2631.3% ✎▁▁▁▂▂▃▂█▆▃▅▃ beats 31/61medium · avg 41%▇▇▇ 8.5%at its level
MMLU +269.1% ✎▁▂·▁·▁▁█·▃▃▅ beats 9/22easy · avg 77%▇▇▇ 7.2%at its level · several runs
BIG-Bench Hard +164.9% ✎▁▄·▁▁·▅█·▄▄▁ beats 7/22easy · avg 75%▇▇ 5.9%sharp · at its level · several runs
ARC Challenge89.8% ✎▂▂▂█▂···▄··▂ beats 8/10very easy · avg 91%▇▇ 3.8%sharp
ZebraLogic (ZeroEval, 1,000 puzzles)12.8% ✎▁▁▃▆██▁▁·▁▁▁ beats 16/57hard · avg 18%▇ 2.4%sharp
WildBench v2 WB-Score (task macro)42.6962 WB-Score ✎▁·▁▁·▃█▄▇▆▅▆ beats 31/52avg 45.199 WB-Score▇ 2.4%sharp
OpenBookQA90.0% ✎▂··▄█▂·▂···▄ beats 10/10easy · avg 87%▇ 2.4%typical
21 more tests
testresultvs the others in its rundifficultycountswhy
MMLU-Pro50.1% ✎█▄▄·█▄▄▄·▄·▄ beats 7/10medium · avg 57%▇ 2.0%at its level
GPQA Diamond27.5% ✎▁▁▃▁▂▄▆▄▅▇█▅ beats 11/208hard · avg 40%▇ 1.9%sharp
GPQA (subset unspecified) +139.1% ✎█··▄▂··▂▂··▄ beats 9/10hard · avg 40%▇ 1.8%sharp · several runs
Multilingual MMLU (Microsoft)63.8% ✎█▄▄██··█···▄ beats 8/10easy · avg 65%▇ 1.7%at its level
EvalPerf correctness (118 tasks, 20240328)68.1% ✎▂·▂▂▂▆▅▆▆▆▃█ beats 4/29easy · avg 76%▇ 1.5%at its level
EQ-Bench 3 (emotional intelligence, judge Elo)975.3 ✎▁·▃▁▄▅▅▃█▄▁▁ beats 1/62avg 1044▇ 1.3%typical
WinoGrande74.0% ✎▃····▃▃█▃·▅▅ beats 9/10medium · avg 74%▇ 1.2%at its level
BRIDGE clinical text, zero-shot average (87 tasks)35.1% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 44/97hard · avg 32%▇ 1.0%blunt · at its level
HellaSwag87.1% ✎▃▅█·▃▃▃···▃▃ beats 9/10easy · avg 84%▇ 1.0%at its level
BoolQ85.7% ✎▃··▃··██▃·▃▃ beats 9/10easy · avg 85%▇ 1.0%at its level
Social IQA74.7% ✎▃·▃▅▅█·▃···▃ beats 5/10easy · avg 78%▇ 0.9%blunt · at its level
Open Persian LLM Leaderboard v2 average (21 tasks)60.6% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 53/81medium · avg 58%▇ 0.9%blunt · at its level
TruthfulQA MC2 +161.4% ✎▃▃▂·▃▃·▅█▂▅▂ beats 9/21medium · avg 63%▇ 0.7%blunt · at its level · several runs
PopQA28.3% ✎▁▁▁▃▃▃▁█▁▃·▄ beats 10/21hard · avg 32%▇ 0.5%blunt · at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)74.3% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 216/276medium · avg 73%▇ 0.5%at its level · noisy
SurgiQ surgical MCQ (zero-shot, log-probability scoring)43.9% ✎▂···▂▂·▃▂▃██ beats 3/17medium · avg 53%▇ 0.5%at its level
CMMLU60.3% ✎▅·▅····█▃▅█▅ beats 2/14easy · avg 75%▇ 0.4%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy78.3% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 67/100medium · avg 68%▇ 0.4%at its level · noisy
PIQA83.7% ✎▃·▅·▃█·▃▅··▃ beats 9/10easy · avg 83%▇ 0.3%blunt · at its level
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy84.3% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 94/146easy · avg 83%▇ 0.3%at its level · noisy
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)89.9% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 24/140very easy · avg 94%▇ 0.1%blunt · maxed out · noisy

$ where to run it

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 2 9B IT · needs ~5.8 GB · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/gemma-2-9b-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-2-9b-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 2 9B IT · needs ~5.8 GB · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/gemma-2-9b-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 2 9B IT · needs ~6.04 GB · from ollama.com
    chat in the terminal
    ollama run gemma2:9b

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 2 9B IT · needs ~5.2 GB, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/gemma-2-9b-it-4bit
  3. 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

sourceresultsshare of the scorelicence
microsoft/Phi-4-mini-instruct model card16▇▇▇▇▇▇▇▇ 28%MIT
WildEval ZeroEval published results5▇▇▇▇▇▇▇ 24%Apache-2.0
2 OLMo 2 Furious (Team OLMo, Ai2) — authors' own evaluations of OLMo 2 Instruct and peer instruct models8▇▇▇ 11%CC BY 4.0
LiveBench model judgments (HF livebench/model_judgment, 2024-10-22 revision) with the LiveBench question datasets1▇▇▇ 8%Apache-2.0 (stated in the LiveBench datasheet)
Epoch AI — internal evaluations3▇▇ 6%CC BY 4.0
InternLM GitHub repository model cards (Shanghai AI Laboratory)5▇▇ 6%Apache-2.0
WildBench v2 leaderboard data (Ai2)1▇ 2%Apache-2.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1▇ 2%CC-BY-4.0
LMArena leaderboard dataset1▇ 2%CC BY 4.0
Inception Arabic/Hindi leaderboards (AraGen-v3, HindiGen-v1, Arabic IFEval)1▇ 2%Apache-2.0
CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models (arXiv:2503.16167v2)4▇ 2%CC-BY-4.0
EvalPlus / EvalPerf published evaluation runs1▇ 1%Apache-2.0
EQ-Bench 3 canonical leaderboard results1▇ 1%MIT
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1▇ 1%MIT
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1▇ 1%Apache-2.0
Jamba-1.5: Hybrid Transformer-Mamba Models at Scale (AI21, arXiv 2408.12570v1)1▇ 1%CC BY-SA 4.0
EuroEval leaderboards (results collection), English generative leaderboard2▇ 1%MIT
Open Portuguese LLM Leaderboard (archived)1▇ 0%Apache-2.0
SurgiQ: A Large-Scale Multi-Domain Benchmark for Evaluating Surgical Understanding in Large Language Models (arXiv:2606.08071v1)1▇ 0%CC BY 4.0
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)1▇ 0%Apache-2.0
prior · pull toward the middle▇ 0%
weighted average= 47.2

$ 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