Guides

Discord Bot VPS: Buy 2.5GB of Headroom, Not 1GB

Plan sizing for a 24/7 Discord bot, checked against documented RSS creep, the 2,500-guild sharding trigger, and a 12-month US bill.

The short answer

The expensive mistake is buying the cheapest annual special with 1 GB of RAM and calling it a 24/7 bot host. A Discord bot is a memory-creep workload; the plan that survives the creep is RackNerd's VPS-2.5GB annual special — 2.5 GB RAM, 2 vCPU, 30 GB SSD — at $27.98/year, renewing at the same rate 14.

If your bot's resident set is unmeasured, rent InterServer's 1-slice at $3.00/month for 2 GB of RAM, log the RSS curve for a month, then commit to an annual term 10. The $15.98 1 GB special is the tier that becomes a restart treadmill 13.

Skip both if the bot is already sharded and some shards sit past 3 GB 25. That workload needs 4 GB or more per shard group.

The 1–2GB Rule and the 800–900MB Creep: Two Numbers That Disagree

The 1–2GB rule is a day-one average, and the number that gets billed is the day-four peak. A March 2025 forum answer states that "a VPS with 1-2GB RAM and a single CPU core is plenty" for most bots 22 (thread). That describes a process on its first day.

A.NET bot in its own issue tracker reached roughly 800–900 MB of working set, with memory "steadily increasing over time" 24 (issue). Subtract 900 MB from a 1 GB plan and 124 MB remains for the kernel, glibc, and the runtime; at 800 MB you get 224 MB. The OS is competing with the bot for less than a quarter of the box, and the first garbage-collection pause that fails to return pages ends in the OOM killer.

Guild count moves that ceiling. A 7,000-guild discord.py bot reported that "Using guild intent in my massive, 7K+ guilds bot causes RAM to spike over 1GB over multiple days" 23 (issue). The mechanism is cache retention: events that carry a Member require the member cache 9, so resident memory tracks how many guilds and members the bot can see, not how many commands it answers.

Then the multiplier arrives. Discord caps each gateway shard at 2,500 guilds: "Each shard can only support a maximum of 2500 guilds, and apps that are in 2500+ guilds must enable sharding" 1. Divide 7,000 by 2,500 and you need 2.8 shards, so three processes 231. If each inherits a 1 GB cache, that is 3 GB before the operating system starts. The discord.js guide makes the same point from the other side, warning that "internal sharding is not ideal for bigger bots due to high memory usage" 5 (guide).

The distribution is the trap. On a 180-shard discord.js bot, "about 20 out of 180 of the shards have 3gb+ memory usage while the other 160 have 600mb or less" 25 (issue). Provision to the average and the tail dies first. From outside, that looks like a bot that "unexpectedly goes offline after running for about 1 to 2 hours" and needs a manual restart 26 (thread).

Issue trackers surface failure modes rather than a failure rate, so read these as the shapes a small plan fails in, not a crash probability. The sizing decision they force: under 2,500 guilds on one process, the 2.5 GB tier holds the cache and the kernel; past 2,500 guilds, count shard processes and multiply before you compare prices.

After RAM, the Wall Is Swap, Log Growth, and a 20GB Disk

The RAM ceiling is survivable only if the disk under it absorbs the overflow without stalling the event loop. The $15.98 annual special pairs its 1 GB with 20 GB of SSD 13. The OS takes its cut, logs grow, and any SQLite WAL shares a queue with the swap file. When RSS crosses the cgroup limit, the kernel pages anonymous memory out to that disk. Page-in is synchronous: the event loop waits, the gateway heartbeat slips, and the session drops.

The reconnect is where a small box compounds the error. Discord limits concurrent Identify requests per five seconds 2, and a client that hits that limit gets an Invalid Session back from the gateway 3. A watchdog restarting a crashing bot every few seconds walks into that wall on the second or third attempt.

This is the shape the free-tier reports describe. A Replit-hosted bot stopped after about 20 minutes with no error output — "No errors, just stops running" 27 (thread). A Raspberry Pi VPS bot worked for about five minutes and then "randomly stops responding" 28 (thread). Both are the signature of a process killed at a memory ceiling before it could write a traceback: a capacity failure, not a provider scorecard — and exactly the risk a 1 GB annual special carries.

