Most Raspberry Pi projects assume there’s a wired network to plug into. A pump-house logger, a gate controller at the end of a farm track or a console server in a rented cabinet breaks that assumption, and so does a home lab that should still answer when the fibre goes down. A cellular HAT gives the Pi its own way out: a modem, a SIM and an antenna, with Linux treating the link like any other interface.
The hard part isn’t the radio. It’s matching the modem to your Pi, your carrier’s bands and the Linux stack that has to drive it. We compared the Raspberry Pi 4G and 5G HATs and USB modems that their makers document for the Pi, built around Quectel and SIMCom modules, and ranked them on speed, host link, band coverage and software path. The behavior described here was checked against the current Debian 13 packages in November 2026.
Which cellular HAT fits which Pi job
Six boards cover the realistic builds, from a Cat-1 telemetry node that sends a few kilobytes an hour to a 5G backup link that has to carry a whole site. They are ordered by throughput first, then by how much setup work they ask of you. Prices are bands from the Amazon listings, which move weekly, so treat the link as the current figure.
Fastest on a Pi 4, Waveshare RM520N-GL 5G HAT with Case: Quectel’s global Sub-6 5G module on a USB 3.1 board, two SIM slots, GNSS and a metal case. About $370, check the live price.
5G over PCIe on a Pi 5, Waveshare PCIe to 5G HAT+: the same RM520N-GL module on the Pi 5’s PCIe connector, for builds that want the USB ports free. About $350 and listed as low stock, check the live price.
Best all-round LTE kit, Sixfab 4G/LTE Cellular Modem Kit: a Base HAT, a Cat-4 mini PCIe module, PCB antennas and a SIM with starter credit in one box. About $149, check the live price.
Global Cat-4 with GNSS, Waveshare SIM7600G-H 4G HAT: 150 Mbps down, worldwide LTE bands, three u.FL antenna ports and a UART on the header. About $139, check the live price.
Cheapest useful link, Waveshare SIM7670G Cat-1/GNSS HAT: 10 Mbps LTE Cat-1 with GNSS and three extra USB 2.0 ports, enough for telemetry and SSH. About $60 and listed as low stock, check the live price.
No HAT at all, Waveshare SIM7600G-H 4G Dongle: the same Cat-4 module as the HAT in a USB stick, so it moves between a Pi, a mini PC and a laptop. About $110, check the live price.
Stock on all six was confirmed through the Amazon catalog API on 20 November 2026, and the two marked low stock showed limited quantities that day. None of them ships a data plan you’d run a site on, so budget a SIM from a carrier that covers the place the Pi will live.
How we picked and what we ran ourselves
The hardware facts come from published sources, and every one is attributed to where it was published. The Linux side is different: we ran it. Three kinds of evidence carry the ranking, and it helps to know which is which before you trust a number:
- Board and module specs: the Waveshare wiki and product pages, Sixfab’s kit page, and Quectel’s RM520N series page for the 5G throughput figures.
- Linux driver support: the Raspberry Pi kernel’s
bcm2712_defconfig, the upstreamoptiondriver source and the ModemManager release notes shipped in the Debian package. - Our own lab run: ModemManager and NetworkManager installed and configured on a Debian 13 arm64 machine, which shares its userland with Raspberry Pi OS Trixie. No modem was attached, so the captures show the stack ready and waiting rather than a live 5G session.
We didn’t publish speed claims of our own. Cellular throughput depends far more on the tower, the band and the antenna than on the board, so the Mbps figures you see are the module maker’s category ceilings. What we can show first hand is the part that trips people up: whether the kernel and ModemManager recognise the module, and how the failover route behaves.
How the Raspberry Pi 4G and 5G HATs compare
The host link column decides how much of the modem’s speed the Pi can use, and the setup column decides how long the first evening takes:
| Board | Module | Peak down / up (maker) | Link to the Pi | Pi models (maker) | GNSS | Setup path | Price band |
|---|---|---|---|---|---|---|---|
| Waveshare RM520N-GL 5G HAT with Case | Quectel RM520N-GL | 2.4 Gbps / 900 Mbps (5G SA) | USB 3.1 cable | 4B, 3B+, 3B, CM4 | Yes | AT mode change, then ECM or ModemManager | about $370 |
| Waveshare PCIe to 5G HAT+ | Quectel RM520N-GL | 2.4 Gbps / 900 Mbps (5G SA) | PCIe x1 Gen2 | 5 only | Yes | Waveshare driver script and dial tool | about $350, low stock |
| Sixfab 4G/LTE Cellular Modem Kit | Quectel EG25-G class, mini PCIe | 150 / 50 Mbps | USB | 4, 5 | Yes | ModemManager | about $149 |
| Waveshare SIM7600G-H 4G HAT | SIMCom SIM7600G-H | 150 / 50 Mbps | USB micro-B | 5, 4B, 3B, Zero | Yes | ModemManager or RNDIS | about $139 |
| Waveshare SIM7670G Cat-1/GNSS HAT | SIMCom SIM7670G | 10 / 5 Mbps | USB-C or USB-A cable | Any Pi with a USB host port | Yes | RNDIS or ECM | about $60, low stock |
| Waveshare SIM7600G-H 4G Dongle | SIMCom SIM7600G-H | 150 / 50 Mbps | USB-A plug | Any USB host | Port only, no antenna | ModemManager or RNDIS | about $110 |
The host link isn’t the bottleneck on either board: a Pi 5’s PCIe 2.0 lane is rated at 500 MB/s, and the Pi 4’s USB 3 controller hangs off a similar lane. The tower is the limit, and so is the Pi’s 1 GbE port when it routes for a LAN. The 5G boards earn their price through newer bands and better behavior on busy cells, not through a number you’ll see in a speed test. For SSH, metrics and a VPN back home, Cat-4 is plenty.
1. Waveshare RM520N-GL 5G HAT with Case: fastest on a Pi 4
This is the board to buy when the cellular link is the site’s main connection, not a spare. It carries Quectel’s RM520N-GL, a 3GPP Release 16 Sub-6 module that Quectel rates at 2.4 Gbps down and 900 Mbps up in standalone 5G, with LTE falling back at 1.6 Gbps. The M.2 board sits in a metal case that Waveshare says fits a Pi 4B.
Data travels over a USB 3.1 cable to the Pi rather than the GPIO header, which carries only control pins. The detail that catches people is power: Waveshare’s wiki says the board needs its own 5V supply on the USB-C input, because a 5G module drawing from the Pi’s USB port alone can disconnect or reset. Waveshare’s product page lists two SIM slots switched over AT commands, and GNSS covering GPS, GLONASS, BeiDou, Galileo and QZSS.
The software route needs a decision. Waveshare’s own recipe switches the module to ECM mode, where it looks like a USB Ethernet adapter and handles the dial itself. That recipe’s first step purges both ModemManager and NetworkManager, which on Raspberry Pi OS removes the system’s network stack and cuts off a headless Pi you reached over Wi-Fi. Skip the purge and let NetworkManager manage the usb0 interface like any USB NIC, with its own route metric. Debian’s ModemManager release notes list RM520N support, so the QMI route with the profile shown later is the other option. Pick ECM for the shortest setup and ModemManager when you want signal and SIM state from mmcli.
Pick it for a remote site where the cellular link carries cameras or file sync, or for a Pi 4 that should fail over to something close to its wired speed. Skip it if a Pi 5 is the host, since the case is cut for the Pi 4B, or if your traffic is a few MQTT messages an hour. About $370, check the live price.
2. Waveshare PCIe to 5G HAT+: 5G on the Pi 5’s PCIe lane
The HAT+ puts the same RM520N-GL module on the Pi 5’s PCIe connector, so the modem stops competing with storage and cameras for USB bandwidth. Waveshare states it supports the Pi 5 only, and the board carries the HAT+ EEPROM, an INA219 power monitor on the 5V rail and four IPEX4 antenna leads. That makes it the tidier hardware build of the two 5G options.

