Raspberry Pi 4 · 8 GB local AI benchmarks
8 measured configurations across language, transcription.
Explore all device timings and compare hardware
Gemma 4 on Raspberry Pi
Raspberry Pi 4 · 8 GB recorded 1.68 tok/s for Gemma 4 E2B (Q4_K_M · llama.cpp a1cfb64). 2 published configurations in this suite.
| Language model | Test settings | Generate text |
|---|---|---|
| Gemma 4 E2B | Q4_K_M · llama.cpp a1cfb64 | 1.68 tok/s |
| Gemma 4 E4B | Q4_0 · llama.cpp a1cfb64 | 0.87 tok/s |
Measurement conditions
Potato OS, April 2026. One llama-bench repetition with 512 prompt and 128 generated tokens. Boards, storage and swap differ. The 26B-A4B llama-bench run exhausted memory on the 8 GB Pi 5.
Speech recognition on Raspberry Pi
Raspberry Pi 4 · 8 GB recorded 20.6 s for Vosk small-en-us-0.15 (60 seconds of speech). 6 published configurations in this suite.
| Transcription model | Test settings | Elapsed time | Memory |
|---|---|---|---|
| Vosk small-en-us-0.15 | 60 seconds of speech | 20.6 s | 4.24 GiB · Mean resident RAM |
| Whisper tiny | 60 seconds of speech | 27.7 s | 0.28 GiB · Mean resident RAM |
| Whisper base | 60 seconds of speech | 41.7 s | 0.62 GiB · Mean resident RAM |
| Whisper small | 60 seconds of speech | 83.5 s | 1.54 GiB · Mean resident RAM |
Measurement conditions
Table 9 compares mean runtime, mean resident memory and word error on 60-second English inputs. Both boards had 8 GB of RAM and ran 64-bit Bookworm. The paper reports identical mean RSS and WER across boards for each model.