Back to leaderboard

gemma3:4b

gemma3 · 4.3B · Q4_K_M

Excellent

Mar 2, 2026 · Apple M4

llama2:7b

llama · 7B · Q4_0

Marginal

Mar 2, 2026 · Apple M4

Global Score
80 vs 55
Hardware Fit
100 vs 99
Quality Score
71 vs 36

Hardware

gemma3:4b llama2: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 llama2:7b
Tokens/sec34.625.1
TTFT303 ms228 ms
Load time1.2 s0.4 s
Memory usage4.6 GB5.8 GB
Memory %14%18%

HW Fit Score Breakdown

gemma3:4b

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

llama2:7b

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

llama2:7b

Reasoning
4/20
Coding
3/20
Instruction
13/20
Structured
8/15
Math
1/15
Multilingual
7/10
Reasoning: Poor Coding: Poor Instruction Following: Adequate Structured Output: Adequate Math: Poor Multilingual: Adequate

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running