The software is the cost. The module has to be switched into PCIe mode with AT commands, which Waveshare’s wiki does from a Windows PC over the board’s USB-C port. On the Pi you then run Waveshare’s install script, which replaces the stock Pi 5 kernel and device trees with a Waveshare build that includes pcie_mhi, and dial with their tool. We checked the Raspberry Pi kernel config and found no MHI modem driver enabled, which is why the script exists. The catch is that the next Pi kernel package from apt overwrites that kernel, and the modem disappears until you rerun the script.
Pick it for a Pi 5 gateway where USB is already busy and you’re comfortable owning an out-of-tree driver across kernel updates. Skip it if you want apt upgrade to never break the uplink; the USB boards ride on drivers that ship in the kernel. Bring your own module instead with Waveshare’s PCIe to M.2 4G/5G and USB 3.2 HAT+, about $45 without a modem and also low stock. About $350, check the live price.
3. Sixfab 4G/LTE Cellular Modem Kit: the complete LTE starter box
Sixfab sells this as a kit rather than a board, and that is its main advantage. The box holds the Base HAT, a mini PCIe LTE module, stacking headers and spacers, an LTE PCB antenna, an LTE and GNSS dual antenna and a SIM with starter credit. Sixfab lists Pi 4 and Pi 5 support and rates the link at 150 Mbps down and 50 up, which is LTE Cat-4.
On Sixfab’s own store the module is a choice between Quectel’s EG25-G or EG25-GL and two Telit LE910C4 parts. The Amazon listing doesn’t name which one it ships, so read the variant before you buy if your carrier needs a specific band. The Quectel modules sit in the same Cat-4 family as the EC25, whose USB ID the kernel’s option and qmi_wwan drivers already claim.
Pick it for a first cellular build where you want everything that matters in one order, or for a fleet where the mini PCIe slot lets you swap modules per region. Skip it if you need 5G or an outdoor install, since the included antennas are 100 mm u.FL PCB strips meant to sit inside an enclosure. About $149, check the live price.
4. Waveshare SIM7600G-H 4G HAT: global Cat-4 with a serial console
The SIM7600G-H HAT is the long-running workhorse of Pi cellular boards. SIMCom’s module covers LTE Cat-4 at 150 Mbps down and 50 up on a band list that spans the Americas, Europe, Africa and Asia, with 3G and 2G fallback where those networks still run. Waveshare gives it MAIN, AUX and GNSS u.FL connectors, an audio jack and a microSD slot.

