Back to leaderboard

google/gemma-3-4b

LM-STUDIO MLX

gemma3 · 4B · 4bit

Good

Mar 3, 2026 · Apple M4

llama3:latest

OLLAMA GGUF

llama · 8.0B · Q4_0

Good

Mar 2, 2026 · Apple M4

Global Score
76 vs 71
Hardware Fit
100 vs 95
Quality Score
66 vs 60

Hardware

google/gemma-3-4b llama3:latest
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 llama3:latest
Tokens/sec39.422.3
First chunk468 msN/A
TTFT468 ms295 ms
Load timeN/A0.8 s
Memory usage2.8 GB5.6 GB
Memory %9%18%

HW Fit Score Breakdown

google/gemma-3-4b

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

llama3:latest

Speed
35/50
TTFT
30/20
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

llama3:latest

Reasoning
9/20
Coding
9/20
Instruction
15/20
Structured
13/15
Math
4/15
Multilingual
10/10
Reasoning: Weak Coding: Weak Instruction Following: Strong Structured Output: Strong Math: Weak 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