whatmodel.sh / Gemma 3 12B

Gemma 3 12B is an open-weights language model from Google, released March 2025. Its published size is 12.2B parameters and a 131k-token context window. Licence: gemma.

51.6±0.6#317 of 719 LLMsfrom 56 benchmark results across 16 sources

$ how it compares

The LLMs ranked either side of Gemma 3 12B, out of 828 with a score, then more from Google.

#modelscorewhereRAMreleased
383Nemotron-4 340B Instruct NVIDIA52±2comparison only2024-06
384Aya Expanse 32B Cohere52±2api $0.75/M +local~22GB2024-10
385Gemma 3 12B Google52±1api $0.075/M +local~9.1GB2025-03
386Qwen2.5 Coder 7B Instruct Alibaba52±1local~6GB2024-09
387Qwen2.5 14B Instruct Alibaba52±1local~10GB2024-09
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

agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #250 of 300 * · 2.3% of its score · 2 tests

Beats DeepSeek R1 0528 Qwen3 8B, Magistral Small 1.0 (2506), Llama 4 Scout (109B-A17B) here, though they rank higher overall. Trails Granite 4.0 H 1B, Granite 4.0 1B, SmolLM3 3B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
BFCL V4 (December 2025 archive)30.4% ✎▁▁▁▂██▅▅▆▂▂▂ beats 31/77hard · avg 32%▇ 1.6%at its level
BFCL v350.6% ✎▁▁▁▁▁▃▅█▅▄▁▁ beats 36/114medium · avg 52%▇ 0.8%blunt · at its level
coding▁▁▁▃▆██▇▆▄▃▁ #293 of 458 · 9.0% 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, WizardLM 70B V1.0, Yi 1.5 9B Chat here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval lab85.4% ✎▁▁▁▁▁▃▅▅█▃▂▁ beats 177/190easy · avg 85%▇ 2.7%sharp
LiveCodeBench (version unspecified) lab24.6% ✎▁···▁▁▃▅▅█▄▅ beats 3/37hard · avg 25%▇ 2.0%at its level
VisEditBench strict pass rate (1,395 visualization-code editing tasks)35.0% ✎▄··█·▄··▄█·▄ beats 1/7hard · avg 34%▇ 1.8%at its level
MBPP lab73.0% ✎▁▁▁▄▅█▄▅▃▁▂▁ beats 69/81easy · avg 72%▇ 1.8%at its level
BIRD-SQL (dev) lab47.9% ✎▂·······▂▂█▆ beats 4/11medium · avg 44%▇ 0.8%at its level
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #168 of 393 * · 4.0% of its score · 2 tests

Beats MiniCPM5 2B, Granite 4.2 30B, Seed-OSS 36B Instruct here, though they rank higher overall. Trails LFM2.5 1.2B Instruct, LFM2.5 1.2B Thinking here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1341.8 ✎▁▁▁▂▃▃▃▆▆▇█▃ beats 179/379avg 1268▇ 3.4%blunt
IFEval (aggregation unspecified) lab88.9% ✎▁▁▃▁▂▄▄▆█▃▂▁ beats 105/141very easy · avg 87%▇ 0.6%typical
math▁▂▃▅▆▅▄█▄▁▁▁ #203 of 398 · 15% of its score · 6 tests

