Back to leaderboard

llama3.1:8b

llama · 8.0B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

gemma3:4b

gemma3 · 4.3B · Q4_K_M

Good

Mar 1, 2026 · Apple M4

Global Score
77 vs 72
Hardware Fit
93 vs 99
Quality Score
67 vs 54

Hardware

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

Performance

llama3.1:8b gemma3:4b
Tokens/sec20.335.9
TTFT315 ms303 ms
Load time1.1 s0.2 s
Memory usage10.4 GB4.6 GB
Memory %33%14%

HW Fit Score Breakdown

llama3.1:8b

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

gemma3:4b

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

Quality

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

gemma3:4b

Reasoning
11/20
Coding
0/20
Instruction
14/20
Structured
14/15
Math
5/15
Multilingual
10/10
Reasoning: Adequate Coding: Poor 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