Back to leaderboard

llama3.1:8b

OLLAMA GGUF

llama · 8.0B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

gemma4:12b

OLLAMA GGUF

gemma4 · 11.9B · Q4_K_M

Not Rec.

Aug 22, 2026 · Apple M1 Pro

Global Score
75 vs 63
Hardware Fit
93 vs 62
Quality Score
67 vs 63

Hardware

llama3.1:8b gemma4:12b
MachineMacBook AirMacBook Pro
CPUApple M4Apple M1 Pro
Cores1010
RAM32 GB16 GB
GPUApple M4Apple M1 Pro
OSmacOS 26.3macOS 26.6.2
Archarm64arm64
Power Modebalancedbalanced

Performance

llama3.1:8b gemma4:12b
Tokens/sec20.315.3
First chunkN/A1142 ms
TTFT315 ms30.0 s
Load time1.1 s5.4 s
Memory usage10.4 GB7.6 GB
Memory %33%47%

HW Fit Score Breakdown

llama3.1:8b

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

gemma4:12b

Speed
36/50
TTFT
0/20
Memory
26/30

Quality

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

gemma4:12b

Reasoning
10/20
Coding
10/20
Instruction
9/20
Structured
14/15
Math
10/15
Multilingual
10/10
Reasoning: Weak Coding: Adequate Instruction Following: Weak Structured Output: Strong Math: Adequate 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