Data runs over a short USB micro-B cable to the Pi, while the 40-pin header supplies power and a UART. That UART matters for out-of-band work: when the USB side hangs, you can still reach the modem’s AT port over serial. Waveshare documents PPP, NDIS and RNDIS modes, and ModemManager’s SIMCom plugin has handled the SIM7600 family for years, GNSS included.
Pick it for a remote gateway that has to work in more than one country, or a vehicle build where GNSS logging rides on the same board. Skip it if the Pi sits in a case with no room above the header. About $139, check the live price.
5. Waveshare SIM7670G Cat-1/GNSS HAT: low bandwidth, low cost
LTE Cat-1 tops out at 10 Mbps down and 5 up, and for most remote Pis that’s the right size. A sensor node, a weather station or a box you SSH into twice a week never gets near it. The SIM7670G HAT adds GNSS and the same global band list as the SIM7600G-H, and Waveshare puts three extra USB 2.0 ports on the board.
Waveshare documents RNDIS, NDIS and ECM modes, so the Pi usually sees it as a network interface rather than a modem ModemManager has to dial. If you’re in Europe, Africa or Asia and don’t need GNSS, the A7670E Cat-1 HAT costs about $42 and covers bands B1, B3, B5, B7, B8 and B20. Waveshare’s own page rules it out for North America.
Pick it for telemetry, alerting and occasional remote shells on a tight budget. Skip it if the link will carry video or regular OS updates for a fleet, because 5 Mbps up fills fast. About $60 and listed as low stock on 20 November, check the live price.
6. Waveshare SIM7600G-H 4G Dongle: a modem that isn’t tied to the Pi
A USB modem trades the tidy HAT stack for portability. The SIM7600G-H dongle carries the same Cat-4 module as pick 4, plugs into any USB-A port and takes a nano-SIM, so the radio that serves a Pi today can move to a mini PC or a router tomorrow. Waveshare includes one external LTE antenna; the GNSS connector is there, but its antenna isn’t in the box.
Because it shares the module, it shares the Linux story: the kernel claims SIMCom’s default USB ID, and ModemManager’s SIMCom plugin drives it. The weakness is physical. A stick hanging off a USB port in a vibrating enclosure is the first thing to work loose, and the second LTE path is a small internal flexible PCB antenna, so receive diversity is weaker than on a board with two external antennas.
Pick it for a backup link you also want to use on the road, or for a Pi whose header is taken by a UPS or PoE HAT. Skip it for a permanent outdoor install. About $110, check the live price. If you want a 5G stick instead, Waveshare’s RM520N-GL 5G Dongle was showing a future delivery date on Amazon when we checked.
What antenna to pair with a cellular HAT
The antenna moves your results more than any board in this list, because signal quality, not the bar count on a status page, sets the data rate. Most HATs use small u.FL or IPEX4 sockets, so an outdoor antenna with SMA plugs needs matching pigtails. Four choices cover most builds:
- Proxicast ANT-121-T44, 4×4 MIMO: four 600 to 6000 MHz elements, 3 to 5 dBi, IP67, through-hole mount, made for 5G modules with four ports. About $126, check the live price.
- Proxicast ANT-122-S02, 2×2 MIMO puck: 2.5 dBi, IP67, two SMA plugs on 2 m of low-loss coax, suited to Cat-4 boards. About $65, check the live price.
- Waveshare 5G high gain omni: a whip with an SMA to IPEX4 lead, the cheap way to fill a fourth port on an RM520N board. About $11, check the live price.
- Bingfu magnetic MIMO: two SMA leads on a magnetic base, for getting the antenna out of a metal cabinet onto its roof. About $17, check the live price.
Proxicast specifies a flat metal ground plane at least 8 inches across for the ANT-122 puck, which a cabinet roof provides and a plastic box doesn’t. Coax loses signal with every metre, and thin cable loses more, so keep extensions out of the run. Mount the antenna outside the enclosure, keep the leads short, and only then judge the modem.
How Linux talks to a cellular modem
A USB modem shows up as several interfaces at once, and three layers have to agree before you get an IP address. The kernel binds drivers to each interface, ModemManager works out which port does what, and NetworkManager turns a connected bearer into a route. In order:
- Kernel drivers:
optioncreates the serial ports for AT commands, GNSS and diagnostics, whileqmi_wwanorcdc_mbimcreates the network interface that carries data. - ModemManager: a vendor plugin plus udev rules label each port, then it unlocks the SIM, registers on the network and opens a data bearer.
- NetworkManager: a
gsmconnection profile supplies the APN, asks ModemManager to connect and installs the default route with the metric you chose.
Boards set to ECM or RNDIS skip the middle layer. The module dials on its own and presents a plain Ethernet interface, so NetworkManager treats it like a USB NIC. That’s simpler, but you lose ModemManager’s view of signal, registration and SIM state, which is the information you want when a remote link goes quiet. We installed the stack on our Debian 13 arm64 machine, called edge-gw, with one command:
sudo apt-get install -y modemmanager network-manager libqmi-utils libmbim-utils
The tail of the install shows ModemManager enabling itself as a systemd service, so it starts at boot without further work:
Setting up libqmi-proxy (1.36.0-1) ...
Setting up modemmanager (1.24.0-1+deb13u1) ...
Created symlink '/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service' → '/usr/lib/systemd/system/ModemManager.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/ModemManager.service' → '/usr/lib/systemd/system/ModemManager.service'.
Setting up libqmi-utils (1.36.0-1) ...
Raspberry Pi OS already ships NetworkManager, so on a Pi the install mostly adds ModemManager and the QMI and MBIM tools. The versions matter because ModemManager’s release notes date its RM520N support to the release Debian 13 carries. Here is what the packages report on the lab machine:

