Back to leaderboard

google/gemma-3-4b

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

llama3.1:8b

llama · 8.0B · Q4_K_M

Not Rec.

Feb 28, 2026 · Apple M4 Pro

Global Score
74 vs 66
Hardware Fit
93 vs 56
Quality Score
66 vs 70

Hardware

google/gemma-3-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

google/gemma-3-4b llama3.1:8b
Tokens/sec22.25.5
TTFT1.9 s1.4 s
Load time0.0 s3.7 s
Memory usage0.0 GB28.6 GB
Memory %0%45%

HW Fit Score Breakdown

google/gemma-3-4b

Speed
35/40
TTFT
28/30
Memory
30/30

llama3.1:8b

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

Quality

google/gemma-3-4b

Reasoning
10/20
Coding
17/20
Instruction
13/20
Structured
12/15
Math
4/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong 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