Model benchmarks

gemma4:12b local LLM performance

As of October 2026, gemma4:12b runs at up to 108.4 tok/s for local inference (best of 10 community benchmark runs across 8 GPUs).

OllamaQ4_K_M
ShareRedditX

Model size

11.9B

Peak speed

108.4 tok/s

Average speed

42.9 tok/s

Avg PP

848.0 tok/s

Min memory

1.2 GB

Max context

196,608 tokens

Avg output / run

14,606 tokens

Avg runtime / run

17m 9s

Avg quality

70.2

Benchmark runs

10

GPUs tested

8

Quality by task

Average LLM-judged quality (0–100) with the run-to-run spread shown as a P5–P95 band, overall and for each benchmark task, across all 10 runs. The low and high columns show how much the judge’s score varies between runs, and need at least two runs to display.

TaskP5 (low)AvgP95 (high)
Overall66.670.272.4
Agent Workflow63.774.580.8
Code Generation53.459.564.7
Role Play & Narrative72.379.885.0
Research & Analysis52.566.877.2

Performance by hardware and tool

Every hardware/tool/quantization combination gemma4:12b has been benchmarked on, ranked by peak token generation speed. Last updated October 2026.

HardwareToolQuantBest tok/sAvg tok/sMemoryContextQualityRuns
NVIDIA GeForce RTX 4070 TiOllamaQ4_K_M108.4 tok/s108.4 tok/s8.9 GB65,536 tokens71.11
AMD Radeon RX 7900 XTXOllamaQ4_K_M63.1 tok/s63.1 tok/s8.2 GB196,608 tokens72.41
AMD Radeon RX 9060 XTOllamaQ4_K_M51.0 tok/s51.0 tok/s1.2 GB65,536 tokens70.61
NVIDIA GeForce RTX 5060 TiOllamaQ4_K_M46.8 tok/s46.8 tok/s7.9 GB65,536 tokens67.21
CPU onlyOllamaQ4_K_M46.3 tok/s46.3 tok/s7.8 GB32,768 tokens69.12
AMD Radeon RX 6900 XTOllamaQ4_K_M34.2 tok/s34.2 tok/s7.8 GB8,192 tokens72.31
NVIDIA GeForce RTX 3060 TiOllamaQ4_K_M15.7 tok/s15.7 tok/s7.6 GB8,192 tokens66.11
Apple M1 ProOllamaQ4_K_M13.9 tok/s13.9 tok/s8.6 GB65,536 tokens71.11
NVIDIA GeForce GTX 1050 TiOllamaQ4_K_M3.2 tok/s3.2 tok/s15.6 GB8,192 tokens72.41

Benchmark runs

All 10 gemma4:12b runs submitted so far — expand one for its hardware, quality breakdown and per-scenario detail.

Frequently asked questions

Is gemma4:12b good for coding?
In our benchmarks, gemma4:12b scores 59.5/100 for coding. It runs at about 42.9 tok/s, so if you want more speed, nvidia/Qwen3.8-27B-NVFP4 is faster (~63.3 tok/s) and still scores well for coding (82.7/100).
Is gemma4:12b good for agentic (tool-using) tasks?
In our benchmarks, gemma4:12b scores 74.5/100 for agentic workflows. It runs at about 42.9 tok/s, so if you want more speed, Nex-N2.5-mini-APEX-Mini is faster (~88.2 tok/s) and still scores well for agentic workflows (91.3/100).
How fast is gemma4:12b for local inference?
Across 10 community benchmark runs, gemma4:12b reaches up to 108.4 tok/s and averages 42.9 tok/s, with the fastest results on NVIDIA GeForce RTX 4070 Ti.
How much memory does gemma4:12b need?
The leanest observed configuration used about 1.2 GB of memory (quantizations tested: Q4_K_M).
Which tools have been used to run gemma4:12b?
Benchmarks were submitted using Ollama. Results are community-contributed and updated as new runs arrive.