Evaluate local LLMs on Raspberry Pi

gemma4:e2b on a Raspberry Pi 5 (8 GB)

Google · Gemma family · ollama pull gemma4:e2b · Q4_K_M · digest b37049369adf
completionvisionaudiotoolsthinking

On a Raspberry Pi 5 with 8 GB, gemma4:e2b passed 43% with thinking off (tied 1st of 9, 13.6 s per case, 6.2 GB) and 69% with thinking on (2nd of 6, 1.2 min per case, 6.1 GB) of the 160 cases in suite 1.8.0.

Open the interactive page, with every case, its answer and why it failed · Compare with another model · Leaderboard · All models

Thinking off

Accuracy43%
95% interval35–50%
Rank1 of 9
Hard cases36%
Time per case13.6 s
Peak memory6.2 GB
Peak CPU77 °C
Generation12.6 tok/s
10-minute timeouts0

Thinking on

Accuracy69%
95% interval61–75%
Rank2 of 6
Hard cases62%
Time per case1.2 min
Peak memory6.1 GB
Peak CPU77 °C
Generation12.4 tok/s
10-minute timeouts0

Accuracy per track (20 cases each)

TrackThinking
off
Thinking
on
Arithmetic15%100%
Structured65%90%
Agent55%80%
Vision15%35%
Context40%75%
RAG35%65%
Instructions80%75%
Code35%30%

How it was measured

Pi LLM Eval runs 160 fixed cases in 8 tracks on the Pi itself, through Ollama, with thinking off and thinking on. Every answer is checked deterministically, with no LLM judge: typed JSON values are compared exactly, free text is checked rule by rule, code runs against hidden tests in a sandbox, and tool use is judged by the calls made and the final state. Each case has a 10-minute limit. Time per case is the median; memory is the peak used while the model was loaded. Compare results only within one thinking mode.

Methodology · Failure analysis · Run it yourself