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

50.7±0.5#359 of 743 LLMsfrom 34 benchmark results across 16 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
430GLM-4 (0116) Z.ai51±1comparison only2024-01
431Codestral 22B v0.1 Mistral AI51±1local~15GB2024-05
432Gemma 2 27B IT Google51±1local~19GB2024-06
433Llama 3 70B Instruct Meta51±0local~24GB2024-04
434Llama 3.2 90B Vision Instruct Meta51±1local~59GB2024-09
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▁▁▁▃▆▇█▆▆▃▃▁ #240 of 474 · 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, Ministral 3 3B Reasoning 2512 here, though they rank lower overall.

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

Beats Mistral Small 4 (119B-A6.5B), Qwen2.5 Coder 32B Instruct, Ministral 3 14B Reasoning 2512 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 47%▇▇▇ 7.7%sharp · at its level
LMArena (text)1289.6 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 123/388avg 1262▇ 2.9%blunt
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1232.0 ✎▂▁▂▁▃▇█▆▇▄▃▂ beats 89/95avg 1189▇ 2.8%typical
Arabic IFEval prompt-level (Inception)59.4% ✎▁·▁▁▂▁▄▄▆▄█▄ beats 33/38medium · avg 46%▇ 2.5%sharp · at its level
AlpacaEval 2 length-controlled49.0% ✎▃▃·▁▁█▇▅·▁·▁ beats 19/22medium · avg 40%▇ 2.0%sharp · at its level
IFEval prompt-level loose63.2% ✎▁▃▁▃▁▄▁▁█▃▃▁ beats 5/22easy · avg 79%▇ 0.6%typical
math▁▁▃▅█▆▅█▄▁▁▁ #342 of 440 · 18% of its score · 7 tests

Beats GPT-4 (0613), Athene-70B here, though they rank higher overall. Trails Gemma 2B (base), Stable Code 3B, Zephyr 7B beta here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
MATH level 527.9% ✎▂▂▅▆▄█▆▃▅▂▃▄ beats 26/92hard · avg 29%▇▇ 6.0%sharp · at its level
MATH Level 5 (ZeroEval, 721 problems)26.6% ✎▁▁▁▆█▂▇▇▄··▂ beats 16/38hard · avg 31%▇ 3.7%sharp · at its level
GSM8K (ZeroEval, zero-shot)90.2% ✎▁▄·▁▄█▅▅▅███ beats 22/43very easy · avg 87%▇ 3.4%sharp
MATH (subset unspecified) +135.1% ✎▃▃█▂▂▆·····▁ beats 5/22medium · avg 58%▇ 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/207very hard · avg 7.4%▇ 0.8%sharp · noisy
OMEGA (math generalisation)9.1% ✎▅···▃▃···▃▃█ beats 0/8hard · avg 24%▇ 0.6%at its level
other tests15 not in a task · 52% of its score
testresultvs the others in its rundifficultycountswhy
MMLU-Redux (ZeroEval, 2,778 questions)75.7% ✎▁·▁▁▄▄▄▅█▄▂▁ beats 21/53easy · avg 76%▇▇▇▇▇ 13%at its level
LiveBench 2024-07-2641.3% ✎▁▁▁▂▂▃▂█▆▃▅▃ beats 46/61medium · avg 39%▇▇▇▇▇ 13%at its level
MMLU70.7% ✎▁▂·▁·▁▁█·▃▃▅ beats 11/22easy · avg 76%▇▇ 4.3%at its level
ZebraLogic (ZeroEval, 1,000 puzzles)16.3% ✎▁▁▃▆██▁▁·▁▁▁ beats 21/57hard · avg 16%▇▇ 4.2%sharp
BIG-Bench Hard72.7% ✎▁▄·▁▁·▅█·▄▄▁ beats 15/22medium · avg 73%▇▇ 3.9%sharp · at its level
GPQA Diamond36.5% ✎▁▁▁▁▂▃▅▄▄▆█▃ beats 31/221hard · avg 39%▇ 3.3%sharp
WildBench v2 WB-Score (task macro)48.5402 WB-Score ✎▁·▁▁·▃█▄▇▆▅▆ beats 39/52avg 43.352 WB-Score▇ 3.2%sharp
BRIDGE clinical text, zero-shot average (87 tasks)38.2% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 61/97hard · avg 32%▇ 1.8%blunt · at its level
7 more tests
testresultvs the others in its rundifficultycountswhy
EvalPerf correctness (118 tasks, 20240328)80.2% ✎▂·▂▂▂▆▅▆▆▆▃█ beats 18/29easy · avg 75%▇ 1.8%typical
Open Persian LLM Leaderboard v2 average (21 tasks)60.8% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 54/81medium · avg 57%▇ 1.4%blunt · at its level
PopQA33.9% ✎▁▁▁▃▃▃▁█▃▃·▄ beats 16/21hard · avg 31%▇ 0.9%at its level
Open PT-LLM Leaderboard average (9 Portuguese tasks)76.3% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 232/276medium · avg 72%▇ 0.7%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy83.0% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 78/100medium · avg 67%▇ 0.6%sharp · at its level · noisy
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy88.2% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 111/146easy · avg 82%▇ 0.4%noisy
TruthfulQA MC264.6% ✎▃▃▂·▃▃·▅█▂▅▂ beats 14/21medium · avg 60%▇ 0.1%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 27B IT · needs 20.5 GB memory, 16.6 GB download · 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 20.5 GB memory, 16.6 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-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 19.5 GB memory, 15.6 GB download · 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 19.2 GB memory, 15.3 GB download, 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

Model repository 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… 13% 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