Back to leaderboard

codestral:22b

OLLAMA GGUF

llama · 22.2B · Q4_0

Good

Jun 26, 2026 · Cortex-X925

gemma-4-31b-it-mlx

LM-STUDIO MLX

gemma4 · 31B · 8bit

Excellent

Aug 19, 2026 · Apple M4 Max

Global Score
67 vs 85
Hardware Fit
67 vs 64
Quality Score
67 vs 94

Hardware

codestral:22b gemma-4-31b-it-mlx
MachineNVIDIA NVIDIA_DGX_SparkMacBook Pro
CPUCortex-X925Apple M4 Max
Cores2016
RAM122 GB128 GB
GPUDevice 2e12Apple M4 Max
OSUbuntu 24.04.4 LTSmacOS 26.5.2
Archarm64arm64
Power Modeperformancebalanced

Performance

codestral:22b gemma-4-31b-it-mlx
Tokens/sec17.213.6
First chunk129 ms16 ms
TTFT129 ms558 ms
Load time11.6 s12.3 s
Memory usage18.9 GB0.0 GB
Memory %16%0%

HW Fit Score Breakdown

codestral:22b

Speed
17/50
TTFT
20/20
Memory
30/30

gemma-4-31b-it-mlx

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

Quality

codestral:22b

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