Back to leaderboard

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

gemma4:e4b-mlx

OLLAMA GGUF
Not Rec.

Jul 7, 2026 · Apple M2 Pro

Global Score
76 vs 78
Hardware Fit
46 vs 72
Quality Score
89 vs 81

Hardware

gemma4:31b gemma4:e4b-mlx
MachineMacBook ProMacBook Pro
CPUApple M4 MaxApple M2 Pro
Cores1610
RAM64 GB16 GB
GPUApple M4 MaxApple M2 Pro
OSmacOS 26.3.1macOS 26.5
Archarm64arm64
Power Modebalancedbalanced

Performance

gemma4:31b gemma4:e4b-mlx
Tokens/sec22.426.9
First chunk565 ms222 ms
TTFT30.0 s222 ms
Load time6.9 s0.1 s
Memory usage43.9 GB15.4 GB
Memory %69%96%

HW Fit Score Breakdown

gemma4:31b

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

gemma4:e4b-mlx

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

gemma4:e4b-mlx

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