Self-Hosted vs Hosted WhatsApp Gateway: Which Makes Sense?
The pitch for a self-hosted WhatsApp gateway is attractive. Your server, your data, no monthly fee to a vendor. A developer on your team says it's an afternoon's work, and he's probably right about the afternoon. It's the next three years he hasn't priced in.
We run a hosted product, so we're biased, and we'll say so. But there are real cases where self-hosting is the better call, and real cases where it quietly becomes someone's second job. Here's how we'd think about it.
What each option really means
With a hosted gateway, the vendor runs the software, keeps it updated, monitors it and handles outages. You log in or call an API. With a self-hosted one, you install and run the software on a server you control, whether that's in your office, on a rented VPS or in your cloud account.
A hosted gateway is not the same as using the Meta Cloud API directly. The cloud API is Meta's service. A gateway sits on top and adds an inbox, campaigns, queueing and so on. You can host that layer yourself or use someone else's.
Where self-hosting wins
- Strict data residency or compliance needs, where customer data must stay inside infrastructure you control.
- An existing IT team that already runs servers, backups and monitoring, and treats one more service as routine.
- Deep customisation, where you need to change how the software itself behaves.
- Very high, predictable volume, where per-plan pricing from a vendor would cost more than running your own.
If three of those sound like you, self-hosting deserves a serious look. Notice that every item assumes you already have technical people with time to spare.
Where hosted wins
Most small businesses don't have a server team. They have one developer, or an outsourced freelancer who is also building the website. For them, hosting a gateway means someone must be responsible for the following:
- 1Keeping the server and the software updated, including security patches.
- 2Monitoring it, and knowing when a number has silently disconnected.
- 3Backing up the database, and testing that the backup restores.
- 4Handling certificates, domains and firewall rules.
- 5Dealing with the 2 AM problem when a campaign is stuck.
Each item is small. Together, with no clear owner, they decay. We've seen self-hosted tools running happily for a year and then break the week the one developer who understood them left. That risk doesn't show up in a cost comparison.
The real cost comparison
Self-hosting is not free. Add the server cost, the backup storage, the developer hours for set-up and upkeep, and the cost of downtime when something fails. Say a developer spends a few hours a month on it. At whatever you pay that person, that number is part of the bill.
Then compare it to a hosted plan, bearing in mind that hosted plans put limits on things like numbers and monthly messages. Our post on choosing plan limits helps you work out what you'll actually need. Don't forget that Meta's own messaging charges apply either way, so confirm them in Meta's current documentation.
Safety and privacy are not automatic either way
A hosted service isn't safe merely because someone else runs it, and a self-hosted one isn't private merely because it's in your cupboard. A badly configured server exposed to the internet is a bigger risk than a well-run hosted service. Ask any vendor how they handle data, including how long they keep media. In WA Getway, for example, downloaded media files are deleted automatically every night, and we explain why in our post on data privacy and media retention.
If you do self-host, treat API keys and server credentials carefully. Our guide to keeping API keys safe applies in both cases.
Ask who gets the alert at 2 AM if the gateway is down, and who will fix it. If the answer is 'probably the developer, I suppose', choose hosted. If the answer is a named person with a runbook, self-hosting is a fair option.
A middle path
You don't have to decide for life. Many teams start hosted, learn what they really need in the first six months, and move to self-hosting later if there's a real reason. The thing to protect is your ability to leave: your contacts, your templates and your message history should be exportable.
If you aren't sure which side you fall on, or you need something in between, such as a managed deployment in your own cloud account, tell us what you're trying to do on our contact page. And if you're still comparing vendors in general, our buyer's checklist for choosing a gateway is the place to start.
Talk to us
Have a project in mind? Tell us about it.
Four quick questions and we'll reply within one business day with an honest view on the fastest way to ship it, whether that's our own products, a custom build or an integration.
Start your project
Let’s build something great
Which industry does your business belong to?
Pick the closest match — we'll tailor the rest for you.
Keep reading
Choosing a WhatsApp Gateway Plan: Numbers, Messages and Limits
Plans look simple until the 28th of the month, when a campaign hits the message cap and your order confirmations stop. Here is how to size a plan so that doesn't happen.
WhatsApp APIWhatsApp Data Privacy: Why We Delete Media Files Every Night
Every photo, PDF and voice note a customer sends you ends up somewhere on a server. We delete downloaded media every night, and here is the reasoning behind that design choice.
WhatsApp APIWhatsApp API Keys: How to Keep Them Safe and What If Leaked
An API key is a password with a different name. Most leaks we hear about are not clever attacks. They are keys pasted into a chat, a screenshot or a public repository.
