Some links on this page are affiliate links: if you sign up through them, this site earns a commission at no extra cost to you. Prices and recommendations are not affected.
Every server you run has a moment it wants to tell you something: a backup finished, a disk hit 90%, a deploy rolled out. The question is which pipe carries that message to your phone. Three names keep coming up - ntfy, Gotify and Pushover - and they solve the same problem in three different ways. This is the comparison that says which one to pick, with the numbers from each project’s own docs.
The three in one line
ntfy turns a notification into a plain HTTP request. curl -d "backup done" ntfy.sh/mytopic is the whole API. The server is a single statically-linked binary you can also self-host.
Gotify is a self-hosted server with a stricter split: applications send messages over a REST API, clients receive them in real time over a WebSocket. It ships under the MIT license.
Pushover is the commercial one. You pay $4.99 once per platform, the messages route through Pushover’s own infrastructure, and you get features the self-hosted pair does not have out of the box.
| ntfy | Gotify | Pushover | |
|---|---|---|---|
| Price | free | free | $4.99 one-time per platform |
| Open source | yes, self-hostable | yes (MIT) | no |
| iOS app | yes | no | yes |
| Android app | yes | yes | yes |
| Publish | HTTP PUT/POST | REST API + app token | REST API + app token |
| Receive | HTTP stream / apps | WebSocket | proprietary push |
| Message limit | your server | your server | 10,000/month per user |
ntfy: a notification is just an HTTP call
ntfy’s core idea is that publishing should be as boring as curl. There is no SDK to install, no token to manage for a first test - you POST or PUT the message body to a topic and it is delivered.
curl -d "Backup successful" ntfy.sh/mytopic
Topics do not need to be created in advance: you pick a name and use it. The catch is in the same sentence. Topic names are public, so anyone who can guess yours can read it or publish to it. On the hosted ntfy.sh that is exactly how it behaves; on your own instance it is the default until you turn authentication on.
Self-hosting ntfy is deliberately small. It is a single statically-linked binary shipped as a tarball, deb/rpm package or a Docker image (binwiederhier/ntfy, current release v2.38.0), and it serves both the web UI and the API on port 80. The only file it needs is /etc/ntfy/server.yml, plus a cache directory if you want messages to survive a restart - by default the cache lives in memory for 12 hours.
docker run -p 80:80 -it binwiederhier/ntfy serve
Authentication is opt-in, which is the part to get right. Setting an auth-file enables access control, and auth-default-access: deny-all locks topics down so only users you create can read or publish. Leave both unset and the server is open to whoever reaches it - fine on a LAN, wrong on a public VPS. The same reasoning applies as in our inherited server audit: a service exposed to the internet with anonymous write access is a service someone will find.
Gotify: an app-token model with a WebSocket
Gotify draws a hard line between senders and receivers. An application is something that sends messages and can only send. A client is a device that receives messages and cannot send. You create both in the web UI and each gets its own token, so a script that only ever publishes never holds a token that can read.
Sending is a REST call; receiving is real time over a WebSocket. That is the main architectural difference from ntfy: instead of polling an HTTP stream, the Android app holds a persistent WebSocket connection and messages arrive the moment they are sent. The server is open source under the MIT license and runs from the gotify/server Docker image, with a web UI, a CLI for scripting, and a plugin system.
The client story is the weak point to check before you commit: the official client is Android only. There is no official iOS app, so if half your devices are iPhones, Gotify alone does not cover them.
Pushover: pay once, get the on-call features
Pushover is the opposite of both: there is nothing to self-host, and it costs money. The price is $4.99 one-time per platform - iPhone/iPad, Android and Desktop are separate purchases, but every device of the same platform is covered by the one purchase. There is no subscription for individuals; you can try it free for 30 days. Sending is capped at 10,000 messages per month per user, and teams pay $5 per user per month instead.
What you get for the money is the feature the free pair only approximates: emergency priority. A message with priority=2 repeats itself - sound and vibration included - until a human acknowledges it, and the API returns a receipt you can poll or get called back on. That is a genuine on-call tool: it keeps nagging until someone says “I got it”. Regular messages can also carry HTML or monospace formatting and image attachments.
Sending is one HTTPS POST to https://api.pushover.net/1/messages.json with an app token, a user key and the message. HTTPS is required and the app token is what identifies your application.
What you actually pay
The dollar comparison hides the real cost, which is the same for every self-hosted tool:
- ntfy and Gotify cost a server, not a licence. On the VPS comparison the Hetzner CX23 we benchmark is €5.49 a month; both services run on a fraction of that box, but you still own the patching and the uptime. Against that,
ntfy.shhas a free hosted tier - with its own limits - if you want zero server. - Pushover costs money but not a server. $4.99 per platform, once, and Pushover runs the delivery. The 10,000-message monthly cap is the only real limit, and it is generous for a personal scripts-and-alerts workload.
So the cheapest option is the one that fits how you already operate. If you already rent a VPS, ntfy or Gotify add nothing to the bill. If you run nothing and want alerts today, $4.99 once is cheaper than a year of a €5.49 server.
The self-hosting part
If you go the self-hosted route, both services live behind the same reverse proxy you already run. ntfy and Gotify both serve plain HTTP on their container’s port 80, so the setup is: point a Caddy or nginx virtual host at the container, terminate TLS there, and let the proxy handle the certificate. The Caddy + Docker guide is the exact config this site uses, and it applies to either service unchanged.
The one decision that differs per tool is the auth you must turn on before exposing it:
- ntfy: set
auth-fileandauth-default-access: deny-all, then create a user. Without this, the default is anonymous read-write on every topic. - Gotify: auth is on from the start - users, applications and clients are the whole model - but you still pick the initial admin password and should put the server behind TLS.
- Pushover: nothing to configure; the token and user key are the auth.
Which to pick
Pick ntfy if you want notifications to be one curl line, you have iOS and Android to cover, and you either self-host or accept the hosted tier’s limits. It is the simplest mental model: an HTTP call is a notification.
Pick Gotify if you want strict separation of senders and receivers, real-time WebSocket delivery, and you are an Android-only or server-to-server shop. The app-token model and the plugin system make it the tidier choice when many different scripts and services publish.
Pick Pushover if you have no server to host on, you need the emergency-priority on-call feature with acknowledgement receipts, or you want the whole thing to just work on iOS and Android without running anything. $4.99 once is the whole cost of never touching a config file.
If you are self-hosting either of the free ones, start with the VPS comparison to pick the box, then the Caddy + Docker guide to put it behind TLS, and the inherited server audit as the checklist before you open a port.
FAQ
Is ntfy free?
Yes. The server is open source and self-hostable for free, and the hosted ntfy.sh has a free tier. Self-hosting costs only the machine it runs on.
Is Gotify free? Yes. It is open source under the MIT license and self-hosted; you pay only for the server. There is no hosted tier.
How much does Pushover cost? $4.99 one-time per platform (iPhone/iPad, Android, Desktop), with a 30-day free trial and no subscription for individuals. Sending is limited to 10,000 messages per user per month; teams pay $5 per user per month.
Does Gotify have an iOS app? No. The official client is Android only. If you need iOS, ntfy (official iOS app) or Pushover are the options that cover it.
Which one is best for on-call alerts?
Pushover. Its emergency priority (priority=2) repeats the notification until it is acknowledged and returns a receipt you can track. ntfy and Gotify deliver messages but do not nag for acknowledgement.
Do I need a VPS to self-host ntfy or Gotify? Yes, something has to run the server. Both are single small services that fit on the cheapest VPS tier, and both sit behind the reverse proxy you already use.
What’s next
The box underneath is the actual purchase. The VPS comparison breaks down Hetzner vs DigitalOcean vs Vultr with benchmarks we ran ourselves, and the Caddy + Docker guide shows the reverse-proxy setup that puts either service behind TLS in minutes.