Back to leaderboard

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

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
46 vs 99
Quality Score
89 vs 46

Hardware

gemma4:31b microsoft/phi-4-mi…
MachineMacBook ProMacBook Air
CPUApple M4 MaxApple M4
Cores1610
RAM64 GB32 GB
GPUApple M4 MaxApple M4
OSmacOS 26.3.1macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma4:31b microsoft/phi-4-mi…
Tokens/sec22.440.3
First chunk565 ms289 ms
TTFT30.0 s289 ms
Load time6.9 sN/A
Memory usage43.9 GB2.0 GB
Memory %69%6%

HW Fit Score Breakdown

gemma4:31b

Speed
30/50
TTFT
0/20
Memory
16/30

microsoft/phi-4-mini-re…

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

Quality

gemma4:31b

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