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 3, 2026 · Apple M4

Global Score
76 vs 62
Hardware Fit
100 vs 99
Quality Score
66 vs 46

Hardware

google/gemma-3-4b microsoft/phi-4-mi…
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

google/gemma-3-4b microsoft/phi-4-mi…
Tokens/sec39.440.3
First chunk468 ms289 ms
TTFT468 ms289 ms
Load timeN/AN/A
Memory usage2.8 GB2.0 GB
Memory %9%6%

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
29/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
6/20
Instruction
7/20
Structured
7/15
Math
12/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