Back to leaderboard

glm4:9b

OLLAMA GGUF

chatglm · 9.4B · Q4_0

Good

Mar 6, 2026 · Apple M4

gemma-4-31b-it-mlx

LM-STUDIO MLX

gemma4 · 31B · 8bit

Excellent

Aug 19, 2026 · Apple M4 Max

Global Score
76 vs 85
Hardware Fit
88 vs 64
Quality Score
71 vs 94

Hardware

glm4:9b gemma-4-31b-it-mlx
MachineMacBook AirMacBook Pro
CPUApple M4Apple M4 Max
Cores1016
RAM32 GB128 GB
GPUApple M4Apple M4 Max
OSmacOS 26.3macOS 26.5.2
Archarm64arm64
Power Modebalancedbalanced

Performance

glm4:9b gemma-4-31b-it-mlx
Tokens/sec19.013.6
First chunk290 ms16 ms
TTFT290 ms558 ms
Load time0.8 s12.3 s
Memory usage8.1 GB0.0 GB
Memory %25%0%

HW Fit Score Breakdown

glm4:9b

Speed
38/50
TTFT
20/20
Memory
30/30

gemma-4-31b-it-mlx

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

Quality

glm4:9b

Reasoning
14/20
Coding
15/20
Instruction
14/20
Structured
13/15
Math
5/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Weak Multilingual: Strong

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

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