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.

52.0±0.6#343 of 743 LLMsfrom 56 benchmark results across 16 sources

Score within the LMArena (text) comparison set only.

$ how it compares

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

#modelscorewhereRAMreleased
410Qwen2.5 Coder 7B Instruct Alibaba52±1local~5.4GB2024-09
411Qwen2.5 14B Instruct Alibaba52±1local~11GB2024-09
412Gemma 3 12B Google52±1api $0.075/M +local~10GB2025-03
413LFM2.5 8B-A1B Liquid AI52±1local~5.5GB2026-05
414Yi-Large 01.AI52±1comparison only2024-05
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

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #268 of 319 * · 2.4% 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 31%▇ 1.6%at its level
BFCL v350.6% ✎▁▁▁▁▁▃▅█▅▄▁▁ beats 36/114medium · avg 51%▇ 0.8%blunt · at its level
coding▁▁▁▃▆▇█▆▆▃▃▁ #307 of 474 · 8.7% of its score · 5 tests

Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B), Qwen3-VL 30B-A3B Instruct 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 192/205easy · avg 83%▇ 2.9%sharp
VisEditBench strict pass rate (1,395 visualization-code editing tasks)35.0% ✎▄··█·▄··▄█·▄ beats 1/7hard · avg 33%▇ 1.9%at its level
MBPP lab73.0% ✎▁▁▁▄▅█▆▅▄▁▂▁ beats 73/86easy · avg 70%▇ 1.7%at its level
LiveCodeBench (version unspecified) lab24.6% ✎▁···▁▃▁█▇▃▄▁ beats 3/38hard · avg 23%▇ 1.6%at its level
BIRD-SQL (dev) lab47.9% ✎▂·······▂▂█▆ beats 4/11medium · avg 43%▇ 0.7%at its level
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #178 of 405 * · 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, LFM2.5 8B-A1B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1341.8 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 179/388avg 1262▇ 3.4%blunt
IFEval (aggregation unspecified) lab88.9% ✎▁▂▄▂▂▄▆██▅▂▁ beats 105/145very easy · avg 88%▇ 0.6%typical
math▁▁▃▅█▆▅█▄▁▁▁ #220 of 440 · 15% of its score · 6 tests

