Back to leaderboard

google/gemma-3-4b

LM-STUDIO MLX

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

unsloth-phi-4

LM-STUDIO MLX

llama · 4bit

Excellent

Mar 6, 2026 · Apple M4 Pro

Global Score
76 vs 82
Hardware Fit
100 vs 88
Quality Score
66 vs 80

Hardware

google/gemma-3-4b unsloth-phi-4
MachineMacBook AirMac mini
CPUApple M4Apple M4 Pro
Cores1014
RAM32 GB64 GB
GPUApple M4Apple M4 Pro
OSmacOS 26.3macOS 15.7.4
Archarm64arm64
Power Modebalancedbalanced

Performance

google/gemma-3-4b unsloth-phi-4
Tokens/sec39.427.4
First chunk468 ms457 ms
TTFT468 ms457 ms
Load timeN/AN/A
Memory usage2.8 GB7.7 GB
Memory %9%12%

HW Fit Score Breakdown

google/gemma-3-4b

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

unsloth-phi-4

Speed
38/50
TTFT
20/20
Memory
30/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

unsloth-phi-4

Reasoning
15/20
Coding
19/20
Instruction
14/20
Structured
13/15
Math
9/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Adequate 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