Raspberry Pi 5 + AI HAT+ 2 / Qwen2.5-Coder 1.5B
Can a Raspberry Pi 5 + AI HAT+ 2 run Qwen2.5-Coder 1.5B?
Yes, usable but slower than reading speed. Measured generation speed: 2.07–8.06 tok/s across 3 public runs.
Rule of thumb: 10+ tok/s feels like a chat; 4–10 is usable for assistants and automations; under 4 is batch-job territory. Speeds depend on quantization, runtime, context length and cooling. Check each source.
| Board | Quant | Runtime | Gen tok/s | Prompt tok/s | TTFT ms | Source |
|---|---|---|---|---|---|---|
| Raspberry Pi 5 + AI HAT+ 2 Raspberry Pi 5 + AI HAT+ 2 | Hailo-compiled | hailo-ollama | 8.06 | – | – | source ↗ 2026-01-20 |
| Raspberry Pi 5 + AI HAT+ 2 Raspberry Pi 5 8GB + AI HAT+ 2 | Hailo-compiled | hailo-ollama | 7.94 | – | – | source ↗ tested 2026-01-25 |
| Raspberry Pi 5 + AI HAT+ 2 Raspberry Pi 5 + AI HAT+ 2 | not reported | hailo-ollama | 2.07 | – | – | source ↗ 2026-04-24 |
Qwen2.5-Coder 1.5B on other boards
- Raspberry Pi 5 10.26 tok/s best
- Jetson Orin Nano Super 8.66 tok/s best
Buy a Raspberry Pi 5 + AI HAT+ 2
- Raspberry Pi AI HAT+ 2 (add-on, needs a Pi 5): $180 official list price after Apr 2026 increase (launched at $130), source ↗ (2026-04-01) Check price (affiliate slot)
- Raspberry Pi 5 + AI HAT+ 2 (as tested in paper): $451.83 price quoted in arXiv paper, source ↗ (2026-04-24) Check price (affiliate slot)
Ran Qwen2.5-Coder 1.5B on a Raspberry Pi 5 + AI HAT+ 2? Submit your numbers →