Back to leaderboard

gemma3:4b

gemma3 · 4.3B · Q4_K_M

Excellent

Mar 2, 2026 · Apple M4

codegemma:7b

gemma · 9B · Q4_0

Good

Mar 1, 2026 · Apple M4

Global Score
83 vs 74
Hardware Fit
100 vs 91
Quality Score
71 vs 62

Hardware

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

Performance

gemma3:4b codegemma:7b
Tokens/sec34.618.7
TTFT303 ms320 ms
Load time1.2 s0.8 s
Memory usage4.6 GB8.7 GB
Memory %14%27%

HW Fit Score Breakdown

gemma3:4b

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

codegemma:7b

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

Quality

gemma3:4b

Reasoning
11/20
Coding
17/20
Instruction
14/20
Structured
14/15
Math
5/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Weak Multilingual: Strong

codegemma:7b

Reasoning
1/20
Coding
14/20
Instruction
13/20
Structured
15/15
Math
10/15
Multilingual
9/10
Reasoning: Poor Coding: Adequate 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