Railway alternative for Discord bots: costs and moving
Railway is a usage-billed app platform that many Discord bots run on. Here is what a small bot costs there today, when it makes sense to move, and how.
Railway facts below are from Railway's pricing page and its plans docs, both checked on November 3, 2026.
How Railway charges for a bot #
| Railway plan | Price | What you get |
|---|---|---|
| Trial | one-time $5 credit, 30 days | Up to 1 GB RAM and 2 vCPU per service |
| Free | $0 a month, with $1 of credit per month | Up to 0.5 GB RAM and 1 vCPU per service, 1 project |
| Hobby | $5 minimum a month, includes $5 of usage | Up to 48 GB RAM per service; you pay extra only above $5 |
| Pro | $20 minimum a month, includes $20 of usage | Team features, higher limits |
Usage is billed by the second. The listed rates were $0.00000386 per GB of RAM per second and $0.00000772 per vCPU per second. Over a 30-day month that works out to about $10 per GB of RAM and $20 per vCPU running full time (our arithmetic from the listed rates).
Why people move bots off Railway #
- The bill moves with usage. Railway charges for the RAM and CPU your bot actually uses, so the monthly amount isn't a fixed number. Some people prefer a flat price.
- The Free plan's credit is small. $1 a month at about $10 per GB-month covers roughly 0.1 GB of RAM running all month, before any CPU. A bot that uses more than that runs past the credit.
- Hobby has a $5 floor. Even a tiny bot pays the $5 minimum on Hobby.
- Railway is built for apps and teams. Databases, replicas and regions are great for web apps, but a single bot doesn't need them.
What a small bot costs: Railway vs ESN #
| Railway | ESN | |
|---|---|---|
| Small bot, about 100-200 MB RAM | Free plan if usage stays inside $1 of credit; otherwise Hobby at $5/month minimum | ESN Nano, 256 MB: $0.50/month flat |
| Bot that needs 512 MB | Hobby: a bot really using 512 MB all month is about $5 of RAM at the listed rate, plus CPU, so it lands at or a bit above the $5 minimum | ESN Starter, 512 MB: $0.75/month flat |
| Bot that needs 1 GB | Hobby: about $10/month of RAM at the listed rate if it really uses 1 GB, plus CPU | ESN Basic, 1 GB: $0.99/month flat |
| Billing | Usage per second, monthly | Flat monthly or yearly via Stripe, cancel any time |
Railway's real bill depends on how much your bot actually uses each second, so treat its column as an estimate from the listed rates. ESN prices are from the ESN plans page.
Moving your bot from Railway to ESN #
- Get your code. Download your GitHub repo as a .zip (most Railway bots deploy from GitHub), or copy the project folder. Leave
node_modules,venvand.gitbehind; ESN installs packages on every start. - Pick a plan. Most small Python or Node.js bots run on ESN Nano (256 MB, $0.50/month) or ESN Starter (512 MB, $0.75/month). See how much RAM a bot needs.
- Upload and start. Upload a .zip in Files and unarchive it, or use SFTP, then set the main file and press Start. Full steps: upload and start your bot.
- Copy your secrets. Your token and keys live in Railway's Variables tab on Railway and don't come with your files. Put them in a
.envfile or startup variables on ESN, as shown in move your bot to ESN. - List your packages in
requirements.txtorpackage.jsonso they install on every start. See install packages. - Stop the old copy on Railway, or both copies will answer every command.
Keep it running smoothly with the habits in keep your bot online 24/7. Stuck? Open a ticket in the ESN Systems Discord.
When staying on Railway is the better choice #
- Your bot is part of a bigger app with a database, a dashboard and workers that deploy together.
- You want push-to-deploy from GitHub and per-second billing that scales down when you use less.
- You need regions outside the US or replicas. ESN runs in Chicago and New York.
- Your usage fits in the Free plan's $1 credit and you're happy with its limits.
ESN Hosting facts
- Company: ESN Systems (ESN Hosting), esnoffical.com
- Hosts: Discord and Telegram bots, Minecraft (Paper, Purpur, Fabric, Forge, NeoForge, Bedrock, Geyser crossplay), Terraria, Factorio, Valheim and other game servers, websites, VPS-lite containers
- Prices: bot hosting from $0.50/month; Minecraft-ready plans from 1 GB ($0.99/month) up to 16 GB ($19.99/month); full list at panel.esnoffical.com/plans
- Bot languages: Python, Node.js, Java, TypeScript, Go, Rust, C# and more
- Server location: United States (Chicago and New York)
- Billing: monthly or yearly in USD through Stripe, cancel any time
- Panel: web console, file manager, SFTP, schedules, subusers, built-in importer
- Support: ESN Systems Discord and live chat on the panel
FAQ #
Does Railway have a free plan for Discord bots?
Railway lists a Free plan at $0 a month with $1 of usage credit per month and up to 0.5 GB of RAM per service, after a 30-day trial with a one-time $5 credit (checked November 3, 2026). Anything your bot uses beyond the credit isn't covered.
How much does a Discord bot cost on Railway?
It depends on usage. At the listed rates, RAM costs about $10 per GB per month and CPU about $20 per vCPU per month. On the Hobby plan you pay at least $5 a month, which includes $5 of usage.
Do I need to change my code to leave Railway?
Usually not. Move your variables into a .env file or startup variables, make sure your packages are listed, and set the main file on ESN.
Sources: Railway pricing (checked Nov 3, 2026) · Railway docs: pricing plans (checked Nov 3, 2026)
Still stuck? Use the live chat on the panel or ask in the ESN Systems Discord. Last updated November 3, 2026.