Back to leaderboard

google/gemma-3-4b

LM-STUDIO MLX

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

microsoft/phi-4-mini-reasoning

LM-STUDIO MLX

phi3 · 3.8B · 4bit

Good

Mar 5, 2026 · Apple M4 Pro

Global Score
76 vs 64
Hardware Fit
100 vs 100
Quality Score
66 vs 48

Hardware

google/gemma-3-4b microsoft/phi-4-mi…
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 microsoft/phi-4-mi…
Tokens/sec39.490.3
First chunk468 ms198 ms
TTFT468 ms198 ms
Load timeN/AN/A
Memory usage2.8 GB2.0 GB
Memory %9%3%

HW Fit Score Breakdown

google/gemma-3-4b

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

microsoft/phi-4-mini-re…

Speed
50/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

microsoft/phi-4-mini-re…

Reasoning
7/20
Coding
7/20
Instruction
7/20
Structured
7/15
Math
13/15
Multilingual
7/10
Reasoning: Weak Coding: Weak Instruction Following: Weak Structured Output: Weak Math: Strong Multilingual: Adequate

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