Back to leaderboard

google/gemma-3-4b

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

codellama:7b

llama · 7B · Q4_0

Good

Mar 1, 2026 · Apple M4

Global Score
74 vs 63
Hardware Fit
93 vs 97
Quality Score
66 vs 49

Hardware

google/gemma-3-4b codellama:7b
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

google/gemma-3-4b codellama:7b
Tokens/sec22.223.6
TTFT1.9 s297 ms
Load time0.0 s0.9 s
Memory usage0.0 GB12.6 GB
Memory %0%39%

HW Fit Score Breakdown

google/gemma-3-4b

Speed
35/40
TTFT
28/30
Memory
30/30

codellama:7b

Speed
37/40
TTFT
30/30
Memory
30/30

Quality

google/gemma-3-4b

Reasoning
10/20
Coding
17/20
Instruction
13/20
Structured
12/15
Math
4/15
Multilingual
10/10
Reasoning: Adequate Coding: Strong Instruction Following: Adequate Structured Output: Strong Math: Weak Multilingual: Strong

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

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running