Back to leaderboard

codegemma:7b

gemma · 9B · Q4_0

Good

Mar 1, 2026 · Apple M4

phi4-mini

Not Rec.

Mar 1, 2026 · Apple M4

Global Score
65 vs 38
Hardware Fit
91 vs 64
Quality Score
48 vs 21

Hardware

codegemma:7b phi4-mini
MachineMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

codegemma:7b phi4-mini
Tokens/sec19.221.7
TTFT316 ms11.9 s
Load time0.1 s3.5 s
Memory usage8.7 GB0.0 GB
Memory %27%0%

HW Fit Score Breakdown

codegemma:7b

Speed
31/40
TTFT
30/30
Memory
30/30

phi4-mini

Speed
31/40
TTFT
3/30
Memory
30/30

Quality

codegemma:7b

Reasoning
1/20
Coding
0/20
Instruction
13/20
Structured
15/15
Math
10/15
Multilingual
9/10
Reasoning: Poor Coding: Poor Instruction Following: Adequate Structured Output: Strong Math: Adequate Multilingual: Strong

phi4-mini

Reasoning
11/20
Coding
0/20
Instruction
0/20
Structured
0/15
Math
5/15
Multilingual
5/10
Reasoning: Adequate Coding: Poor Instruction Following: Poor Structured Output: Poor Math: Weak Multilingual: Adequate

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running