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

48.3±0.5#411 of 743 LLMsfrom 56 benchmark results across 20 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
489Bielik 4.5B v3.0 Instruct SpeakLeash48±2local~4.3GB2025-04
490Qwen2.5 Coder 3B Instruct Alibaba48±1local~2.7GB2024-11
491Gemma 2 9B IT Google48±1local~8.9GB2024-06
492WhiteRabbitNeo-33B-v1 WhiteRabbitNeo48±1local~22GB2023-12
493GPT-4o mini Audio Preview (2024-12-17) OpenAI48±2comparison only2024-12
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▁▁▁▃▆▇█▆▆▃▃▁ #276 of 474 · 8.1% 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 58%▇▇ 6.2%sharp · at its level
CodeReviewQA: change localisation (hard), invariant accuracy52.0% ✎█▂▁▁▂▂▂▃▅▅▅▇ beats 36/47hard · avg 34%▇ 0.7%sharp · at its level · noisy
CodeReviewQA: solution identification (hard), invariant accuracy49.6% ✎▃··▁▂▂▃▂█▃▄▂ beats 25/47medium · avg 52%▇ 0.7%sharp · at its level · noisy
CodeReviewQA: automated code refinement, exact match rate39.0% ✎▁▁▁▁▁▁▂▂▃█▅▄ beats 38/47hard · avg 32%▇ 0.6%at its level
CodeReviewQA: change type recognition, invariant accuracy74.1% ✎▁▁▁······▁▃█ beats 29/47easy · avg 67%▇ 0.0%blunt · at its level · noisy
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #269 of 405 · 8.4% 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, North Micro Vision Instruct (2.4B), Granite 4.0 H 1B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1267.2 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 100/388avg 1262▇ 2.1%blunt
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1204.0 ✎▂▁▂▁▃▇█▆▇▄▂▂ beats 82/95avg 1189▇ 2.0%typical
Arabic IFEval prompt-level (Inception)51.5% ✎▁·▁▁▂▁▄▄▆▄█▄ beats 28/38medium · avg 46%▇ 1.8%sharp · at its level
AlpacaEval 2 length-controlled43.7% ✎▃▃·▁▁█▇▅·▁·▁ beats 17/22medium · avg 40%▇ 1.4%sharp · at its level
Arena-Hard (version/judge unspecified)43.2% ✎▃▃▂▅▃▆▅█▅▅▂▃ beats 5/30medium · avg 55%▇ 0.7%at its level · small run
IFEval prompt-level loose69.9% ✎▁▃▁▃▁▄▁▁█▃▃▁ beats 7/22easy · avg 79%▇ 0.4%typical
math▁▁▃▅█▆▅█▄▁▁▁ #360 of 440 · 23% of its score · 8 tests

