Back to leaderboard

gemma-4-31b-it-mlx

LM-STUDIO MLX

gemma4 · 31B · 8bit

Excellent

Aug 19, 2026 · Apple M4 Max

llama3.1:8b-instruct-q4_K_S

OLLAMA GGUF

llama · 8.0B · Q4_K_S

Good

Nov 22, 2026 · C1-Pro

Global Score
85 vs 70
Hardware Fit
64 vs 73
Quality Score
94 vs 68

Hardware

gemma-4-31b-it-mlx llama3.1:8b-instru…
MachineMacBook Pro—
CPUApple M4 MaxC1-Pro
Cores160
RAM128 GB11 GB
GPUApple M4 MaxIntegrated / Unknown
OSmacOS 26.5.2unknown unknown
Archarm64arm64
Power Modebalancedunknown

Performance

gemma-4-31b-it-mlx llama3.1:8b-instru…
Tokens/sec13.66.5
First chunk16 ms950 ms
TTFT558 ms950 ms
Load time12.3 s11.5 s
Memory usage0.0 GB4.4 GB
Memory %0%38%

HW Fit Score Breakdown

gemma-4-31b-it-mlx

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

llama3.1:8b-instruct-q4…

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

llama3.1:8b-instruct-q4…

Reasoning
11/20
Coding
17/20
Instruction
11/20
Structured
14/15
Math
5/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong 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