Back to leaderboard

starcoder2:7b

OLLAMA GGUF

starcoder2 · 7B · Q4_0

Not Rec.

Mar 2, 2026 · Apple M4

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Apr 13, 2026 · Apple M4 Max

Global Score
35 vs 76
Hardware Fit
97 vs 46
Quality Score
8 vs 89

Hardware

starcoder2:7b 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 Modebalancedbalanced

Performance

starcoder2:7b gemma4:31b
Tokens/sec23.822.4
First chunkN/A565 ms
TTFT251 ms30.0 s
Load time0.4 s6.9 s
Memory usage6.3 GB43.9 GB
Memory %20%69%

HW Fit Score Breakdown

starcoder2:7b

Speed
37/50
TTFT
30/20
Memory
30/30

gemma4:31b

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

Quality

starcoder2:7b

Reasoning
0/20
Coding
1/20
Instruction
4/20
Structured
2/15
Math
0/15
Multilingual
1/10
Reasoning: Poor Coding: Poor Instruction Following: Poor Structured Output: Poor Math: Poor Multilingual: Poor

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