Back to leaderboard

codestral:22b

OLLAMA GGUF

llama · 22.2B · Q4_0

Good

Jun 26, 2026 · Cortex-X925

google/gemma-3-4b

LM-STUDIO MLX

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

Global Score
67 vs 76
Hardware Fit
67 vs 100
Quality Score
67 vs 66

Hardware

codestral:22b google/gemma-3-4b
MachineNVIDIA NVIDIA_DGX_SparkMacBook Air
CPUCortex-X925Apple M4
Cores2010
RAM122 GB32 GB
GPUDevice 2e12Apple M4
OSUbuntu 24.04.4 LTSmacOS 26.3
Archarm64arm64
Power Modeperformancebalanced

Performance

codestral:22b google/gemma-3-4b
Tokens/sec17.239.4
First chunk129 ms468 ms
TTFT129 ms468 ms
Load time11.6 sN/A
Memory usage18.9 GB2.8 GB
Memory %16%9%

HW Fit Score Breakdown

codestral:22b

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

google/gemma-3-4b

Speed
50/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

google/gemma-3-4b

Reasoning
10/20
Coding
17/20
Instruction
13/20
Structured
12/15
Math
4/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