Skip to content
Tutorials Center
My learning

Topics

Lesson 2 of 37 ยท Getting Started

Raspberry Pi Models Compared

Compare the Raspberry Pi 5, Pi 4, Pi 3, Pi Zero 2 W and Pico, and learn how to pick the right model for your project and budget.

Raspberry Pi is a family, not a single board. Over the years the Foundation has released many models, and several are on sale at the same time. They share the same 40-pin GPIO header layout and the same operating system, so most code and tutorials work on all of them. What changes is speed, memory, ports and price. This lesson helps you choose the right board without over-spending.

The main families

Full-size boards (the Pi 5, Pi 4 Model B and the older Pi 3 B+) are the all-rounders. They have four USB ports, full-size HDMI or micro-HDMI, Ethernet and Wi-Fi. Use them as a desktop, a server or the brain of a big project.

Zero boards (Pi Zero, Zero W, Zero 2 W) are tiny, about the size of a stick of gum. They have fewer ports, usually one micro-USB data port plus power, and a mini-HDMI output. The Zero 2 W has a quad-core processor and Wi-Fi, which makes it a favorite for small, cheap, battery-friendly builds.

Compute Modules are the Pi's guts without the ports, meant to be plugged into a custom product board. You will meet them only if you build a commercial device.

Raspberry Pi Pico is different: it is a microcontroller board based on the RP2040 chip (the Pico 2 uses the RP2350). It does not run Linux. You program it in MicroPython or C. It is cheap and perfect for simple real-time jobs.

Raspberry Pi 400 and 500 are keyboards with a Pi built in, ideal for a plug-and-play desktop.

Specifications at a glance

The table lists typical figures. Always check the official product page for the exact current numbers, because memory options and prices change over time.

Model CPU cores Typical RAM options Wi-Fi Ethernet Good for
Pi 5 4 (Cortex-A76) 2 to 16 GB Yes Gigabit Desktop, servers, fast projects
Pi 4 B 4 (Cortex-A72) 1 to 8 GB Yes Gigabit All-round learning
Pi 3 B+ 4 (Cortex-A53) 1 GB Yes Gigabit (limited by USB 2) Budget builds
Zero 2 W 4 (Cortex-A53) 512 MB Yes No Tiny, low-power projects
Pico 2 (RP2040) 264 KB Pico W only No Real-time microcontroller tasks

Choosing a model

Pick by the job

Desktop use Pi 5 with 4 GB or more
Home server Pi 4 or Pi 5
1 / 2

A simple rule of thumb: if you are unsure, buy a Pi 4 or Pi 5 with 4 GB of RAM. It is fast enough for every lesson in this course. Buy a Zero 2 W when size, price or power draw matters more than speed. Buy a Pico when you need exact timing and no operating system.

Two other differences matter in practice. First, power: the Pi 5 expects a 5 V, 5 A USB-C supply to give its USB ports full power, while the Pi 4 is happy with 5 V 3 A. Second, cooling: the Pi 5 and a busy Pi 4 get warm under load, so a small heatsink or fan is worth the few dollars.

Which architecture, 32-bit or 64-bit?

Models from the Pi 3 on have 64-bit processors. Raspberry Pi OS now ships mainly as a 64-bit system, which is the right choice for the Pi 4 and Pi 5. The original Pi Zero and Pi 1 are 32-bit only (ARMv6), so they need the 32-bit image. The installer in Raspberry Pi OS and the Imager picks a sensible default for the board you choose.

Try it: a model picker

A tiny rule-based helper makes the decision explicit. Change the inputs and watch the advice change.

Python Stand-in: model picker

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Reading the board's own name

Once you own a Pi, you can ask it which model it is. On a real board, this read-only command prints the model string:

Terminal
cat /proc/device-tree/model

A typical answer looks like Raspberry Pi 4 Model B Rev 1.5. The runnable block below parses such a string the way a script would, so you can see how a program recognizes the board it runs on.

Python Stand-in: parse a model string

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. Which board is a microcontroller that does NOT run Linux?

    The Pico uses the RP2040 or RP2350 chip and runs MicroPython or C programs, not Linux.
  2. 2. Which model is the best fit for a tiny, low-power, cheap project that still needs Wi-Fi and Linux?

    The Zero 2 W combines a small size, quad-core CPU and Wi-Fi at a low price.
  3. 3. What do almost all Pi models with a 40-pin header share?

    The 40-pin header layout is the same across modern models, so most GPIO code is portable.

Summary

  • The family covers full-size boards, tiny Zero boards, Compute Modules, keyboards-with-a-Pi and the Pico microcontroller.
  • A Pi 4 or Pi 5 with 4 GB is a safe all-round choice; the Zero 2 W is for small builds.
  • The Pico does not run Linux and is for real-time microcontroller work.
  • Check the official site for current specs and prices.

Next: Hardware Tour and Pinout