Model benchmarks

gemma4:12b-mlx local LLM performance

As of August 2026, gemma4:12b-mlx runs at up to 68.5 tok/s for local inference (best of 2 community benchmark runs across 2 GPUs).

Ollamanvfp4
ShareRedditX

Model size

12.4B

Peak speed

68.5 tok/s

Average speed

57.8 tok/s

Min memory

9.3 GB

Max context

5,529 tokens

Best quality

85.6

Benchmark runs

2

GPUs tested

2

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 August 2026.

HardwareToolQuantBest tok/sAvg tok/sMemoryContextQualityRuns
Apple M5 MaxOllamanvfp468.5 tok/s68.5 tok/s9.3 GB4,792 tokens60.61
Apple M4 ProOllamanvfp447.1 tok/s47.1 tok/s9.3 GB5,529 tokens75.11

Frequently asked questions

How fast is gemma4:12b-mlx for local inference?
Across 2 community benchmark runs, gemma4:12b-mlx reaches up to 68.5 tok/s and averages 57.8 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.