Back to leaderboard

llama3.1:8b

OLLAMA GGUF

llama · 8.0B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

gemma4:e4b-mlx

OLLAMA GGUF
Excellent

Jul 7, 2026 · Apple M2 Pro

Global Score
75 vs 90
Hardware Fit
93 vs 78
Quality Score
67 vs 95

Hardware

llama3.1:8b gemma4:e4b-mlx
MachineMacBook AirMacBook Pro
CPUApple M4Apple M2 Pro
Cores1010
RAM32 GB16 GB
GPUApple M4Apple M2 Pro
OSmacOS 26.3macOS 26.5
Archarm64arm64
Power Modebalancedbalanced

Performance

llama3.1:8b gemma4:e4b-mlx
Tokens/sec20.346.1
First chunkN/A284 ms
TTFT315 ms3.9 s
Load time1.1 s0.1 s
Memory usage10.4 GB10.8 GB
Memory %33%68%

HW Fit Score Breakdown

llama3.1:8b

Speed
33/50
TTFT
30/20
Memory
30/30

gemma4:e4b-mlx

Speed
50/50
TTFT
12/20
Memory
16/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

gemma4:e4b-mlx

Reasoning
19/20
Coding
19/20
Instruction
17/20
Structured
15/15
Math
15/15
Multilingual
10/10
Reasoning: Strong Coding: Strong Instruction Following: Strong Structured Output: Strong Math: Strong Multilingual: Strong

Run yours and compare

$ npm install -g metrillm@latest
$ metrillm

Requires Node 20+ and Ollama or LM Studio running

Or run without installing: npx metrillm@latest