The fix is capacity plus a hard ceiling: buy the 30 GB tier, put a fixed 2 GB swap file on it, and set MemoryMax on the bot's systemd unit so the kernel reclaims the bot's own cache instead of the sshd you need to log in with 14.

Four US Plans on a 12-Month Bill: Why the $15.98 Headline Loses

Twelve months is the only term that matters for a process that never sleeps. RackNerd's 2.5 GB special totals $27.98 for the year, or $2.33/month, and it renews at the same rate for as long as the service is kept 32. The 1 GB special at $15.98/year saves $12.00 over twelve months and spends it back in restarts. RackNerd's standard KVM grid also lists a 1 GB plan at $17.99 on a monthly term 15; annualized, that is $215.88, the number to remember when a promo looks permanent.

InterServer's 1-slice is the no-contract comparator: $3.00/month 10 for 2 GB of RAM 11, and each additional slice adds CPU, memory, SSD, and transfer in fixed steps 12. Twelve months is $36.00 — $8.02 more than the RackNerd 2.5 GB annual and half a gigabyte less RAM — but it bills month to month with cancellation from the account 29, and the signup rate is locked for the life of the service 31. The InterServer review covers the slice mechanics in more detail.

Vultr's High Frequency 1 GB lists at $6.00/month 16, or $72.00/year, on 3GHz+ Xeon with NVMe 17. Vultr bills hourly 33, which sounds flexible until you check the mechanics: the month is capped at 672 hours 34, and stopping an instance does not stop the meter — only destroying it does 35. For a bot that must stay online, hourly billing is a monthly bill with extra steps.

Kamatera's entry cloud server starts at $4.00/month 18, or $48.00/year, on a 2667 MHz vCPU 19. It is the right shape for a bot whose RAM need is still moving, and the wrong shape for one that needs 2.5 GB of flat headroom.

CPU is the last thing to buy. Two VPSBenchmarks YABS runs on RackNerd recorded 2,270 Geekbench 6 single-core on a Ryzen 9 7950X3D 20 and 500 on a Xeon Gold 6152 21 — a 4.5× spread across the same vendor's fleet. That spread matters when caches rebuild after a restart; it does not change the RAM line, which is what a 24/7 bot exhausts first.

Workload / ScenarioRecommended PlanKey SpecsPrinted RateWhy It Wins / Watch-OutAction
24/7 bot under 2,500 guilds, creep measuredRackNerd VPS-2.5GB annual2.5 GB RAM / 2 vCPU / 30 GB SSD$27.98/yearRenews at the same rate 32; prepay only after a 72-hour RSS logCheck RackNerd → Review
Same bot, still unmeasuredInterServer 1-slice2 GB RAM$3.00/month 10$36.00/year, cancel any time 29, price locked 31Check InterServer → Review
Skip this tierRackNerd VPS-1GB special1 GB RAM / 1 vCPU / 20 GB SSD$15.98/yearSaves $12.00/year; 20 GB disk turns swap into a stallRackNerd review
Burst, region test, migration rehearsalVultr HF 1GB1 GB RAM / NVMe SSD$6.00/month 163GHz+ Xeon 17; destroy to stop billing 35Check Vultr → Review
RAM need still movingKamatera entry1 vCPU at 2667 MHz$4.00/month 18$4.00/mo × 12 = $48.00/year 18Kamatera review

For a bot with a measured ceiling under 2 GB and a guild count under 2,500, the $27.98 annual is the only line that stops being a monthly decision. Keep the $3.00 slice for the measurement month and for any bot whose guild count is about to jump.

The First-Boot Audit: Two Terminal Numbers That Decide If 2.5GB Holds

Two numbers in the first ten minutes tell you whether the box just rented will survive the month, and neither is a benchmark score.

First run free -m once the bot has connected and cached its guilds. Compare the available column against the process RSS: a bot that sits well under its cap has room beneath a 2 GB MemoryMax on the 2.5 GB plan; one that settles near 1 GB has roughly 72 hours before the tail arrives. Second, run node --version: discord.js needs the latest LTS release of Node.js 6, and an old runtime makes the same cache cost more.

