Back to leaderboard

gemma-4-31b-it-mlx

LM-STUDIO MLX

gemma4 · 31B · 8bit

Excellent

Aug 19, 2026 · Apple M4 Max

phi4-mini:latest

OLLAMA GGUF

phi3 · 3.8B · Q4_K_M

Good

Mar 2, 2026 · Apple M4

Global Score
85 vs 71
Hardware Fit
64 vs 100
Quality Score
94 vs 58

Hardware

gemma-4-31b-it-mlx phi4-mini:latest
MachineMacBook ProMacBook Air
CPUApple M4 MaxApple M4
Cores1610
RAM128 GB32 GB
GPUApple M4 MaxApple M4
OSmacOS 26.5.2macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma-4-31b-it-mlx phi4-mini:latest
Tokens/sec13.636.2
First chunk16 msN/A
TTFT558 ms190 ms
Load time12.3 s0.8 s
Memory usage0.0 GB8.3 GB
Memory %0%26%

HW Fit Score Breakdown

gemma-4-31b-it-mlx

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

phi4-mini:latest

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

Quality

gemma-4-31b-it-mlx

Reasoning
19/20
Coding
19/20
Instruction
18/20
Structured
15/15
Math
14/15
Multilingual
9/10
Reasoning: Strong Coding: Strong Instruction Following: Strong Structured Output: Strong Math: Strong Multilingual: Strong

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

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