Back to leaderboard

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

llama3.1:8b

OLLAMA GGUF

llama · 8.0B · Q4_K_M

Good

Aug 25, 2026 · Apple M1 Pro

Global Score
76 vs 72
Hardware Fit
46 vs 77
Quality Score
89 vs 70

Hardware

gemma4:31b llama3.1:8b
MachineMacBook ProMacBook Pro
CPUApple M4 MaxApple M1 Pro
Cores1610
RAM64 GB16 GB
GPUApple M4 MaxApple M1 Pro
OSmacOS 26.3.1macOS 26.6.2
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma4:31b llama3.1:8b
Tokens/sec22.421.5
First chunk565 ms368 ms
TTFT30.0 s368 ms
Load time6.9 s6.9 s
Memory usage43.9 GB12.9 GB
Memory %69%81%

HW Fit Score Breakdown

gemma4:31b

Speed
30/50
TTFT
0/20
Memory
16/30

llama3.1:8b

Speed
47/50
TTFT
20/20
Memory
10/30

Quality

gemma4:31b

Reasoning
16/20
Coding
19/20
Instruction
16/20
Structured
15/15
Math
14/15
Multilingual
9/10
Reasoning: Strong Coding: Strong Instruction Following: Strong Structured Output: Strong Math: Strong Multilingual: Strong

llama3.1:8b

Reasoning
12/20
Coding
18/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