Cheap VPS Providers for Discord Bot Hosting: A Shortlist That Actually Stays Up
Some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. We only link to services we have actually used, and commission never decides what we recommend.
Your bot dies when you close the laptop lid, or it gets OOM-killed at 3 a.m. because the free tier gave you 512 MB and a sleep timer. The sticker price on a provider's pricing page does not tell you whether the process stays alive, how far the box sits from the Discord gateway, or what it costs to fix a wrong guess about RAM. Here is the ordering I would actually use, plus the cases where I would pick something else.
Quick verdict
Vultr, 1 GB KVM, hourly billing. Hong Kong and Tokyo regions put you close to the Discord gateway for Asian guilds, the hourly meter means a resize is a week-long experiment instead of a month-long commitment, and it is real KVM — no shared kernel, so swapon and vm.swappiness behave the way the rest of this article assumes. If your guilds are all in the EU, skip to Hetzner.
| Provider | Smallest plan worth running a bot on | Billing | Who it's for |
|---|---|---|---|
| Vultr | 1 GB KVM | Hourly, capped at the monthly rate | Asia-facing bots, or anyone who wants to resize for a week without eating a month |
| Hetzner | CX-line shared-vCPU plan (2 vCPU / 4 GB at the time of writing — confirm) | Hourly, capped monthly | EU/US audiences where RAM per euro matters more than region spread |
| OVH | VPS-2 tier (2 vCore / 2 GB at the time of writing — confirm) | Monthly | You want DDoS filtering and a provider that also sells bare metal |
| DigitalOcean | 1 GB droplet | Hourly | You want the docs, the control panel, and snapshots that work without reading a wiki |
| BuyVM | Smallest KVM slice listed | Monthly or annual | Cheap KVM with block storage sold separately; small team, real virtualization |
| RackNerd | Annual prepay slice | Annual | You will pay a year up front to get under everyone else's monthly rate |
Every plan name and RAM figure above is what the provider listed at the time of writing. Confirm the current price, included bandwidth, and region list on the provider's own pricing page before you type a card number.
The real choice: RAM, gateway latency, and hourly billing
Three constraints cause almost every Discord bot outage: not enough RAM, a long path to the gateway, and a billing model that punishes you for guessing wrong on the first two.
512 MB is a trap, and here is the mechanism
Node's baseline RSS is not small. The runtime, the V8 heap, and the discord.js dependency tree all occupy memory before your first command handler runs. On a 512 MB box you are also paying for the kernel, systemd, sshd, and whatever the distro starts by default. Add a database driver, a member cache for a few thousand guild members, or a voice library that pulls in native audio bindings, and the OOM killer arrives during a busy hour rather than at boot, which makes it look random.
The failure mode is nasty because it is not a crash you can trace. The kernel kills the largest process, systemd restarts it, and your bot silently drops a command it was halfway through. You find out from a user, not a log.
Measure your bot before you buy
Run it on your laptop or Pi for a day and look at the actual number. Two commands:
free -m
ps -o rss= -p $(pgrep -f 'node .*bot') | awk '{printf "%.1f MB RSS\n", $1/1024}'
RSS in kilobytes from ps, so divide by 1024 for megabytes. Watch it after a burst of activity, not at idle — idle RSS is the number that makes people buy 512 MB and regret it a week later. If the steady state after real traffic sits past 60% of a candidate plan's RAM, buy the next tier up.
Hourly billing is the feature you will actually use
You will get the size wrong on the first try. The difference between a provider that bills hourly and one that bills monthly is whether fixing that costs you a reboot or a month of prepaid capacity.
Concretely: a bot that handles a launch event needs 2 GB for ten days, then settles back to 1 GB. On hourly billing you resize up, ride it out, resize down, and pay for the hours you used. On monthly billing you buy the bigger box for a full cycle or you gamble and lose. Vultr bills hourly and caps at the monthly rate, so a box you leave running costs the same as the monthly price and a box you run for three days does not.
Check the gateway before you commit
Discord hands your bot a gateway URL from the API, and the bot holds a WebSocket to it for the life of the process. Get the base URL first:
curl -s https://discord.com/api/v10/gateway | jq -r .url
That is a JSON object with a url field — pipe it through jq or you will hand mtr a blob of braces. The returned host is the one to test against, and the useful measurement is from a candidate region, not from your ISP. Spin up the smallest instance the provider offers in the region you are considering, then from that box:
mtr -rwc 50 gateway.discord.gg
Fifty cycles, wide output, report mode. Compare the average round trip against the same command run from your laptop. If the candidate region is worse than where you are now, the cheap price is buying you a slower bot. For Asian guilds, test Hong Kong and Tokyo against Frankfurt or New Jersey; the difference shows up as slash-command latency users notice, not as a number in a benchmark table.
KVM or nothing
Half the sub-$3 plans on LowEndTalk are OpenVZ or LXC containers, not virtual machines. In a container you share the host kernel: swapon usually fails outright, vm.swappiness is a host-wide setting your container cannot change, memory "reported" is a limit rather than an allocation, and CPU steal from a noisy neighbour is invisible to you. Some container setups do not run systemd as PID 1 at all, which means the unit file in the FAQ below will not start.
Check before you buy, on the box itself:
systemd-detect-virt
kvm (or none on bare metal) means the rest of this article applies. openvz or lxc means the swap config and the systemd unit are both fiction, and you should either accept that or pick a different host. Ask the provider before you pay; the good ones answer plainly.
Case by case: which one you should actually pick
One small bot, a handful of guilds, no voice. Take a 1 GB KVM plan from any provider with a region near your users. Vultr is fine here and so is DigitalOcean; pick on which control panel you find less annoying. A rule of thumb, not a documented limit: if you are under a few dozen guilds with no cache-heavy features, 1 GB is the floor, not the target.
Sharded bot, or anything with voice/music. Go to 2 GB minimum, and choose by latency to your largest cluster of guilds rather than by price. Sharding multiplies processes, and voice libraries carry native buffers that do not shrink. Discord requires sharding past a documented guild count — check the current threshold in Discord's docs rather than trusting a blog post, including this one. This is the case where the cheapest region on the list is usually the wrong region.
Bot plus Postgres or Redis on the same box. 2 GB plus a swap file, or split the database onto its own instance. Swap is not a substitute for RAM, but it turns an OOM kill into a slow minute, which is a much better failure. Set it up once:
fallocate -l 1G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile
echo 'vm.swappiness=10' >> /etc/sysctl.conf && sysctl -p
echo '/swapfile none swap sw 0 0' >> /etc/fstab
vm.swappiness=10 keeps the kernel from paging out your hot heap just because it can. On OpenVZ this whole block fails — see above.
EU-only audience. Hetzner. At the time of writing it is the cheapest per gigabyte of RAM among the providers named here for EU and US regions; check the current CX-line pricing against Vultr's before you commit, because both move.
You want a panel, one-click snapshots, and good docs, and the price gap is noise. DigitalOcean. For a first VPS the documentation and snapshot tooling are worth more than a few dollars a month.
You need DDoS filtering or you have been flooded before. OVH. The filtering is included at the edge and it is the reason people stay.
You want the absolute lowest monthly number and will prepay a year. RackNerd or BuyVM. You are trading support responsiveness and, in RackNerd's case, a year of lock-in for the price. BuyVM sells block storage separately, which is a genuinely useful escape hatch when the bot outgrows its disk but not its RAM.
Where this falls short
Do not rent a VPS at all if this is one bot and you do not want to patch a box. A managed Discord bot host or a PaaS that runs a Node process will cost more per month and take the kernel, the systemd unit, and the unattended-upgrades problem off your plate entirely. That is the right answer for a hobbyist running a single 50-guild bot with no interest in being a sysadmin. Rent a VPS when you want the box for other things too, or when the bot is big enough that the markup is real money.
Vultr has no standing free tier. You pay from the first hour, which is a real barrier if you are still deciding whether the bot is worth running at all. Promotional credit appears and disappears; do not plan around it.
Snapshots and backups are billed separately from the instance. People running a small box get surprised by this when they take a snapshot before an upgrade and leave it sitting there for six months. Extra IPv4 addresses are billed too. The effective monthly cost is higher than the plan price unless you clean up after yourself.
Support on the low-tier plans is ticket-based and not fast, on every provider in this table. If you want someone to walk you through an nginx config at 11 p.m., this is the wrong price bracket.
Bandwidth is metered. A bot that downloads attachments, proxies audio, or serves files can burn through the included allowance, and overage is charged. A text-only bot will not come close; a music bot streaming from the box might.
Hong Kong and Tokyo are not the cheapest regions on the same provider. You are paying a latency premium for them, and if your users are all in Ohio that premium buys you nothing.
FAQ
Can a Discord bot run on 512 MB?
Sometimes, for a while, if it has no database, no voice, and a small guild count. It will fail on the day the cache grows, and it will fail as an OOM kill rather than a clean error. Buy 1 GB and stop thinking about it.
Does VPS location actually matter for a Discord bot?
Yes, for command latency. Your bot holds a persistent WebSocket to the gateway, and every interaction round-trips through it. A region near your users' guilds shaves real milliseconds off every slash command.
Do I need to open any ports for a bot?
No. Bots connect outbound to Discord; nothing connects inbound. Lock the box down:
ufw default deny incoming && ufw allow 22/tcp && ufw enable
How do I keep the bot running after I log out?
A systemd unit, not a tmux pane. Put this at /etc/systemd/system/discordbot.service:
[Unit]
Description=Discord bot
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=bot
WorkingDirectory=/home/bot/app
Environment=NODE_ENV=production
ExecStart=/usr/bin/node /home/bot/app/index.js
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Then systemctl enable --now discordbot and watch it with journalctl -u discordbot -f instead of a terminal you forget to check. Add apt install unattended-upgrades so the box does not rot between deploys.
Related reading: How to Host a Discord Bot on a VPS: systemd, Swap, and the Parts, Vultr review: High Frequency vs regular compute after a week
Bottom line
Vultr for an Asia-facing bot on hourly billing. Hetzner if every guild you serve is in the EU or US and you want the most RAM for the money. OVH when DDoS filtering is the requirement. RackNerd or BuyVM when the monthly number is the only thing that matters and you will prepay. DigitalOcean when you are new enough that the docs are the product.
The next action: provision a 1 GB KVM instance in the region you tested, deploy the systemd unit above, and watch RSS for a week with the ps command. If it climbs past 60% of total RAM, resize up one tier — do not paper over it with more swap. Check systemd-detect-virt before you pay anyone. And if you have one bot and no appetite for patching, use a managed host and skip this article.
Try Vultr
Good HK/Tokyo latency from Asia.