Beats DeepSeek V3 (Dec '24), GPT-4o (2024-08-06), Command A (03-2025) here, though they rank higher overall. Trails Olmo 3 7B Instruct, Phi-4-mini-reasoning 3.8B, DeepSeek R1 Distill Qwen 7B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K +189.7% ✎█····█··▄·▄█ beats 7/7very easy · avg 86%▇▇ 5.4%sharp · several runs
MATH (subset unspecified) +183.8% ✎█▄··▄█▄····▄ beats 4/7easy · avg 81%▇▇ 4.1%several runs
PolyMath (Marco evaluation)35.5% ✎▄··▄██··▄··▄ beats 6/7hard · avg 30%▇ 1.6%at its level
OTIS mock AIME 2024–202516.7% ✎▃▃▄▃▃▃▇▇█▃▂▅ beats 56/193very hard · avg 8.5%▇ 1.4%sharp · noisy
MGSM (Marco evaluation)84.0% ✎▄·▄·▄▄▄·▄··█ beats 6/7easy · avg 70%▇ 1.4%at its level
MathVista (testmini) lab62.9% ✎▁··▁▄▄▇█▅▆█▄ beats 19/47medium · avg 61%▇ 1.4%at its level · small run
vision & documents▁▁▃▃▁▃▄▂▆▇█▄ #124 of 147 · 7.2% of its score · 9 tests

Trails Qwen3.5 2B, Pixtral 12B (2409), Qwen3-VL 2B Thinking here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
VisEditBench strict pass rate (1,395 visualization-code editing tasks)35.0% ✎▄··█·▄··▄█·▄ beats 1/7hard · avg 34%▇ 1.8%at its level
MathVista (testmini) lab62.9% ✎▁··▁▄▄▇█▅▆█▄ beats 19/47medium · avg 61%▇ 1.4%at its level · small run
MMMU (val) lab59.6% ✎▁····▁▁▄█▇▆▆ beats 22/52medium · avg 58%▇ 1.4%at its level · small run
InfographicVQA lab64.9% ✎▃·▃▅█▃▃▃▃▃▃▃ beats 2/13easy · avg 68%▇ 1.0%at its level · small run
VQAv2 (val) lab71.6% ✎▃▅▃█·▃▅·▃·▃▅ beats 6/13easy · avg 73%▇ 0.5%blunt · at its level · small run
ChartQA lab75.7% ✎▁··▁▁▁▁▁▃▅▅█ beats 9/44easy · avg 79%▇ 0.4%blunt · small run
DocVQA lab87.1% ✎▁··▃▁▁▁▇█▇▄▅ beats 2/28very easy · avg 90%▇ 0.3%blunt · small run
TextVQA lab67.7% ✎▁▁▁▄▅▁▃·▃▃▃█ beats 4/24easy · avg 75%▇ 0.2%blunt · small run
1 more test
testresultvs the others in its rundifficultycountswhy
AI2D test lab84.2% ✎▁▁▅▇▃▇·▄·█·▃ beats 15/28easy · avg 84%▇ 0.1%blunt · small run
other tests28 not in a task · 65% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond +239.5% ✎▁▁▁▁▂▄▆▄▅▇█▅ beats 37/208hard · avg 38%▇▇▇▇▇▇ 14%sharp · several runs
MMLU +176.2% ✎▄···▄▄·▄█··█ beats 4/7easy · avg 75%▇▇▇ 6.7%at its level · several runs
Medmarks-V mean win rate (19 verifiable medical benchmarks, 71 configurations)0.4379 ✎▁▄▃▃▇▄█▃▅▁▁▁ beats 8/30avg 0.423▇▇ 5.3%sharp
MMLU-Pro +155.8% ✎▄····█·▄█·▄▄ beats 3/7medium · avg 56%▇▇ 4.5%at its level · several runs
BIG-Bench Hard lab85.7% ✎▁▁▁▁▂▄▅▅█▃▄▁ beats 120/129easy · avg 81%▇▇ 3.9%sharp
Medmarks-V weighted mean win rate (61 models, 71 configurations)43.8% ✎▂▃▅▂▆▃█▅█▅▃▆ beats 8/34medium · avg 42%▇ 2.6%blunt · at its level
MMLU-ProX-Lite (Marco)51.3% ✎█··▄··█··█·▄ beats 5/7medium · avg 43%▇ 2.5%at its level
Global-MMLU-Lite lab69.5% ✎▂···▂·▃▂▂·██ beats 2/12medium · avg 65%▇ 2.4%at its level
20 more tests
testresultvs the others in its rundifficultycountswhy
SimpleQA lab6.3% ✎▄▄▄▆█▆███·▂█ beats 6/32very hard · avg 7.4%▇ 2.3%typical
Polish medical board exams, bias-mitigated MCQ protocol (7-exam average)53.3% ✎▄·▂▂▂··█▂▄·▄ beats 5/13hard · avg 48%▇ 2.3%at its level
MIMIC-CDM full information (4 pathologies)74.4% ✎▄·······▄█·▄ beats 2/4easy · avg 73%▇ 1.8%typical
GlobalMMLU (Marco evaluation)69.2% ✎▃··▃▃··▅···█ beats 6/7medium · avg 57%▇ 1.8%at its level
MIMIC-CDM clinical decision making (4 pathologies)66.2% ✎█······█··██ beats 2/3medium · avg 62%▇ 1.8%at its level
BRIDGE clinical text, zero-shot average (87 tasks)37.3% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 56/97hard · avg 32%▇ 1.8%blunt · at its level
MMMLU (Marco evaluation)69.4% ✎▄···▄·█·▄·▄█ beats 6/7medium · avg 60%▇ 1.5%at its level
Big Bench Extra Hard micro avg lab16.3% ✎▄▄·█▄·▄·▄·▄▄ beats 2/8hard · avg 19%▇ 1.5%small run
Open Persian LLM Leaderboard v2 average (21 tasks)61.7% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 55/81medium · avg 58%▇ 1.5%blunt · at its level
AGIEval (Marco suite unspecified)43.6% ✎▄··▄█▄··▄··█ beats 1/7medium · avg 47%▇ 1.2%blunt · at its level
RULER 128k lab57.1% ✎▃··▅▄▇▅█▇·▃▃ beats 8/32medium · avg 61%▇ 1.2%at its level · small run
FACTS Grounding lab75.8% ✎▄········▄·█ beats 3/3easy · avg 73%▇ 1.2%typical
Open PT-LLM Leaderboard average (9 Portuguese tasks)76.4% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 233/276medium · avg 73%▇ 0.7%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy80.9% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 75/100medium · avg 68%▇ 0.6%at its level · noisy
WMT24++ (chrF) lab51.6% ✎█······█··██ beats 2/3medium · avg 53%▇ 0.6%blunt · at its level
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy85.0% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 99/146easy · avg 83%▇ 0.4%noisy
WMT24++ lab81.6% ✎█···█·█··███ beats 2/5easy · avg 72%▇ 0.2%blunt · at its level
Vectara hallucination leaderboard, 2025 dataset (HHEM-2.3, factual consistency rate)97.2% ✎▁▁▂▃▄▄█▆▃▂▂▁ beats 110/140very easy · avg 94%▇ 0.2%blunt · maxed out · noisy
Chess Puzzles (Epoch)0.0% ✎█▁▁▁▁▂▁▄▂▂▁▁ beats 28/135very hard · avg 5.9%▇ 0.2%sharp · too hard for it · noisy
Vectara hallucination leaderboard (HHEM-2.3, factual consistency rate)95.6% ✎▁▂▁▂▅█▂▃▄▃▃▁ beats 94/98very easy · avg 90%▇ 0.0%blunt

$ where to run it

Through an API

api · DeepInfra · $0.075/M · $0.05 in / $0.15 out per 1M tokens · 131k context · deepinfra.com ↗ · price sourceUSD per 1M text tokens, standard uncached input and output. Product: Serverless text generation. API model: google/gemma-3-12b-it. Settings: service tier=standard, batch=no, cache=uncached input. Additional/excluded charges: Tools, cache storage, priority service and other modalities excluded.. Currency: USD.

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 3 12B · needs ~7.3 GB · from huggingface.co/ggml-org
    chat in the terminal
    llama cli -hf ggml-org/gemma-3-12b-it-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf ggml-org/gemma-3-12b-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 3 12B · needs ~7.3 GB · from huggingface.co/ggml-org

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/ggml-org/gemma-3-12b-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 3 12B · needs ~7.82 GB · from ollama.com
    chat in the terminal
    ollama run gemma3:12b

MLX (Mac)

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

Official weights and documentation: huggingface.co/google ↗

$ how the score was worked out · Google DeepMind Gemma 3 270M… 32%, Marco-MoE: Open Multilingual… 28%, Medmarks: A Comprehensive Ope… 8% 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

sourceresultsshare of the scorelicence
Google DeepMind Gemma 3 270M IT model card · lab-reported19▇▇▇▇▇▇▇▇▇▇ 32%CC-BY-4.0
Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcycling11▇▇▇▇▇▇▇▇▇ 28%CC BY 4.0
Medmarks: A Comprehensive Open-Source LLM Benchmark Suite for Medical Tasks — authors' own runs of 61 models2▇▇ 8%CC BY 4.0
Gemma Team — Gemma 3 Technical Report · lab-reported6▇▇ 7%CC BY 4.0
Epoch AI — internal evaluations3▇▇ 6%CC BY 4.0
MIMIC Clinical Decision Making leaderboard2▇ 4%Apache-2.0
LMArena leaderboard dataset1▇ 3%CC BY 4.0
Berkeley Function Calling Leaderboard result archive2▇ 2%Apache-2.0
Reassessing High-Performing LLMs on Polish Medical Exams: True Competence or Bias-Driven Performance? (arXiv:2606.12250v1)1▇ 2%CC BY-SA 4.0
VisEditBench: Can Vision-Language Models Edit Visualization Code from Multimodal Feedback? (arXiv:2608.10408v1)1▇ 2%CC BY 4.0
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1▇ 2%MIT
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1▇ 1%Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard2▇ 1%MIT
Open Portuguese LLM Leaderboard (archived)1▇ 1%Apache-2.0
TranslateGemma Technical Report (Google), arXiv 2601.09012v2 · lab-reported1▇ 0%CC BY 4.0
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)2▇ 0%Apache-2.0
prior · pull toward the middle▇ 0%
weighted average= 51.6
$ quantization evidence · 4 measurements

How much of the full-precision result a quantized version kept, measured within one study. Rows from the same study share a table and aren't independent.

precisiontestfull → quantizedkept
NVFP4 (weights and activations; checkpoint not named)GSM8K chain-of-thought exact match (1,319 problems; lm-eval v0.4.9, vLLM 0.12)0.825 → 0.78995.7%source ↗
NVFP4 (weights and activations; checkpoint not named)MMLU 5-shot (500-example subset; lm-eval v0.4.9, vLLM 0.12)0.62 → 0.5893.4%source ↗
W4A16 (RedHatAI gemma-3-12b-it-quantized.w4a16)GSM8K chain-of-thought exact match (1,319 problems; lm-eval v0.4.9, vLLM 0.12)0.825 → 0.8299.4%source ↗
W4A16 (RedHatAI gemma-3-12b-it-quantized.w4a16)MMLU 5-shot (500-example subset; lm-eval v0.4.9, vLLM 0.12)0.62 → 0.5995.2%source ↗

$ 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