Back to leaderboard

llama2:7b

llama · 7B · Q4_0

Good

Mar 2, 2026 · Apple M4

codegemma:7b

gemma · 9B · Q4_0

Good

Mar 1, 2026 · Apple M4

Global Score
61 vs 74
Hardware Fit
99 vs 91
Quality Score
36 vs 62

Hardware

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

Performance

llama2:7b codegemma:7b
Tokens/sec25.118.7
TTFT228 ms320 ms
Load time0.4 s0.8 s
Memory usage5.8 GB8.7 GB
Memory %18%27%

HW Fit Score Breakdown

llama2:7b

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

codegemma:7b

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

Quality

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

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