An older distro with an earlier ModemManager can still see an RM520N, but the port hints and fixes in the newer release are what make it behave. If your Pi runs an older Raspberry Pi OS, that’s a reason to move to the Trixie-based image before blaming the HAT.
How to check the kernel will claim your modem
Each modem announces a USB vendor and product ID, and a driver only binds if its alias table lists that ID. Quectel’s EC25 reports 2c7c:0125, the RM520N reports 2c7c:0801, and the SIM7600 boards ship as 1e0e:9001. We asked the generic Debian arm64 kernel which drivers claim those three:
/usr/sbin/modinfo -k 6.12.117+deb13-arm64 -F alias qmi_wwan | grep -i -E 'v2C7Cp0125|v2C7Cp0801|v1E0Ep9001'
The screenshot runs the same query against option too, and both drivers list all three modems. The in05 on the SIMCom line means qmi_wwan takes interface 5 only, leaving the others to option:

On a Pi the same drivers come from Raspberry Pi’s own kernel. Its Pi 5 config, bcm2712_defconfig, builds USB_SERIAL_OPTION, USB_NET_QMI_WWAN, USB_NET_CDC_MBIM, USB_NET_CDCETHER and USB_NET_RNDIS_HOST as modules, so every USB board here has its driver without a rebuild. The PCIe HAT+ is the exception, since that config enables no MHI modem driver.
Why a cloud or minimal kernel shows no modem
Our first modinfo on the lab machine failed outright, and the cause applies to anyone testing a modem away from a Pi. Debian’s cloud images boot a trimmed cloud-arm64 kernel that leaves out USB modem drivers. ModemManager then sees nothing, and it looks like a dead board:

