whatmodel.sh / Gemma 2 27B IT

Gemma 2 27B IT is an open-weights language model from Google, released June 2024. Its published size is 27.23B 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-27b-it. 27,227,128,320 parameters (safetensors metadata). ollama gemma2:27b = 27b-instruct-q4_0 (same digest).

49.8±0.6#345 of 719 LLMsfrom 34 benchmark results across 16 sources

$ how it compares

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

#modelscorewhereRAMreleased
413DeepSeek-Coder 33B Instruct DeepSeek50±1local~21GB2023-11
414Yi 34B 200K (base) 01.AI50±5local~23GB2023-11
415Gemma 2 27B IT Google50±1local~18GB2024-06
416Bielik 11B v2.3 Instruct SpeakLeash50±2local~8.6GB2024-08
417Qwen2.5-VL 7B Instruct Alibaba50±1local~6.4GB2025-01
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▁▁▁▃▆██▇▆▄▃▁ #231 of 458 · 11% of its score · 5 tests

Beats Qwen3.5 4B, Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B) here, though they rank higher overall. Trails QwQ-32B-Preview here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
CRUXEval (ZeroEval, 800 problems)57.3% ✎▁▂▆▃▆█▆▃▂·▁▁ beats 17/47medium · avg 61%▇▇▇ 8.2%sharp · at its level
CodeReviewQA: change localisation (hard), invariant accuracy58.7% ✎█▂▁▁▂▂▂▃▅▅▅▇ beats 41/47medium · avg 36%▇ 0.9%sharp · at its level · noisy
CodeReviewQA: solution identification (hard), invariant accuracy65.7% ✎▃··▁▂▂▃▂█▃▄▂ beats 35/47medium · avg 54%▇ 0.8%sharp · at its level · noisy
CodeReviewQA: automated code refinement, exact match rate46.4% ✎▁▁▁▁▁▁▂▂▃█▅▄ beats 44/47hard · avg 33%▇ 0.6%at its level
CodeReviewQA: change type recognition, invariant accuracy74.0% ✎▁▁▁······▁▃█ beats 28/47easy · avg 67%▇ 0.0%blunt · at its level · noisy
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #236 of 393 · 19% of its score · 6 tests

Beats Mistral Small 4 (119B-A6.5B), Ministral 3 14B Reasoning 2512, Qwen2.5 Coder 32B Instruct here, though they rank higher overall. Trails Flan-T5 XXL, LFM2.5 1.2B Instruct, Gemma 3 4B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Arena-Hard (v0.1, GPT-4-1106 judge)57.5% ✎▂▁▁▅█▅▄▃▃▅▃▁ beats 40/60medium · avg 52%▇▇▇ 8.1%sharp · at its level
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1232.0 ✎▂▁▂▁▃▇█▆▇▄▃▂ beats 89/95avg 1201▇ 2.9%blunt
LMArena (text)1289.4 ✎▁▁▁▂▃▃▃▆▆▇█▃ beats 122/379avg 1268▇ 2.9%blunt
Arabic IFEval prompt-level (Inception)59.4% ✎▁·▁▁▂▁▄▄▆▄█▄ beats 33/38medium · avg 49%▇ 2.5%sharp · at its level
AlpacaEval 2 length-controlled49.0% ✎▃▃·▁▁█▇▅·▁·▁ beats 19/22medium · avg 42%▇ 2.0%at its level
IFEval prompt-level loose63.2% ✎▁▃▁▃▁▄▁▁█▃▃▁ beats 5/22easy · avg 80%▇ 0.6%typical
math▁▂▃▅▆▅▄█▄▁▁▁ #300 of 398 · 19% of its score · 7 tests

