Back to leaderboard

codellama:7b

OLLAMA GGUF

llama · 7B · Q4_0

Good

Mar 1, 2026 · Apple M4

gemma4:12b

OLLAMA GGUF

gemma4 · 11.9B · Q4_K_M

Not Rec.

Aug 22, 2026 · Apple M1 Pro

Global Score
63 vs 63
Hardware Fit
97 vs 62
Quality Score
49 vs 63

Hardware

codellama:7b gemma4:12b
MachineMacBook AirMacBook Pro
CPUApple M4Apple M1 Pro
Cores1010
RAM32 GB16 GB
GPUApple M4Apple M1 Pro
OSmacOS 26.3macOS 26.6.2
Archarm64arm64
Power Modebalancedbalanced

Performance

codellama:7b gemma4:12b
Tokens/sec23.615.3
First chunkN/A1142 ms
TTFT297 ms30.0 s
Load time0.9 s5.4 s
Memory usage12.6 GB7.6 GB
Memory %39%47%

HW Fit Score Breakdown

codellama:7b

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

gemma4:12b

Speed
36/50
TTFT
0/20
Memory
26/30

Quality

codellama:7b

Reasoning
6/20
Coding
7/20
Instruction
12/20
Structured
13/15
Math
3/15
Multilingual
8/10
Reasoning: Weak Coding: Weak Instruction Following: Adequate Structured Output: Strong Math: Poor Multilingual: Strong

gemma4:12b

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