Back to leaderboard

gemma4:12b

OLLAMA GGUF

gemma4 · 11.9B · Q4_K_M

Excellent

Jul 4, 2026 · Apple M2 Pro

llama3.1:8b

OLLAMA GGUF

llama · 8.0B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

Global Score
89 vs 75
Hardware Fit
88 vs 93
Quality Score
89 vs 67

Hardware

gemma4:12b llama3.1:8b
MachineMacBook ProMacBook Air
CPUApple M2 ProApple M4
Cores1010
RAM16 GB32 GB
GPUApple M2 ProApple M4
OSmacOS 26.5macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma4:12b llama3.1:8b
Tokens/sec18.520.3
First chunk752 msN/A
TTFT752 ms315 ms
Load time6.1 s1.1 s
Memory usage7.5 GB10.4 GB
Memory %47%33%

HW Fit Score Breakdown

gemma4:12b

Speed
42/50
TTFT
20/20
Memory
26/30

llama3.1:8b

Speed
33/50
TTFT
30/20
Memory
30/30

Quality

gemma4:12b

Reasoning
17/20
Coding
18/20
Instruction
17/20
Structured
15/15
Math
12/15
Multilingual
10/10
Reasoning: Strong Coding: Strong Instruction Following: Strong Structured Output: Strong Math: Strong Multilingual: Strong

llama3.1:8b

Reasoning
12/20
Coding
15/20
Instruction
13/20
Structured
13/15
Math
4/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Weak Multilingual: Strong

Run yours and compare

$ npm install -g metrillm@latest
$ metrillm

Requires Node 20+ and Ollama or LM Studio running

Or run without installing: npx metrillm@latest