Then record the slope. Every 15 minutes for 72 hours, append ps -o rss= -p $(systemctl show -p MainPID --value discord-bot) to a file. A bot crossing 2 GB before the next invoice is a 4 GB plan or a reshard, whichever is cheaper that month.

Measure before prepaying. InterServer's VPS page, checked on 2026-11-30, states there is "no trial period or money-back guarantee on VPS hosting" 30, which makes the $3.00 monthly slice the cheap way to buy the measurement month.

Entry pricing across the US market clusters at 1 GB–2 GB SKUs — RackNerd's $15.98 1 GB special, InterServer's $3.00 2 GB slice, Vultr's $6.00 1 GB High Frequency instance. The documented 800–900 MB working set and the 3 GB shard outliers put every 1 GB headline tier below the 24/7 survival line. The advertised entry price is not the real entry price for this workload; 2.5 GB of headroom on a locked renewal is, with the monthly slice as the audit box.

Run the 72-hour RSS log before the renewal date. Flat slope at hour 72: renew the 2.5 GB annual and stop thinking about it. Slope still climbing: skip the renewal and order the 4 GB tier — the creep, not the sticker price, sets the size.

Disclosure

This page contains affiliate links to US hosting providers. If you order through them, bestusavps.com may earn a commission at no extra cost to you. Plan prices and terms were checked against the providers' own pages on 2026-11-30; the InterServer review link is site-internal and editorial.

Sources

All pages checked 30 November 2026.

Reference URL
Discord Gateway docs — sharding and Identify limitshttps://docs.discord.com/developers/topics/gateway
discord.py — intents and member cachehttps://discordpy.readthedocs.io/en/stable/intents.html
discord.js guide — shardinghttps://discordjs.guide/sharding/
discord.js guide — installationhttps://discordjs.guide/preparations/installation
discord.py issue #10316 — 7K-guild RAM growthhttps://github.com/Rapptz/discord.py/issues/10316
discordbot issue #808 — 800–900 MB working sethttps://github.com/cpike5/discordbot/issues/808
discord.js issue #4306 — 3 GB shard outliershttps://github.com/discordjs/discord.js/issues/4306
Latenode — bot hardware threadhttps://community.latenode.com/t/what-hardware-do-i-need-for-my-discord-bot/7357
Latenode — bot disconnects every 1–2 hourshttps://community.latenode.com/t/unexpected-discord-bot-disconnects/6694
Latenode — Replit shutdownshttps://community.latenode.com/t/discord-bot-on-replit-keeps-shutting-down/12566
Latenode — Raspberry Pi bot stops respondinghttps://community.latenode.com/t/python-discord-bot-intermittently-stops-responding/12058
InterServer — VPS pricing and termshttps://www.interserver.net/vps/ Visit InterServer ↗ · Review
InterServer — price lock guaranteehttps://www.interserver.net/blog/interserver-price-lock-guarantee/ Visit InterServer ↗ · Review
RackNerd — VPS specialshttps://www.racknerd.com/specials/ Visit RackNerd ↗ · Review
RackNerd — KVM VPS gridhttps://www.racknerd.com/kvm-vps/ Visit RackNerd ↗ · Review
Vultr — how servers are billedhttps://docs.vultr.com/support/platform/billing/how-am-i-billed-for-my-servers Visit Vultr ↗ · Review
Vultr — stopped instanceshttps://docs.vultr.com/support/platform/billing/are-stopped-instances-still-billed-on-vultr Visit Vultr ↗ · Review
VPSBenchmarks — Vultr planshttps://www.vpsbenchmarks.com/hosters/vultr
Kamatera — pricinghttps://www.kamatera.com/pricing/
VPSBenchmarks — RackNerd 2c/2GB YABShttps://www.vpsbenchmarks.com/yabs/racknerd-2c-2gb-20260329-df81c6
VPSBenchmarks — RackNerd 5c/6GB YABShttps://www.vpsbenchmarks.com/yabs/racknerd-5c-6gb-20260607-07aeb4