The fix is the generic kernel, linux-image-arm64 on Debian, which is the one we queried above. The same trap hides in other trimmed cloud and minimal kernels, including some router distros. If modinfo qmi_wwan can’t find the module, no amount of ModemManager debugging will help, so check the kernel first.
What ModemManager does before a modem arrives
ModemManager runs as a service and waits for udev to announce a modem. With nothing plugged in, both daemons are active and mmcli has nothing to list, which is the baseline worth knowing before you attach hardware:

Once a board enumerates, mmcli -L should list it within about a minute, and mmcli -m any becomes the command you’ll run most. If the list stays empty with the modem plugged in, look at lsusb and the kernel log before anything else, because a missing driver or a brown-out reset both leave ModemManager with nothing to probe.
How does ModemManager know which serial port to send AT commands to? The Quectel plugin ships udev rules that label each USB interface by number. We pulled the rules for the EC25 and RM520N IDs:

Interface 00 is diagnostics, 01 is the GPS stream, 02 is the primary AT port and 03 is the secondary. That’s why switching a Quectel module between QMI, ECM and MBIM with AT commands changes what ModemManager sees: the interface layout moves, and the rules only fit the layouts the plugin knows.
How the cellular profile and failover route work
Failover on a Pi doesn’t need a script. NetworkManager installs a default route for every connected interface, and the kernel always prefers the lowest metric. Give the wired link a low metric and the cellular link a high one, and traffic moves to cellular the moment the wired route disappears. This is the profile we created for the modem:
sudo nmcli connection add type gsm ifname '*' con-name lte gsm.apn internet ipv4.route-metric 700 ipv6.route-metric 700 connection.autoconnect yes connection.autoconnect-retries 0
Replace internet with your carrier’s APN. NetworkManager already gives mobile broadband a default metric of 700, against 100 for Ethernet, so writing it out just pins the value. The ifname '*' lets the profile bind to whichever modem ModemManager finds, and autoconnect-retries 0 means retry forever, which is what you want on a site nobody visits. Reading the profile back confirms each field:

The device column reads -- because there’s no modem yet. To show the route behavior without one, we added a dummy interface named wwan-sim with the same metric of 700 and brought it up beside the wired link:

Two default routes coexist, and ip route get 1.1.1.1 picks the metric 100 path through the wired gateway. When that link drops, its route leaves the table and the 700 route takes over without a restart. The catch is that a link can stay up while the upstream is dead, so add a connectivity check if your ISP fails that way. Our nmcli cheat sheet lists the profile options.
What to decide before you buy
Start with the job, not the radio. A backup link that only carries SSH and a VPN home is a Cat-1 or Cat-4 job, and a site that streams cameras over cellular is a 5G job. Then work through the constraints that rule boards out:
- Bands: check your carrier’s LTE and 5G bands against the module’s list; the A7670E, for example, has none of the North American bands.
- Pi model: the PCIe HAT+ is Pi 5 only, the RM520N case fits a Pi 4B, and the USB boards work on either.
- Power: 5G modules want their own 5V supply, and a Pi that also feeds an SSD needs the full official supply; our Raspberry Pi 5 kit guide notes which bundles include it.
- Header space: a modem HAT, a UPS HAT for the Pi 5 and a case all want the same space, so plan the stack or use the dongle.
If the Pi’s only role is to keep a home network online, a dedicated router may suit you better; our 5G failover router comparison covers OPNsense dual WAN. For out-of-band reach into a rack, a cellular Pi pairs naturally with the boxes in our console server guide and the IP KVM roundup.
Common misconceptions about cellular HATs
The first is that 5G means a fast link. The module’s ceiling is real, but a Pi behind a metal enclosure with stick antennas on a congested cell often lands closer to LTE speeds. Antenna placement and SINR decide the result, and a Cat-4 board with a good outdoor antenna regularly beats a 5G board with a poor one.
The second is that a public IP comes with the SIM. Most mobile carriers put data SIMs behind carrier-grade NAT, so you can’t SSH into the Pi from outside. Out-of-band access over cellular almost always means the Pi dials out, through WireGuard, Tailscale or a reverse tunnel. Our travel router guide covers the same tunnel model on dedicated hardware.
The third is that failover needs custom scripts. Route metrics do the switching, as the route table above shows, and scripts are only needed for the case a metric can’t see: a link that’s up with a dead upstream. Get the kernel driver, the ModemManager plugin and the metric right, and the cellular HAT becomes the dull, dependable path it should be.



