Back to leaderboard

gemma3:4b

gemma3 · 4.3B · Q4_K_M

Good

Mar 1, 2026 · Apple M4

llama3.1:8b

llama · 8.0B · Q4_K_M

Not Rec.

Feb 28, 2026 · Apple M4 Pro

Global Score
72 vs 64
Hardware Fit
99 vs 56
Quality Score
54 vs 70

Hardware

gemma3:4b llama3.1:8b
MachineMacBook AirMac Mini
CPUApple M4Apple M4 Pro
Cores1014
RAM32 GB64 GB
GPUApple M4Apple M4 Pro
OSmacOS 26.3macOS 15.7.4
Archarm64arm64
Power Modebalancedunknown

Performance

gemma3:4b llama3.1:8b
Tokens/sec35.95.5
TTFT303 ms1.4 s
Load time0.2 s3.7 s
Memory usage4.6 GB28.6 GB
Memory %14%45%

HW Fit Score Breakdown

gemma3:4b

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

llama3.1:8b

Speed
5/40
TTFT
22/30
Memory
29/30

Quality

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

llama3.1:8b

Reasoning
12/20
Coding
17/20
Instruction
14/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