Back to leaderboard

phi4-mini:latest

phi3 · 3.8B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

llama3.1:8b

llama · 8.0B · Q4_K_M

Good

Mar 1, 2026 · Apple M4

Global Score
75 vs 69
Hardware Fit
100 vs 93
Quality Score
58 vs 53

Hardware

phi4-mini:latest llama3.1:8b
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

phi4-mini:latest llama3.1:8b
Tokens/sec36.220.2
TTFT190 ms481 ms
Load time0.8 s3.4 s
Memory usage8.3 GB10.4 GB
Memory %26%33%

HW Fit Score Breakdown

phi4-mini:latest

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

llama3.1:8b

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

Quality

phi4-mini:latest

Reasoning
12/20
Coding
10/20
Instruction
10/20
Structured
11/15
Math
5/15
Multilingual
10/10
Reasoning: Adequate Coding: Weak Instruction Following: Adequate Structured Output: Adequate Math: Weak 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