Back to leaderboard

codellama:7b

OLLAMA GGUF

llama · 7B · Q4_0

Good

Mar 1, 2026 · Apple M4

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Jul 7, 2026 · Cortex-X925

Global Score
63 vs 66
Hardware Fit
97 vs 40
Quality Score
49 vs 77

Hardware

codellama:7b gemma4:31b
MachineMacBook AirASUSTeK COMPUTER INC. GX10
CPUApple M4Cortex-X925
Cores1020
RAM32 GB122 GB
GPUApple M4Device 2e12
OSmacOS 26.3Ubuntu 24.04.4 LTS
Archarm64arm64
Power Modebalancedperformance

Performance

codellama:7b gemma4:31b
Tokens/sec23.610.7
First chunkN/A983 ms
TTFT297 ms20.3 s
Load time0.9 s8.8 s
Memory usage12.6 GB21.4 GB
Memory %39%18%

HW Fit Score Breakdown

codellama:7b

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

gemma4:31b

Speed
10/50
TTFT
0/20
Memory
30/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:31b

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