Back to leaderboard

codegemma:7b

gemma · 9B · Q4_0

Good

Mar 1, 2026 · Apple M4

llama3.1:8b

llama · 8.0B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

Global Score
74 vs 77
Hardware Fit
91 vs 93
Quality Score
62 vs 67

Hardware

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

Performance

codegemma:7b llama3.1:8b
Tokens/sec18.720.3
TTFT320 ms315 ms
Load time0.8 s1.1 s
Memory usage8.7 GB10.4 GB
Memory %27%33%

HW Fit Score Breakdown

codegemma:7b

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

llama3.1:8b

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

Quality

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

llama3.1:8b

Reasoning
12/20
Coding
15/20
Instruction
13/20
Structured
13/15
Math
4/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Weak Multilingual: Strong

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running