Raspberry Pi 5
Measured Raspberry Pi 5 inference performance by language model, runtime, precision and workload.
Specifications
- System memory
- 2 GB or 8 GB shared LPDDR4X-4267 in identified runs
- CPU
- Broadcom BCM2712, 4 Cortex-A76 cores at 2.4 GHz
- GPU
- Integrated VideoCore VII
- Accelerator interface
- PCIe 2.0 ×1
The runs identify 2 GB and 8 GB boards where reported. Rows marked AI HAT+ 2 use a separate Hailo-10H accelerator and its own memory.
LLM inference measurements
One row per tested setup. Prompt processing and token generation may come from separate tests. A dash means the source did not report that metric for the setup.
| Hardware and model | Output token ratetokens/s | Other metrics | Test setup |
|---|---|---|---|
| Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)deepseek_r1_distill_qwen:1.5b | 6.725Output / total server time | — | hailo-ollama 5.1.11 request |
CNX · Pi 5 translation Output 380 tokens · 1 request Non-streaming. The server reported 56.508 s total, including prompt processing where applicable. | |||
| Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)qwen2:1.5b | 5.896Output / total server time | — | hailo-ollama 5.1.11 request |
CNX · Pi 5 translation Output 7 tokens · 1 request Non-streaming. The server reported 1.187 s total, including prompt processing where applicable. | |||
| Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)llama3.2:3b | 2.605Output / total server time | — | hailo-ollama 5.1.11 request |
CNX · Pi 5 translation Output 180 tokens · 1 request Non-streaming. The server reported 69.092 s total, including prompt processing where applicable. | |||
| Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-instruct:1.5b | 6.742Output / total server time | — | hailo-ollama 5.1.11 request |
CNX · Pi 5 translation Output 102 tokens · 1 request Non-streaming. The server reported 15.128 s total, including prompt processing where applicable. | |||
| Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-coder:1.5b | 8.061Output / total server time | — | hailo-ollama 5.1.11 request |
CNX · Pi 5 FFT code generation Output 666 tokens · 1 request Non-streaming. The server reported 82.621 s total, including prompt processing where applicable. | |||
| Raspberry Pi 5 + AI HAT+ 2 (Hailo-10H)Qwen2.5-1.5B | — | 320Time to first token (ms) | UnreportedINT4 (scheme unreported) |
Raspberry Pi 96-token TTFT Input 96 tokens Time from prompt submission to the first generated token. | |||
| Raspberry Pi 5 CPUQwen2.5-1.5B | — | 2,039Time to first token (ms) | llama.cpp (build unreported)INT4 (scheme unreported) |
Raspberry Pi 96-token TTFT Input 96 tokens Time from prompt submission to the first generated token. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)llama3.2:3b | — | 2.658Reported token rate (tokens/s) | Hailo Model Zoo (API unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB CPUllama3.2:3b | — | 5.55Reported token rate (tokens/s) | Ollama (build unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)deepseek-r1-distill-qwen:1.5b | — | 6.851Reported token rate (tokens/s) | Hailo Model Zoo (API unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB CPUdeepseek-r1-distill-qwen:1.5b | — | 10.99Reported token rate (tokens/s) | Ollama (build unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-coder:1.5b | — | 8.127Reported token rate (tokens/s) | Hailo Model Zoo (API unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB CPUqwen2.5-coder:1.5b | — | 9.77Reported token rate (tokens/s) | Ollama (build unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-instruct:1.5b | — | 6.864Reported token rate (tokens/s) | Hailo Model Zoo (API unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB CPUqwen2.5-instruct:1.5b | — | 11.41Reported token rate (tokens/s) | Ollama (build unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2:1.5b | — | 8.25Reported token rate (tokens/s) | Hailo Model Zoo (API unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB CPUqwen2:1.5b | — | 12.47Reported token rate (tokens/s) | Ollama (build unreported) |
Geerling · Pi 5 inference comparison Each runtime used its default model file. The chart omits the timing boundary and prompt. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2:1.5b | — | 8.03Reported token rate (tokens/s) | hailo-ollama (build unreported)Q4_0 (author-reported) · 41 requests in 15 min |
Schwab · 15-minute Pi 5 run 41 requests in 15 min 7,270 reported tokens, averaging 177 per request. Timing boundary unspecified. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-coder:1.5b | — | 7.94Reported token rate (tokens/s) | hailo-ollama (build unreported)Q4_0 (author-reported) · 51 requests in 15 min |
Schwab · 15-minute Pi 5 run 51 requests in 15 min 7,183 reported tokens, averaging 141 per request. Timing boundary unspecified. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)deepseek_r1_distill_qwen:1.5b | — | 6.83Reported token rate (tokens/s) | hailo-ollama (build unreported)Q4_0 (author-reported) · 8 requests in 15 min |
Schwab · 15-minute Pi 5 run 8 requests in 15 min 6,368 reported tokens, averaging 796 per request. Timing boundary unspecified. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)qwen2.5-instruct:1.5b | — | 6.76Reported token rate (tokens/s) | hailo-ollama (build unreported)Q4_0 (author-reported) · 40 requests in 15 min |
Schwab · 15-minute Pi 5 run 40 requests in 15 min 6,107 reported tokens, averaging 153 per request. Timing boundary unspecified. | |||
| Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)llama3.2:3b | — | 2.65Reported token rate (tokens/s) | hailo-ollama (build unreported)Q4_0 (author-reported) · 5 requests in 15 min |
Schwab · 15-minute Pi 5 run 5 requests in 15 min 2,312 reported tokens, averaging 462 per request. Timing boundary unspecified. | |||
Sources
View all references (8)
- Raspberry Pi · Raspberry Pi 5 specifications · Hardware specifications
- Raspberry Pi · AI HAT specifications · Hardware specifications
- Hailo / Raspberry Pi · Where the AI HAT+ 2 really excels · TTFT footnote
Coverage (2)
- Raspberry Pi 5 + AI HAT+ 2 (Hailo-10H) · Qwen2.5-1.5B · Raspberry Pi 96-token TTFT
- Raspberry Pi 5 CPU · Qwen2.5-1.5B · Raspberry Pi 96-token TTFT
- Jeff Geerling · Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)
Coverage (10)
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · llama3.2:3b · Geerling · Pi 5 inference comparison · LLM inference performance · llama3.2:3b · 15 Jan 2026
- Raspberry Pi 5 8 GB CPU · llama3.2:3b · Geerling · Pi 5 inference comparison · LLM inference performance · llama3.2:3b · 15 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · deepseek-r1-distill-qwen:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB CPU · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · deepseek-r1-distill-qwen:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2.5-coder:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB CPU · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2.5-coder:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2.5-instruct:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB CPU · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2.5-instruct:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2:1.5b · 15 Jan 2026
- Raspberry Pi 5 8 GB CPU · qwen2:1.5b · Geerling · Pi 5 inference comparison · LLM inference performance · qwen2:1.5b · 15 Jan 2026
- Jeff Geerling · Source data
Coverage (10)
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · llama3.2:3b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · llama3.2:3b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2:1.5b · Geerling · Pi 5 inference comparison
- Jeff Geerling · Video
Coverage (10)
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · llama3.2:3b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · llama3.2:3b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · deepseek-r1-distill-qwen:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2.5-coder:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2.5-instruct:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2:1.5b · Geerling · Pi 5 inference comparison
- Raspberry Pi 5 8 GB CPU · qwen2:1.5b · Geerling · Pi 5 inference comparison
- Bryan Schwab · Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H)
Coverage (5)
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2:1.5b · Schwab · 15-minute Pi 5 run · Detailed Results · qwen2:1.5b · 25 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-coder:1.5b · Schwab · 15-minute Pi 5 run · Detailed Results · qwen2.5-coder:1.5b · 25 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · deepseek_r1_distill_qwen:1.5b · Schwab · 15-minute Pi 5 run · Detailed Results · deepseek_r1_distill_qwen:1.5b · 25 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-instruct:1.5b · Schwab · 15-minute Pi 5 run · Detailed Results · qwen2.5-instruct:1.5b · 25 Jan 2026
- Raspberry Pi 5 8 GB + AI HAT+ 2 (Hailo-10H) · llama3.2:3b · Schwab · 15-minute Pi 5 run · Detailed Results · llama3.2:3b · 25 Jan 2026
- CNX Software · Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H)
Coverage (5)
- Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H) · deepseek_r1_distill_qwen:1.5b · CNX · Pi 5 translation · Benchmarking LLM performance · /api/chat · deepseek_r1_distill_qwen:1.5b
- Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H) · qwen2:1.5b · CNX · Pi 5 translation · Benchmarking LLM performance · /api/chat · qwen2:1.5b
- Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H) · llama3.2:3b · CNX · Pi 5 translation · Benchmarking LLM performance · /api/chat · llama3.2:3b
- Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-instruct:1.5b · CNX · Pi 5 translation · Benchmarking LLM performance · /api/chat · qwen2.5-instruct:1.5b
- Raspberry Pi 5 2 GB + AI HAT+ 2 (Hailo-10H) · qwen2.5-coder:1.5b · CNX · Pi 5 FFT code generation · Benchmarking LLM performance · /api/chat · qwen2.5-coder:1.5b
