Back to leaderboard

codellama:7b

llama · 7B · Q4_0

Good

Mar 1, 2026 · Apple M4

llama2:13b

llama · 13B · Q4_0

Marginal

Mar 2, 2026 · Apple M4

Global Score
63 vs 56
Hardware Fit
97 vs 84
Quality Score
49 vs 44

Hardware

codellama:7b llama2:13b
MachineMacBook AirMacBook Air
CPUApple M4Apple M4
Cores1010
RAM32 GB32 GB
GPUApple M4Apple M4
OSmacOS 26.3macOS 26.3
Archarm64arm64
Power Modebalancedbalanced

Performance

codellama:7b llama2:13b
Tokens/sec23.613.5
TTFT297 ms415 ms
Load time0.9 s0.6 s
Memory usage12.6 GB10.3 GB
Memory %39%32%

HW Fit Score Breakdown

codellama:7b

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

llama2:13b

Speed
24/40
TTFT
30/30
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

llama2:13b

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

Run yours and compare

npx metrillm@latest bench

Requires Node 20+ and Ollama or LM Studio running