Back to leaderboard

gemma2:2b

gemma2 · 2.6B · Q4_0

Excellent

Mar 2, 2026 · Apple M4

codegemma:7b

gemma · 9B · Q4_0

Good

Mar 1, 2026 · Apple M4

Global Score
80 vs 65
Hardware Fit
100 vs 91
Quality Score
67 vs 48

Hardware

gemma2:2b codegemma:7b
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma2:2b codegemma:7b
Tokens/sec55.119.2
TTFT152 ms316 ms
Load time0.6 s0.1 s
Memory usage2.8 GB8.7 GB
Memory %9%27%

HW Fit Score Breakdown

gemma2:2b

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

codegemma:7b

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

Quality

gemma2:2b

Reasoning
11/20
Coding
13/20
Instruction
14/20
Structured
15/15
Math
4/15
Multilingual
10/10
Reasoning: Adequate Coding: Adequate Instruction Following: Adequate Structured Output: Strong Math: Poor Multilingual: Strong

codegemma:7b

Reasoning
1/20
Coding
0/20
Instruction
13/20
Structured
15/15
Math
10/15
Multilingual
9/10
Reasoning: Poor Coding: Poor Instruction Following: Adequate Structured Output: Strong Math: Adequate Multilingual: Strong

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running