Back to leaderboard

qwen3:4b

qwen3 · 4.0B · Q4_K_M

Marginal

Mar 1, 2026 · Apple M4

llama3.1:8b

llama · 8.0B · Q4_K_M

Good

Mar 1, 2026 · Apple M4

Global Score
48 vs 69
Hardware Fit
53 vs 93
Quality Score
45 vs 53

Hardware

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

Performance

qwen3:4b llama3.1:8b
Tokens/sec11.320.2
TTFT9.2 s481 ms
Load time0.1 s3.4 s
Memory usage7.2 GB10.4 GB
Memory %23%33%

HW Fit Score Breakdown

qwen3:4b

Speed
17/40
TTFT
6/30
Memory
30/30

llama3.1:8b

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

Quality

qwen3:4b

Reasoning
4/20
Coding
6/20
Instruction
8/20
Structured
6/15
Math
12/15
Multilingual
9/10
Reasoning: Poor Coding: Weak Instruction Following: Weak Structured Output: Weak Math: Strong Multilingual: Strong

llama3.1:8b

Reasoning
12/20
Coding
0/20
Instruction
14/20
Structured
13/15
Math
4/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