whatmodel.sh / Gemma 2 2B IT

Gemma 2 2B IT is an open-weights language model from Google, released July 2024. Its published size is 2.61B parameters and a 8k-token context window. Licence: gemma.

Catalogue identity notes

Arena entry 'gemma-2-2b-it' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'gemma-2-2b-it' as 'Gemma-2-2b-it' (Google, Gemma license), linking https://aistudio.google.com/app/prompts/new_chat?model=gemma-2-2b-it. Maker repo google/gemma-2-2b-it @299a856: licence tag gemma. 2,614,341,888 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-07: Google Gemma releases page (ai.google.dev/gemma/docs/releases): 'July 31, 2024 Release of Gemma 2 in 2B size'.

39.0±0.6#589 of 743 LLMsfrom 29 benchmark results across 10 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
699Code Tulu 2 7B Allen Institute for AI39±2local~16GB2023-11
700Flan-T5 XXL Google39±1local~49GB2022-10
701Gemma 2 2B IT Google39±1local~3.2GB2024-07
702Yi-1.5 6B (base) 01.AI39±3local~5.1GB2024-05
703Dolphin 2.2.1 Mistral 7B Cognitive Computations39±2local~5.8GB2023-10
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▁▁▁▃▆▇█▆▆▃▃▁ #417 of 474 · 15% of its score · 3 tests

Beats DeepSeek R1 Distill Qwen 7B, Qwen3.5 2B, DeepSeek R1 Distill Llama 8B here, though they rank higher overall. Trails EXAONE 3.5 2.4B Instruct, Code Llama 7B Instruct, Qwen2.5 1.5B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
CRUXEval (ZeroEval, 800 problems)21.5% ✎▃▂▆▃▆█▆▃▂·▁▁ beats 0/47medium · avg 58%▇▇▇ 8.2%sharp
HumanEval40.6% ✎▄·▄█·▄·▄···█ beats 3/7easy · avg 78%▇▇ 4.8%sharp · at its level
MBPP34.0% ✎▄···▄·▄▄█··█ beats 2/7medium · avg 61%▇ 2.3%at its level
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #316 of 405 * · 5.2% of its score · 2 tests

Beats Gemma 4 E4B, OpenThinker3 7B, Code Llama 70B Instruct here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Qwen3 0.6B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1200.2 ✎▁▁▁▂▃▃▃▆▆▇█▃ beats 69/388avg 1262▇ 3.7%blunt
IFEval (aggregation unspecified)53.8% ✎▄····█·▄··██ beats 7/7easy · avg 66%▇ 1.5%at its level
math▁▁▃▅█▆▅█▄▁▁▁ #418 of 440 · 20% of its score · 4 tests

Beats Command R (03-2024), Mistral 7B Instruct v0.3 here, though they rank higher overall. Trails GPT-Neo 125M, OPT-125M, GPT-2 XL (1.5B) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K (ZeroEval, zero-shot)51.6% ✎▁▄·▁▄█▅▅▅███ beats 1/43very easy · avg 87%▇▇▇▇ 10%sharp · at its level
GSM8K30.9% ✎█▄····▄··█▄▄ beats 2/7easy · avg 81%▇▇ 4.4%sharp · at its level
MATH (subset unspecified)21.8% ✎▄···▄▄▄▄··█▄ beats 3/7medium · avg 49%▇ 3.7%typical
MATH Level 5 (ZeroEval, 721 problems)4.3% ✎▃▁▁▆█▂▇▇▄··▂ beats 0/38hard · avg 31%▇ 1.6%sharp
other tests20 not in a task · 59% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Redux (ZeroEval, 2,778 questions)51.9% ✎▁·▃▁▄▄▄▅█▄▂▁ beats 1/53easy · avg 76%▇▇▇▇▇▇▇ 19%at its level
BIG-Bench Hard43.5% ✎▃▃···▃··█··▅ beats 3/7medium · avg 63%▇▇▇ 6.7%sharp
MMLU56.8% ✎▄····▄·▄▄█·█ beats 4/7easy · avg 76%▇▇ 4.4%at its level
WildBench v2 WB-Score (task macro)27.8260 WB-Score ✎▁·▁▁·▃█▄▇▆▅▆ beats 9/52avg 43.352 WB-Score▇▇ 4.2%sharp
GPQA (subset unspecified)29.4% ✎▄·▄··▄··▄█·█ beats 5/7hard · avg 37%▇ 3.6%sharp · too hard for it
CPTUB average (SpeakLeash, 0-5 judge scale)53.0% ✎▁▂▂▂▃█▃▆▅▄▂▃ beats 19/95easy · avg 65%▇ 3.3%at its level
MMLU-Pro27.2% ✎▄·····█··█▄█ beats 3/7medium · avg 44%▇ 2.9%typical
WinoGrande68.9% ✎█···▄▄▄▄···█ beats 3/7medium · avg 81%▇ 2.8%at its level
12 more tests
testresultvs the others in its rundifficultycountswhy
HellaSwag71.2% ✎▄·▄··█▄·▄·▄▄ beats 2/7easy · avg 85%▇ 1.9%at its level
Open Persian LLM Leaderboard v2 average (21 tasks)44.4% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 18/81medium · avg 57%▇ 1.9%blunt · at its level
ARC Challenge57.4% ✎▄····█··▄▄▄█ beats 5/7medium · avg 73%▇ 1.6%sharp · at its level
OpenBookQA44.2% ✎▄▄··▄··▄·█▄▄ beats 6/7medium · avg 55%▇ 1.6%typical
ZebraLogic (ZeroEval, 1,000 puzzles)4.2% ✎▁▃▃▆██▁▁·▁▁▁ beats 1/57hard · avg 16%▇ 1.2%sharp · too hard for it
BoolQ84.4% ✎▄▄····▄▄·█·█ beats 4/7easy · avg 88%▇ 1.2%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)67.7% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 136/276medium · avg 72%▇ 0.9%at its level · noisy
SurgiQ surgical MCQ (zero-shot, log-probability scoring)35.0% ✎▂···▂▃·▃▂▃██ beats 2/17medium · avg 53%▇ 0.7%typical
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy70.0% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 38/146easy · avg 82%▇ 0.7%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy53.9% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 29/100medium · avg 67%▇ 0.6%sharp · at its level · noisy
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)93.0% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 43/140very easy · avg 94%▇ 0.4%blunt · noisy
Social IQA60.8% ✎▃·····▃··█▃▅ beats 4/7medium · avg 66%▇ 0.3%blunt · at its level

$ 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 2B IT · needs 3.4 GB memory, 1.71 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/gemma-2-2b-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-2b-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 2B IT · needs 3.4 GB memory, 1.71 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-2b-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 2B IT · needs 3.4 GB memory, 1.71 GB download · from ollama.com
    chat in the terminal
    ollama run gemma2:2b-instruct-q4_K_M

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 2B IT · needs 3.2 GB memory, 1.47 GB download, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/gemma-2-2b-it-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model mlx-community/gemma-2-2b-it-4bit

Model repository and documentation: huggingface.co/google ↗

$ how the score was worked out · IBM Granite 3.0 Language Mode… 44%, WildEval ZeroEval published r… 40%, WildBench v2 leaderboard data… 4% and 7 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