Beats Athene-70B here, though they rank higher overall. Trails OPT-2.7B, Gemma 2B (base), Stable Code 3B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K +279.7% ✎▂▃··▃▂▅█▆▃▂▃ beats 6/22very easy · avg 90%▇▇▇ 6.3%sharp · several runs
MGSM75.1% ✎▅▃▃█·▅···▃·▃ beats 9/10easy · avg 72%▇▇ 4.2%sharp · at its level
MATH level 521.0% ✎▂▂▅▆▄█▆▃▅▂▃▄ beats 17/92hard · avg 29%▇ 3.4%sharp
GSM8K (ZeroEval, zero-shot)87.4% ✎▁▄·▁▄█▅▅▅███ beats 20/43very easy · avg 87%▇ 3.1%sharp
MATH Level 5 (ZeroEval, 721 problems)19.4% ✎▁▁▁▆█▂▇▇▄··▂ beats 7/38hard · avg 31%▇ 2.3%sharp · at its level
MATH (subset unspecified) +129.8% ✎▃▃█▂▂▆·····▁ beats 3/22medium · avg 57%▇ 2.0%at its level · several runs
MATH51.3% ✎█▄██···▄▄▄·▄ beats 6/10medium · avg 62%▇ 1.5%at its level
OTIS mock AIME 2024–20250.6% ✎▃▃▄▃▃▃▇▆█▄▃▆ beats 4/207very hard · avg 7.4%▇ 0.4%sharp · too hard for it · noisy
other tests29 not in a task · 60% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Redux (ZeroEval, 2,778 questions)72.8% ✎▁·▁▁▄▄▄▅█▄▂▁ beats 18/53easy · avg 76%▇▇▇▇ 10%at its level
LiveBench 2024-07-2631.3% ✎▁▁▁▂▂▃▂█▆▃▅▃ beats 31/61medium · avg 39%▇▇▇ 8.6%at its level
MMLU +269.1% ✎▁▂·▁·▁▁█·▃▃▅ beats 9/22easy · avg 76%▇▇▇ 8.0%at its level · several runs
BIG-Bench Hard +164.9% ✎▁▄·▁▁·▅█·▄▄▁ beats 7/22medium · avg 73%▇▇ 5.7%sharp · at its level · several runs
ARC Challenge89.8% ✎▂▂▂█▂···▄··▂ beats 8/10very easy · avg 89%▇ 3.1%sharp
ZebraLogic (ZeroEval, 1,000 puzzles)12.8% ✎▁▁▃▆██▁▁·▁▁▁ beats 16/57hard · avg 16%▇ 2.3%sharp
WildBench v2 WB-Score (task macro)42.6962 WB-Score ✎▁·▁▁·▃█▄▇▆▅▆ beats 31/52avg 43.352 WB-Score▇ 2.3%sharp
MMLU-Pro50.1% ✎█▄▄·█▄▄▄·▄·▄ beats 7/10medium · avg 55%▇ 2.0%at its level
21 more tests
testresultvs the others in its rundifficultycountswhy
GPQA Diamond27.5% ✎▁▁▃▁▂▃▅▄▄▆█▃ beats 11/221hard · avg 39%▇ 1.9%sharp
OpenBookQA90.0% ✎▂··▄█▂·▂···▄ beats 10/10easy · avg 86%▇ 1.9%typical
GPQA (subset unspecified) +139.1% ✎█··▄▂··▂▂··▄ beats 9/10hard · avg 39%▇ 1.8%sharp · several runs
Multilingual MMLU (Microsoft)63.8% ✎█▄▄██··█···▄ beats 8/10medium · avg 64%▇ 1.6%at its level
EvalPerf correctness (118 tasks, 20240328)68.1% ✎▂·▂▂▂▆▅▆▆▆▃█ beats 4/29easy · avg 75%▇ 1.4%at its level
EQ-Bench 3 (emotional intelligence, judge Elo)975.3 ✎▁·▃▁▄▅▅▃█▄▁▁ beats 1/62avg 1037▇ 1.3%typical
BRIDGE clinical text, zero-shot average (87 tasks)35.1% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 44/97hard · avg 32%▇ 1.2%blunt · at its level
Open Persian LLM Leaderboard v2 average (21 tasks)60.6% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 53/81medium · avg 57%▇ 1.0%blunt · at its level
WinoGrande74.0% ✎▃····▃▃█▃·▅▅ beats 9/10medium · avg 72%▇ 0.8%at its level
HellaSwag87.1% ✎▃▅█·▃▃▃···▃▃ beats 9/10easy · avg 82%▇ 0.7%at its level
PopQA28.3% ✎▁▁▁▃▃▃▁█▁▃·▄ beats 10/21hard · avg 31%▇ 0.6%at its level
Social IQA74.7% ✎▃·▃▅▅█·▃···▃ beats 5/10medium · avg 76%▇ 0.6%blunt · at its level
BoolQ85.7% ✎▃··▃··██▃·▃▃ beats 9/10easy · avg 83%▇ 0.5%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)74.3% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 216/276medium · avg 72%▇ 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
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy78.3% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 67/100medium · avg 67%▇ 0.4%sharp · at its level · noisy
CMMLU60.3% ✎▅·▅····█▃▅█▅ beats 2/14medium · avg 73%▇ 0.4%at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy84.3% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 94/146easy · avg 82%▇ 0.3%at its level · noisy
PIQA83.7% ✎▃·▅·▃█·▃▅··▃ beats 9/10medium · avg 82%▇ 0.2%blunt · at its level
TruthfulQA MC2 +161.4% ✎▃▃▂·▃▃·▅█▂▅▂ beats 9/21medium · avg 64%▇ 0.2%blunt · at its level · several runs
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)89.9% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 24/140very easy · avg 94%▇ 0.2%blunt · maxed out · noisy

$ 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 2 9B IT · needs 9.4 GB memory, 5.76 GB download · 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 9.4 GB memory, 5.76 GB download · 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 9.1 GB memory, 5.44 GB download · 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 8.9 GB memory, 5.2 GB download, 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

Model repository and documentation: huggingface.co/google ↗

$ how the score was worked out · microsoft/Phi-4-mini-instruct… 27%, 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 card16MIT
WildEval ZeroEval published results5Apache-2.0
2 OLMo 2 Furious (Team OLMo, Ai2) — authors' own evaluations of OLMo 2 Instruct and peer instruct models8CC BY 4.0
LiveBench model judgments (HF livebench/model_judgment, 2024-10-22 revision) with the LiveBench question datasets1Apache-2.0 (stated in the LiveBench datasheet)
InternLM GitHub repository model cards (Shanghai AI Laboratory)5Apache-2.0
Epoch AI — internal evaluations3CC BY 4.0
WildBench v2 leaderboard data (Ai2)1Apache-2.0
LMArena leaderboard dataset1CC BY 4.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1CC-BY-4.0
CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models (arXiv:2503.16167v2)4CC-BY-4.0
Inception Arabic/Hindi leaderboards (AraGen-v3, HindiGen-v1, Arabic IFEval)1Apache-2.0
EvalPlus / EvalPerf published evaluation runs1Apache-2.0
EQ-Bench 3 canonical leaderboard results1MIT
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1MIT
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard2MIT
Jamba-1.5: Hybrid Transformer-Mamba Models at Scale (AI21, arXiv 2408.12570v1)1CC BY-SA 4.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
SurgiQ: A Large-Scale Multi-Domain Benchmark for Evaluating Surgical Understanding in Large Language Models (arXiv:2606.08071v1)1CC BY 4.0
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)1Apache-2.0
prior · pull toward the middle
weighted average= 48.3

$ 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