Raspberry Pi 4 vs Raspberry Pi 5 for self-hosting
Same arithmetic for both: total RAM, less a 25% safety margin and about 512 MB for the OS and Docker, is what self-hosted apps can use. Specs below come from the vendors; the app counts come from our catalog.
Criterion
Raspberry Pi 4 (4 GB)
Raspberry Pi 5 (8 GB)
Type
Single-board computer
Single-board computer
Architecture
arm64
arm64
RAM
4 GB
8 GB
RAM left for apps
2,764 MB
6,041 MB
Catalog apps that fit alone
440 of 457
452 of 457
CPU cores
4
4
Raspberry Pi 4 (4 GB)
Raspberry Pi 5 (8 GB)
Type
Raspberry Pi 4 (4 GB): Single-board computerRaspberry Pi 5 (8 GB): Single-board computer
Architecture
Raspberry Pi 4 (4 GB): arm64Raspberry Pi 5 (8 GB): arm64
RAM
Raspberry Pi 4 (4 GB): 4 GBRaspberry Pi 5 (8 GB): 8 GB
RAM left for apps
Raspberry Pi 4 (4 GB): 2,764 MBRaspberry Pi 5 (8 GB): 6,041 MB
Catalog apps that fit alone
Raspberry Pi 4 (4 GB): 440 of 457Raspberry Pi 5 (8 GB): 452 of 457
CPU cores
Raspberry Pi 4 (4 GB): 4Raspberry Pi 5 (8 GB): 4
How they differ
- Raspberry Pi 5 (8 GB) leaves about 6,041 MB for apps against 2,764 MB on Raspberry Pi 4 (4 GB) (2.2x).
not verified on ARMOur measurements were taken on x86 servers, so footprints on ARM may differ, and we have not checked that every app ships an arm64 image.
Raspberry Pi 4 (4 GB)
Our take: A fine first home server for a handful of light apps, but with 4 GB the RAM budget is the limit: count it before you pick apps.
what you take onOnly 4 GB of RAM, so the budget shown on this page runs out after a few mid-sized apps.
what you take onShips with a microSD slot for storage; heavy database writes are a poor fit for a memory card.
what you take onOur idle-RAM figures were measured on x86; we have not verified that every app ships an arm64 image, so check the project's image tags before you plan around this board.
Full Raspberry Pi 4 (4 GB) page · Check your apps against it
Raspberry Pi 5 (8 GB)
Our take: The most RAM-capable Raspberry Pi class here: enough for a sizeable stack of light-to-mid apps, if you can live with arm64.
what you take onRaspberry Pi say the board performs best with active cooling and recommend a high-quality 5V/5A USB-C supply.
what you take onNVMe storage needs a separate M.2 HAT or adapter on its single PCIe 2.0 lane; the board itself has a microSD slot.
what you take onOur idle-RAM figures were measured on x86; we have not verified that every app ships an arm64 image, so check the project's image tags before you plan around this board.
Full Raspberry Pi 5 (8 GB) page · Check your apps against it