llamaperf

Gemma 4 12B

on M4 16GB · llama.cpp · 8,192 ctx

Apple hardware
Oct 13, 2026
Throughput
13.1 t/s gen
Quant
Q4_K_M (GGUF)
System RAM
16 GB

Summary

User reports Gemma 4 12B at 13.1 t/s on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp with Q4_K_M and 8,192 tokens of context, run on the official Mac build on Apple graphics. The 13.1 t/s is the median of three requests after a short warm-up, with roughly 1% agreement among repeats; the source omits measured Mac memory.

Download this model

Gemma 4 12B on Hugging Face in the quant this report ran, Q4_K_M. The report doesn't say whose upload it used, so these are the most downloaded ones.

Compare this run

Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.

Gemma 4 12B at 4-bit by hardware

Bars are medians on one scale, 0 to 78.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Models most run on the M4 16GB

Bars are medians on one scale, 0 to 64.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Everything reported on the M4 16GB →Every Gemma 4 report →Estimate Gemma 4 on this card →