Back to leaderboard

gemma4:31b

OLLAMA GGUF

gemma4 · 31.3B · Q4_K_M

Not Rec.

Jul 7, 2026 · Cortex-X925

llama2:7b

OLLAMA GGUF

llama · 7B · Q4_0

Marginal

Mar 2, 2026 · Apple M4

Global Score
66 vs 55
Hardware Fit
40 vs 99
Quality Score
77 vs 36

Hardware

gemma4:31b llama2:7b
MachineASUSTeK COMPUTER INC. GX10MacBook Air
CPUCortex-X925Apple M4
Cores2010
RAM122 GB32 GB
GPUDevice 2e12Apple M4
OSUbuntu 24.04.4 LTSmacOS 26.3
Archarm64arm64
Power Modeperformancebalanced

Performance

gemma4:31b llama2:7b
Tokens/sec10.725.1
First chunk983 msN/A
TTFT20.3 s228 ms
Load time8.8 s0.4 s
Memory usage21.4 GB5.8 GB
Memory %18%18%

HW Fit Score Breakdown

gemma4:31b

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

llama2:7b

Speed
39/50
TTFT
30/20
Memory
30/30

Quality

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

llama2:7b

Reasoning
4/20
Coding
3/20
Instruction
13/20
Structured
8/15
Math
1/15
Multilingual
7/10
Reasoning: Poor Coding: Poor Instruction Following: Adequate Structured Output: Adequate Math: Poor Multilingual: Adequate

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