Model benchmarks
gemma4:12b-mlx local LLM performance
As of November 2026, gemma4:12b-mlx runs at up to 68.5 tok/s for local inference (best of 3 community benchmark runs across 3 GPUs).
Model size
12.4B
Peak speed
68.5 tok/s
Average speed
47.7 tok/s
Avg PP
179.3 tok/s
Min memory
9.3 GB
Max context
131,072 tokens
Avg output / run
11,815 tokens
Avg runtime / run
4m 41s
Avg quality
67.6
Benchmark runs
3
GPUs tested
3
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 3 runs. The low and high columns show how much the judge’s score varies between runs, and need at least two runs to display.
| Task | P5 (low) | Avg | P95 (high) |
|---|---|---|---|
| Overall | 59.8 | 67.6 | 72.8 |
| Agent Workflow | 69.2 | 75.9 | 80.4 |
| Code Generation | 43.1 | 55.2 | 62.9 |
| Role Play & Narrative | 65.9 | 70.5 | 75.3 |
| Research & Analysis | 61.0 | 68.7 | 73.8 |
Performance by hardware and tool
Every hardware/tool/quantization combination gemma4:12b-mlx has been benchmarked on, ranked by peak token generation speed. Last updated November 2026.
| Hardware | Tool | Quant | Best tok/s | Avg tok/s | Memory | Context | Quality | Runs |
|---|---|---|---|---|---|---|---|---|
| Apple M5 Max | Ollama | nvfp4 | 68.5 tok/s | 68.5 tok/s | 9.3 GB | 131,072 tokens | 58.6 | 1 |
| Apple M4 Pro | Ollama | nvfp4 | 47.1 tok/s | 47.1 tok/s | 9.3 GB | 131,072 tokens | 73.0 | 1 |
| Apple M1 Max | Ollama | nvfp4 | 27.5 tok/s | 27.5 tok/s | 13.0 GB | 32,768 tokens | 71.2 | 1 |
Benchmark runs
All 3 gemma4:12b-mlx runs submitted so far — expand one for its hardware, quality breakdown and per-scenario detail.
Frequently asked questions
- Is gemma4:12b-mlx good for coding?
- In our benchmarks, gemma4:12b-mlx scores 55.2/100 for coding. It runs at about 47.7 tok/s, so if you want more speed, qwen3.8-27b-Swift1.5-Uncensored-ATX-AI3 is faster (~85.5 tok/s) and still scores well for coding (84.8/100).
- Is gemma4:12b-mlx good for agentic (tool-using) tasks?
- In our benchmarks, gemma4:12b-mlx scores 75.9/100 for agentic workflows. It runs at about 47.7 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-mlx for local inference?
- Across 3 community benchmark runs, gemma4:12b-mlx reaches up to 68.5 tok/s and averages 47.7 tok/s, with the fastest results on Apple M5 Max.
- How much memory does gemma4:12b-mlx need?
- The leanest observed configuration used about 9.3 GB of memory (quantizations tested: nvfp4).
- Which tools have been used to run gemma4:12b-mlx?
- Benchmarks were submitted using Ollama. Results are community-contributed and updated as new runs arrive.