Beats GPT-4 (0613), Athene-70B here, though they rank higher overall. Trails Gemma 7B (base), DeepSeek R1 Distill Qwen 1.5B, CodeGemma 7B (v1.0) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
MATH level 527.9% ✎▂▂▅▆▄█▆▃▅▂▃▄ beats 26/92hard · avg 32%▇▇▇ 6.3%sharp · at its level
MATH Level 5 (ZeroEval, 721 problems)26.6% ✎▁▁▁▆█▂▇▇▄··▂ beats 16/38hard · avg 34%▇▇ 4.0%sharp · at its level
GSM8K (ZeroEval, zero-shot)90.2% ✎▁▄·▁▄█▅▅▅███ beats 22/43very easy · avg 89%▇ 3.5%sharp
MATH (subset unspecified) +135.1% ✎▃▃█▂▂▆·····▁ beats 5/22medium · avg 61%▇ 1.7%at its level · several runs
GSM8K80.7% ✎▂▃··▃▂▅█▆▃▂▃ beats 8/22very easy · avg 88%▇ 1.5%sharp
OTIS mock AIME 2024–20251.4% ✎▃▃▄▃▃▃▇▇█▃▂▅ beats 11/193very hard · avg 8.5%▇ 0.9%sharp · noisy
OMEGA (math generalisation)9.1% ✎▅···▃▃···▃▃█ beats 0/8hard · avg 24%▇ 0.8%typical
other tests15 not in a task · 51% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Redux (ZeroEval, 2,778 questions)75.7% ✎▁·▁▁▄▄▄▅█▄▂▁ beats 21/53easy · avg 77%▇▇▇▇▇ 13%at its level
LiveBench 2024-07-2641.3% ✎▁▁▁▂▂▃▂█▆▃▅▃ beats 46/61medium · avg 41%▇▇▇▇▇ 12%at its level
ZebraLogic (ZeroEval, 1,000 puzzles)16.3% ✎▁▁▃▆██▁▁·▁▁▁ beats 21/57hard · avg 18%▇▇ 4.3%sharp
BIG-Bench Hard72.7% ✎▁▄·▁▁·▅█·▄▄▁ beats 15/22easy · avg 75%▇▇ 3.9%sharp · at its level
MMLU70.7% ✎▁▂·▁·▁▁█·▃▃▅ beats 11/22easy · avg 77%▇ 3.7%at its level
GPQA Diamond36.5% ✎▁▁▁▁▂▄▆▄▅▇█▅ beats 31/208hard · avg 40%▇ 3.4%sharp
WildBench v2 WB-Score (task macro)48.5402 WB-Score ✎▁·▁▁·▃█▄▇▆▅▆ beats 39/52avg 45.199 WB-Score▇ 3.3%sharp
EvalPerf correctness (118 tasks, 20240328)80.2% ✎▂·▂▂▂▆▅▆▆▆▃█ beats 18/29easy · avg 76%▇ 1.8%typical
7 more tests
testresultvs the others in its rundifficultycountswhy
BRIDGE clinical text, zero-shot average (87 tasks)38.2% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 61/97hard · avg 32%▇ 1.4%blunt · at its level
Open Persian LLM Leaderboard v2 average (21 tasks)60.8% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 54/81medium · avg 58%▇ 1.2%blunt · at its level
PopQA33.9% ✎▁▁▁▃▃▃▁█▃▃·▄ beats 16/21hard · avg 32%▇ 0.8%blunt · at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)76.3% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 232/276medium · avg 73%▇ 0.6%at its level · noisy
TruthfulQA MC264.6% ✎▃▃▂·▃▃·▅█▂▅▂ beats 14/21medium · avg 63%▇ 0.6%blunt · at its level
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy83.0% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 78/100medium · avg 68%▇ 0.5%at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy88.2% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 111/146easy · avg 83%▇ 0.3%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 27B IT · needs ~16.6 GB · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/gemma-2-27b-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-27b-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 27B IT · needs ~16.6 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-27b-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 27B IT · needs ~16.84 GB · from ollama.com
    chat in the terminal
    ollama run gemma2:27b

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

Official weights and documentation: huggingface.co/google ↗

$ how the score was worked out · WildEval ZeroEval published r… 33%, 2 OLMo 2 Furious (Team OLMo,… 14%, LiveBench model judgments (HF… 12% and 13 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