Beats MiniMax-M2.1, DeepSeek V3 (Dec '24), GPT-4o (2024-08-06) here, though they rank higher overall. Trails Granite 8B Code Base (4K), Mixtral 8x7B v0.1 (base), Phi-4-mini-reasoning 3.8B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K +189.7% ✎█····█··▄·▄█ beats 7/7very easy · avg 86%▇▇ 5.8%sharp · several runs
MATH (subset unspecified) +183.8% ✎█▄··▄█▄····▄ beats 4/7easy · avg 81%▇▇ 4.0%several runs
PolyMath (Marco evaluation)35.5% ✎▄··▄██··▄··▄ beats 6/7hard · avg 29%▇ 1.5%at its level
MathVista (testmini) lab62.9% ✎▁··▁▄▄▆▇▄▅█▄ beats 19/48medium · avg 61%▇ 1.3%at its level · small run
MGSM (Marco evaluation)84.0% ✎▄·▄·▄▄▄·▄··█ beats 6/7easy · avg 69%▇ 1.3%at its level
OTIS mock AIME 2024–202516.7% ✎▃▃▄▃▃▃▇▆█▄▃▆ beats 56/207very hard · avg 7.4%▇ 1.2%sharp · noisy
vision & documents▁▁▂▃▁▃▄▂▆▇█▄ #130 of 154 · 6.9% of its score · 9 tests

Trails Qwen3.5 2B, Qwen3-VL 2B Thinking, Qwen2.5-VL 7B Instruct 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 33%▇ 1.9%at its level
MMMU (val) lab59.6% ✎▁····▁▁▃█▆▆▅ beats 23/53medium · avg 57%▇ 1.3%at its level · small run
MathVista (testmini) lab62.9% ✎▁··▁▄▄▆▇▄▅█▄ beats 19/48medium · avg 61%▇ 1.3%at its level · small run
InfographicVQA lab64.9% ✎▃·▃▅█▃▃▃▃▃▃▃ beats 2/13easy · avg 66%▇ 0.9%at its level · small run
VQAv2 (val) lab71.6% ✎▃▅▃█·▃▅·▃·▃▅ beats 6/13easy · avg 72%▇ 0.5%blunt · at its level · small run
ChartQA lab75.7% ✎▁··▁▁▁▁▁▃▅▅█ beats 9/44easy · avg 77%▇ 0.4%blunt · small run
DocVQA lab87.1% ✎▁··▃▁▁▁▇█▇▄▅ beats 2/28very easy · avg 89%▇ 0.3%blunt · small run
TextVQA lab67.7% ✎▁▁▁▄▅▁▃·▃▃▃█ beats 4/24easy · avg 74%▇ 0.2%blunt · at its level · 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 · 66% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond +239.5% ✎▁▁▁▁▂▃▅▄▄▆█▃ beats 37/221hard · avg 37%▇▇▇▇▇▇ 14%sharp · several runs
MMLU +176.2% ✎▄···▄▄·▄█··█ beats 4/7easy · avg 75%▇▇▇ 7.3%at its level · several runs
Medmarks-V mean win rate (19 verifiable medical benchmarks, 71 configurations)0.4379 ✎▁▄▃▃▇▄█▃▅▁▁▁ beats 8/30avg 0.421▇▇▇ 6.7%sharp
MMLU-Pro +155.8% ✎▄····█·▄█·▄▄ beats 3/7medium · avg 55%▇▇ 4.5%at its level · several runs
BIG-Bench Hard lab85.7% ✎▁▁▁▁▂▄▅▆█▃▃▁ beats 146/155easy · avg 79%▇ 3.3%sharp
Medmarks-V weighted mean win rate (61 models, 71 configurations)43.8% ✎▂▃▅▂▆▃█▅█▅▃▆ beats 8/34medium · avg 42%▇ 2.9%blunt · at its level
Polish medical board exams, bias-mitigated MCQ protocol (7-exam average)53.3% ✎▄·▂▂▂··█▂▄·▄ beats 5/13hard · avg 47%▇ 2.4%at its level
MMLU-ProX-Lite (Marco)51.3% ✎█··▄··█··█·▄ beats 5/7medium · avg 42%▇ 2.3%at its level
20 more tests
testresultvs the others in its rundifficultycountswhy
SimpleQA lab6.3% ✎▄▄▄▆█▆███·▂█ beats 6/32very hard · avg 7.0%▇ 2.2%typical
BRIDGE clinical text, zero-shot average (87 tasks)37.3% ✎▁▁▁▁▁▂▂▃▄▆█▃ beats 56/97hard · avg 32%▇ 2.1%blunt · at its level
Global-MMLU-Lite lab69.5% ✎▂···▂·▃▂▂·██ beats 2/12medium · avg 65%▇ 2.1%at its level
MIMIC-CDM full information (4 pathologies)74.4% ✎▄·······▄█·▄ beats 2/4easy · avg 71%▇ 1.7%typical
Open Persian LLM Leaderboard v2 average (21 tasks)61.7% ✎▂▄▂▃█▄▃▆▃▅▂▂ beats 55/81medium · avg 57%▇ 1.7%blunt · at its level
GlobalMMLU (Marco evaluation)69.2% ✎▃··▃▃··▅···█ beats 6/7medium · avg 57%▇ 1.6%at its level
MIMIC-CDM clinical decision making (4 pathologies)66.2% ✎█······█··██ beats 2/3medium · avg 61%▇ 1.6%at its level
MMMLU (Marco evaluation)69.4% ✎▄···▄·█·▄·▄█ beats 6/7medium · avg 59%▇ 1.4%at its level
Big Bench Extra Hard micro avg lab16.3% ✎▄▄·█▄·▄·▄·▄▄ beats 2/8hard · avg 18%▇ 1.4%small run
AGIEval (Marco suite unspecified)43.6% ✎▄··▄█▄··▄··█ beats 1/7medium · avg 46%▇ 1.2%blunt · at its level
FACTS Grounding lab75.8% ✎▄········▄·█ beats 3/3easy · avg 72%▇ 1.1%typical
RULER 128k lab57.1% ✎▃··▅▄█▅█▇·▃▃ beats 8/33medium · avg 59%▇ 1.1%at its level · small run
Open PT-LLM Leaderboard average (9 Portuguese tasks)76.4% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 233/276medium · avg 72%▇ 0.8%at its level · noisy
EuroEval HellaSwag (English), test split, 5-shot generative MC, accuracy80.9% ✎▃·▁▁▂▁▂▅█▇▄▁ beats 75/100medium · avg 67%▇ 0.7%sharp · at its level · noisy
WMT24++ (chrF) lab51.6% ✎█······█··██ beats 2/3medium · avg 52%▇ 0.6%blunt · at its level
EuroEval Life in the UK (English knowledge MC), test split, 5-shot, accuracy85.0% ✎▁▁▁▁▁▁▁▂▄█▄▃ beats 99/146easy · avg 82%▇ 0.4%noisy
Chess Puzzles (Epoch)0.0% ✎█▁▁▁▁▂▄▂▃▃▂▁ beats 31/157very hard · avg 5.6%▇ 0.3%sharp · too hard for it · noisy
WMT24++ lab81.6% ✎█···█·█··███ beats 2/5easy · avg 73%▇ 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
Vectara hallucination leaderboard (HHEM-2.3, factual consistency rate)95.6% ✎▁▂▁▂▅█▂▃▃▃▃▁ beats 96/100very 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.

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 3 12B · needs 11.1 GB memory, 8.15 GB download · 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 11.1 GB memory, 8.15 GB download · 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 11.1 GB memory, 8.16 GB download · 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 10.1 GB memory, 7.19 GB download, 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

Model repository and documentation: huggingface.co/google ↗

$ how the score was worked out · Google DeepMind Gemma 3 270M… 30%, Marco-MoE: Open Multilingual… 28%, Medmarks: A Comprehensive Ope… 10% 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 · maker-reported19CC-BY-4.0
Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcycling11CC BY 4.0
Medmarks: A Comprehensive Open-Source LLM Benchmark Suite for Medical Tasks — authors' own runs of 61 models2CC BY 4.0
Gemma Team — Gemma 3 Technical Report · maker-reported6CC BY 4.0
Epoch AI — internal evaluations3CC BY 4.0
LMArena leaderboard dataset1CC BY 4.0
MIMIC Clinical Decision Making leaderboard2Apache-2.0
Reassessing High-Performing LLMs on Polish Medical Exams: True Competence or Bias-Driven Performance? (arXiv:2606.12250v1)1CC BY-SA 4.0
Berkeley Function Calling Leaderboard result archive2Apache-2.0
BRIDGE Medical Leaderboard (Harvard Medical School / Brigham and Women's YLab)1MIT
VisEditBench: Can Vision-Language Models Edit Visualization Code from Multimodal Feedback? (arXiv:2608.10408v1)1CC BY 4.0
Open Persian LLM Leaderboard v2 (Part DP AI and AUT NLP Lab)1Apache-2.0
EuroEval leaderboards (results collection), English generative leaderboard2MIT
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
TranslateGemma Technical Report (Google), arXiv 2601.09012v2 · maker-reported1CC BY 4.0
Vectara hallucination leaderboard (vectara/hallucination-leaderboard repository)2Apache-2.0
prior · pull toward the middle
weighted average= 52.0
$ published speed measurements · 4

Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.

Apple M2 Pro, 32 GBq4_k_m20.88 tok/sollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (215 on average); eval_count ÷ eval_duration, generation only
note

Community submission to llmfit on 2026-09-13 (Apple M2 Pro, 32 GB RAM, macos); 20.69–21.16 tok/s across runs.

source ↗
Apple M3 Pro, 18 GBq4_k_m12.49 tok/sollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (213 on average); eval_count ÷ eval_duration, generation only
note

Community submission to llmfit on 2026-09-10 (Apple M3 Pro, 18 GB RAM, macos); 10.51–14.74 tok/s across runs.

source ↗
Apple M3 Pro, 18 GBq4_k_m13.28 tok/sollama (version not recorded) · llmfit bench 1.1.15 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (217 on average); eval_count ÷ eval_duration, generation only
note

Community submission to llmfit on 2026-09-10 (Apple M3 Pro, 18 GB RAM, macos); 10.65–14.63 tok/s across runs.

source ↗
Apple M4, 16 GBqat11.12 tok/sollama (version not recorded) · llmfit bench 1.1.14 via Ollama: a warm-up, then 3 runs of up to 300 generated tokens (160 on average); eval_count ÷ eval_duration, generation only
note

Community submission to llmfit on 2026-09-09 (Apple M4, 16 GB RAM, macos); 10.96–11.3 tok/s across runs.

source ↗
$ 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