Back to leaderboard

gemma3:4b

gemma3 · 4.3B · Q4_K_M

Excellent

Mar 2, 2026 · Apple M4

codellama:7b

llama · 7B · Q4_0

Good

Mar 1, 2026 · Apple M4

Global Score
83 vs 68
Hardware Fit
100 vs 97
Quality Score
71 vs 49

Hardware

gemma3:4b codellama: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 codellama:7b
Tokens/sec34.623.6
TTFT303 ms297 ms
Load time1.2 s0.9 s
Memory usage4.6 GB12.6 GB
Memory %14%39%

HW Fit Score Breakdown

gemma3:4b

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

codellama:7b

Speed
37/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

codellama:7b

Reasoning
6/20
Coding
7/20
Instruction
12/20
Structured
13/15
Math
3/15
Multilingual
8/10
Reasoning: Weak Coding: Weak Instruction Following: Adequate Structured Output: Strong Math: Poor Multilingual: Strong

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running