Back to leaderboard

qwen3:4b

OLLAMA GGUF

qwen3 · 4.0B · Q4_K_M

Marginal

Mar 1, 2026 · Apple M4

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

Global Score
47 vs 76
Hardware Fit
53 vs 46
Quality Score
45 vs 89

Hardware

qwen3:4b gemma4:31b
MachineMacBook AirMacBook Pro
CPUApple M4Apple M4 Max
Cores1016
RAM32 GB64 GB
GPUApple M4Apple M4 Max
OSmacOS 26.3macOS 26.3.1
Archarm64arm64
Power Modeunknownbalanced

Performance

qwen3:4b gemma4:31b
Tokens/sec11.322.4
First chunkN/A565 ms
TTFT9.2 s30.0 s
Load time0.1 s6.9 s
Memory usage7.2 GB43.9 GB
Memory %23%69%

HW Fit Score Breakdown

qwen3:4b

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

gemma4:31b

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

Quality

qwen3:4b

Reasoning
4/20
Coding
6/20
Instruction
8/20
Structured
6/15
Math
12/15
Multilingual
9/10
Reasoning: Poor Coding: Weak Instruction Following: Weak Structured Output: Weak Math: Strong Multilingual: Strong

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

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