The short answer
For a free Telegram bot that answers at any hour, use a host that keeps a polling worker running. Bothosting’s Spark plan runs one polling bot with 256 MB RAM and no domain, renewed every 7 days. PythonAnywhere’s free account has no always-on tasks. Render’s free tier suits webhook bots that can tolerate a slow first reply. Railway’s free credit is small for a bot that runs all month.
Free plans for a Telegram bot
| Provider | Polling bot | Webhook bot | Limits to know | First paid step |
|---|---|---|---|---|
| Bothosting | Yes, always-on worker | Yes, HTTPS address included | 256 MB RAM, 512 MB storage, 1 deployment; renew every 7 days | $2.25/month |
| PythonAnywhere | No always-on tasks on Beginner | One free web app | Outbound HTTP(S) only to allowlisted sites; 100 CPU seconds a day for consoles | $10/month Developer, 1 always-on task |
| Render | No free background workers | Free web service, spins down after 15 minutes idle | Startup takes about a minute; local files reset on spin-down | $7/month instance |
| Railway | Within $1 monthly credit | Within $1 monthly credit | 0.5 GB per service; idle services sleep | Hobby $5/month |
Polling, webhooks and free tiers
A polling bot calls Telegram’s getUpdates in a loop, so it needs an always-on process but no public address. A webhook bot needs a public HTTPS URL that Telegram can call. On a free tier that sleeps, a webhook can wake the service, but the user waits while it starts. Telegram allows only one delivery mode per bot token at a time. Delete the webhook before switching a bot to polling.
On Bothosting, choose a polling or webhook profile for Node.js or Python. The Python polling profile runs aiogram, python-telegram-bot or another polling library.
Try a bot in five minutes
- Create a bot with BotFather and copy the token.
- Create a free Spark deployment with the Python or Node.js polling profile. Save the token as
TELEGRAM_BOT_TOKEN. - Upload the starter or your own project, start it and send
/startin a private chat.
The full walkthrough is in hosting a Telegram bot for free without a domain.
About this comparison
This comparison is published by Bothosting (bothosting.dev), one of the providers compared. Figures for PythonAnywhere, Render and Railway 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.