Back to leaderboard

google/gemma-3-4b

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

phi:2.7b

phi2 · 3B · Q4_0

Marginal

Mar 2, 2026 · Apple M4

Global Score
74 vs 59
Hardware Fit
93 vs 100
Quality Score
66 vs 41

Hardware

google/gemma-3-4b phi:2.7b
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

google/gemma-3-4b phi:2.7b
Tokens/sec22.256.6
TTFT1.9 s110 ms
Load time0.0 s0.4 s
Memory usage0.0 GB2.2 GB
Memory %0%7%

HW Fit Score Breakdown

google/gemma-3-4b

Speed
35/40
TTFT
28/30
Memory
30/30

phi:2.7b

Speed
40/40
TTFT
30/30
Memory
30/30

Quality

google/gemma-3-4b

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

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running