Back to leaderboard

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

phi:2.7b

OLLAMA GGUF

phi2 · 3B · Q4_0

Marginal

Mar 2, 2026 · Apple M4

Global Score
76 vs 59
Hardware Fit
46 vs 100
Quality Score
89 vs 41

Hardware

gemma4:31b phi:2.7b
MachineMacBook ProMacBook Air
CPUApple M4 MaxApple M4
Cores1610
RAM64 GB32 GB
GPUApple M4 MaxApple M4
OSmacOS 26.3.1macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma4:31b phi:2.7b
Tokens/sec22.456.6
First chunk565 msN/A
TTFT30.0 s110 ms
Load time6.9 s0.4 s
Memory usage43.9 GB2.2 GB
Memory %69%7%

HW Fit Score Breakdown

gemma4:31b

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

phi:2.7b

Speed
40/50
TTFT
30/20
Memory
30/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

phi:2.7b

Reasoning
7/20
Coding
4/20
Instruction
9/20
Structured
11/15
Math
8/15
Multilingual
2/10
Reasoning: Weak Coding: Poor Instruction Following: Weak Structured Output: Adequate Math: Adequate Multilingual: Poor

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