Comparisons3 minutes to readChecked

Bothosting vs Railway vs Render vs Fly.io for a 24/7 bot

Which platform keeps a Discord or Telegram bot online for the least money? Free tiers, sleep rules and cheapest always-on prices compared.

Deploy a Discord bot free

The short answer

A chat bot is a long-running worker. It holds an outbound connection or polls all day, and nobody visits it in a browser. General app platforms price and sleep around web traffic. A bot host prices for workers. Railway, Render and Fly.io are good platforms for web apps, but none has a free tier meant to keep a worker running all month. Bothosting’s free Spark plan does, with a manual renewal every 7 days, and its cheapest paid plan is $2.25 a month for 1 GB.

Free tiers and cheapest always-on option

Published terms, checked 20 November 2026
ProviderFree option for a workerCheapest always-onBilling
BothostingSpark: 256 MB RAM, 25% CPU, 512 MB; renew every 7 daysRelay $2.25/month: 1 GB, 2 deploymentsFlat monthly or yearly price
RailwayFree plan: $1 usage credit a month, 0.5 GB per service; services sleep after 5 to 10 minutes without outbound trafficHobby $5/month including $5 of usageUsage: about $10 per GB of RAM and $20 per vCPU a month
RenderNo free background workers. Free web services spin down after 15 minutes without inbound traffic$7/month for 512 MB, 0.5 CPUPer instance
Fly.ioNo free plan. Trial: $1 credit for 7 daysshared-cpu-1x 256 MB about $2.19/month (US East)Usage. Personal bills under $5 a month are waived

Why bots go offline on web platforms

Render’s free tier wakes on an inbound HTTP request, but a Discord bot makes outbound connections only. Once a free web service spins down, the gateway connection drops and stays down. Railway’s $1 credit is less than a 0.5 GB service costs to run for a full month at its published memory rate. Fly.io can be very cheap for a 256 MB machine, but it needs a card after the trial, and you set it up with its CLI and a Dockerfile or launcher.

A webhook-based Telegram bot is different. It receives inbound HTTPS requests, so a sleeping web service wakes when a message arrives. The first reply after an idle period waits for the service to start. See polling or webhook for how to choose.

Which platform fits which project?

  • Bothosting: Discord or Telegram bots, workers and small sites that should run all month at a fixed price, with a file manager, console and AI agent access.
  • Railway: multi-service apps where usage billing and its GitHub workflow suit you.
  • Render: web services and static sites, where the paid instance is worth it for a worker.
  • Fly.io: developers comfortable with containers who want regional placement and pay-per-use machines.

For a first bot with no budget, start on Spark. Measure memory during a busy period before choosing a paid size anywhere.

About this comparison

This comparison is published by Bothosting (bothosting.dev), one of the providers compared. Figures for Railway, Render and Fly.io come from their public pages, read on 20 November 2026. They are not independent benchmarks. Check each provider’s current page, tax and checkout total before you buy.