Introducing Livops 2.0! Promo codeCEOgives you 8,000 so‘m on your balance.What’s new

Free Telegram bot hosting in 2026: what actually works

A polling bot needs a process that never stops, and few free tiers keep one: Railway's Free plan does within $5 of usage a month, Fly.io's Free plan covers the smallest Machine once a card is added, and Oracle's Always Free VMs may be reclaimed when idle. Render's free web service, Cloud Run and PythonAnywhere's free web app suit only a webhook, and sleep between messages. Livops is not free for bots: one 15-minute demonstration, then 19 credits a month.

By Livops team, the people who build and run LivopsUpdated

Creating a Telegram bot and calling the Bot API cost nothing; the server is what you pay for, and a few providers give one away within limits. This page goes through the free options that actually keep a bot answering, from each provider’s own pages read on 25 November 2026: which of them work for a polling bot, which only for a webhook, and what each one’s limits mean for a bot. It ends with why Livops is not on the free list, and when paying for a bot is worth it.

What does a free bot host have to do?

Run a process that never stops, for polling

A polling bot calls getUpdates again and again and handles what comes back[1]. It needs nothing from outside — no address, no certificate — but it works only while its process runs. A host that stops idle processes stops the bot, and nothing from outside will wake it, because Telegram never contacts a polling bot.

Answer at a public HTTPS address, for a webhook

With a webhook, Telegram sends each update as an HTTPS POST to your URL, on port 443, 80, 88 or 8443[1]. The bot can sleep between messages, because each delivery is a request that wakes it. The two methods are mutually exclusive: while a webhook is set, getUpdates does not work[1].

Lose nothing while it is down

Telegram keeps incoming updates until the bot receives them, for no longer than 24 hours[1]. A failed webhook delivery is repeated, and Telegram gives up after a reasonable number of attempts[1]. A bot that is down for minutes loses nothing; one that is down for a day does.

Restart it when it crashes

A free tier that never restarts a crashed bot, or restarts it only a few times, is a bot that is down until you notice.

The options at a glance

Option What is free Polling bot Webhook bot What limits it
Railway Free $5 of usage a month, no card[2] Yes, it stays awake on outbound traffic[5] Yes, it sleeps and wakes on the request[5] Stops when the $5 is spent[3]; no Always restart policy[6]
Fly.io Free $1 of credit, no card; $5 of usage a month with a card[7] Yes, a Machine with no services is not stopped[8] Yes Up to 3 Machines[7]; the smallest is $2.19 a month[7]
Oracle Always Free Two AMD micro VMs, plus Arm up to 2 OCPUs and 12 GB[10] Yes Yes, with your own HTTPS Idle instances may be reclaimed[10]; a card is needed to sign up[11]
Render free web service 750 instance hours a month, 512 MB[12][13] No: it spins down after 15 minutes without inbound traffic[12] Yes, about a minute to wake[12] Background workers have no free instances[12]
Google Cloud Run 2 million requests and 180,000 vCPU-seconds a month[14] No: it scales to zero between requests[16] Yes A Cloud Billing account is required[14]
PythonAnywhere Beginner One web app, 100 CPU-seconds a day[17][18] No: no always-on tasks[17] Yes, Python only Outbound only to allowlisted sites through a proxy[19]; 1-month expiry[18]
A computer at home The machine you have Yes, while it is on Only through a tunnel or a public address Power, sleep, your internet connection
Livops No free tier for bots; one 15-minute demonstration Yes, paid Yes, paid 19 credits a month

Other providers’ limits are from each provider’s own page, read on 25 November 2026; the dates are in Sources below.

Each option

Railway Free plan

The Free plan gives $5 of usage a month with no credit card, one project with up to three services, each with up to 1 vCPU and 0.5 GB of RAM[2][3]. Services on Free are serverless: they sleep 5 to 10 minutes after their last outbound traffic and wake on the next inbound request[2][5]. What matters for a bot is that Railway counts outbound traffic — network requests, open database connections, telemetry — not inbound[5].

  • A polling bot sends a request to Telegram every time a long poll ends, so by Railway’s rule it is never idle and does not sleep[5]. It runs all the time, and all the time it is billed: at about $10 per GB of memory and $20 per vCPU a month[4], a bot holding 100 MB uses about $1 of the $5 on memory alone in a month. When the $5 runs out, services stop until the next billing cycle[3].
  • A webhook bot that has been quiet falls asleep, and Telegram’s next POST wakes it. That first request may be slow, or answered with a 502[5]; Telegram then repeats the delivery[1].

Restarts are limited on Free: the Always policy is not available, and On Failure stops after 10 restarts[6], so a bot that crashes an eleventh time stays down. The one-time trial is more generous — $5 of credit for 30 days, no card, and trial services do not sleep[3] — but it ends. Hobby, $5 a month including $5 of usage, runs services always-on[2].

Fly.io Free plan

Every new account starts on the Free plan: $1 of credit with no card, and $5 of usage every month once a card is added, with limits such as up to 3 Machines[7]. The smallest Machine, shared-cpu-1x with 256 MB, is $2.19 a month when running all the time[7], so the $1 lasts about two weeks and the $5 covers a bot for the whole month.

A polling bot is a Machine with no services, and Fly Proxy does not stop such a Machine[8]: it runs until you stop it. Set its restart policy to always, which Fly.io recommends for always-on apps with no services; the default, on-fail, gives up after 10 restarts in 5 minutes[9]. A webhook bot can let Fly Proxy stop its Machine when idle and start it again when a request arrives, about 2 seconds or more for a stopped Machine[8]. In practice Fly.io’s free bot hosting needs a card.

Oracle Cloud Always Free

The most computer for nothing: two AMD VMs with 1/8 of an OCPU and 1 GB each, plus Arm capacity equivalent to 2 OCPUs and 12 GB, 200 GB of block storage and 10 TB of outbound data a month[10]. It is a real VM, so a polling bot runs under systemd like on any server, and a webhook needs HTTPS that you set up yourself.

The catch is idleness. Oracle may reclaim an Always Free instance if, over 7 days, its 95th-percentile CPU use is under 20%, its network use under 20% and, on Arm shapes, its memory use under 20%[10]. A bot that mostly waits for messages can meet that definition. The instances must be in your home region, and an “out of host capacity” error means there are no free shapes there for now[10]. Signing up needs a credit or debit card for identity verification — not virtual, single-use or prepaid — which Oracle may check with a temporary authorization hold[11], and an account left idle for 30 days or more may be deemed abandoned[11].

Render free web service

A free web service has 512 MB of RAM[13] and a workspace gets 750 free instance hours a month[12]: enough for one service awake around the clock, not two. It spins down after 15 minutes without inbound traffic — HTTP requests and WebSocket messages count — and takes about a minute to start again on the next request[12].

  • A polling bot makes only outbound requests, so after 15 minutes the service spins down and the bot with it. Background workers, Render’s type for a process with no incoming traffic, do not support free instances[12].
  • A webhook bot works: Telegram’s POST is inbound traffic that wakes the service. The first message after a quiet spell waits for the start; the Bot API does not say how long Telegram waits for an answer, but it repeats a failed delivery[1].

Files written to disk are lost on spin-down, restart or redeploy, and Render may restart a free service at any time[12]. Keep state in a database.

Google Cloud Run

Cloud Run’s free tier, under request-based billing, includes 2 million requests, 360,000 GB-seconds of memory and 180,000 vCPU-seconds a month, and 1 GB of outbound data from North America[14]. A Cloud Billing account is required to use the free tier[14].

It fits a webhook bot and not a polling one. Minimum instances default to 0[15], scaling up from zero can only be triggered by a request, and idle instances are kept for up to 15 minutes[16]. For work outside requests, which polling is, Cloud Run advises at least one minimum instance[16], and that instance is billed while idle[15]. As a webhook, each Telegram update is one request, and an instance that has scaled to zero starts on it.

PythonAnywhere free account

The free Beginner account has one web app at yourname.pythonanywhere.com, 100 CPU-seconds a day and 512 MB of disk[17], with one web worker and a 1-month expiry[18]. It has no always-on tasks[17], and accounts created from 15 January 2026 (8 January on its EU system) get no scheduled task either[18], so a polling bot has nothing to keep it running.

A webhook bot can run as the web app, for example in Flask. Its outgoing calls go through PythonAnywhere’s proxy, which free accounts must use to reach sites on the allowlist[19]; api.telegram.org is on that list[20], but some libraries do not work through the proxy at all[19]. Python only. The Developer plan, $10 a month, adds one always-on task[17].

A computer at home

A polling bot runs from any computer with internet, behind a home router, because the bot makes the requests and Telegram never has to reach it[1]. It costs nothing new, and short outages lose nothing, since updates wait up to 24 hours[1]. It also stops whenever the computer sleeps, reboots for an update, or loses power or connection, and a webhook needs a public HTTPS address on one of Telegram’s four ports[1], which a home connection rarely has without a tunnel. Good for development; for a bot other people use, see how to keep a Telegram bot running 24/7.

Why does a polling bot need an always-on process?

Polling is a loop: the bot asks Telegram for updates, waits up to the timeout it set for an answer[1], handles what came, and asks again. Between the moment it stops asking and the moment it asks again, nobody reads the messages. They pile up on Telegram’s side for up to 24 hours[1], and nothing on Telegram’s side can start the bot, because Telegram only answers requests it receives.

That is why the free tiers split the way they do:

  • Hosts that sleep on missing inbound traffic — Render’s free web service, Cloud Run scaled to zero — stop a polling bot within minutes and never wake it. They work only with a webhook, where Telegram’s request is the wake-up call.
  • Hosts that sleep on missing outbound traffic — Railway Free — keep a polling bot awake, and bill it for being awake.
  • Hosts that do not sleep — a Fly.io Machine with no services, an Oracle VM, your own computer — run a polling bot like a server, within their credit, reclaim or power rules.

If your host can only wake on requests, switch the bot to a webhook rather than fighting the sleep. Webhook vs polling shows how each library does it.

When is paying for a bot worth it?

A free tier is the right answer for a bot you are building, a bot for yourself and friends, or a webhook bot whose users can wait for the first reply after a quiet spell. Paying starts to make sense when:

  • People rely on the bot. An order, a booking or a support question that waits a minute, or a bot that stops on the 25th when the credit runs out, costs more than the hosting.
  • It must restart without limits. Railway Free stops after 10 restarts[6]; on a VPS or a platform you choose the policy.
  • You cannot pay by card. Fly.io’s $5 a month and Oracle’s sign-up both need one[7][11], and Render’s paid plans are paid by credit or debit card[13].
  • Your users are in Uzbekistan and the replies should come from nearby.

Livops is not free for bots. On an account that has not paid yet, the first bot or app runs for 15 minutes on a zero balance, once, so you can watch it answer — it is a demonstration, not a trial. After that a bot is 19 credits a month (19,000 so’m), bought through Payme or Click with no card. If a free option above fits your bot, use it; if you would rather have it run without the rules above, that is what the price pays for.

A Telegram bot on Livops

  1. In the cabinet, create a project from your GitHub repository, or start from the aiogram 3 bot + Redis template. A Telegram bot in Python or Node.js — aiogram, pyTelegramBotAPI, Telegraf, grammY and the like — is detected as a bot.
  2. Add the token BotFather gave you under Settings → Variables, under the name your code reads (often BOT_TOKEN), and mark it as a secret: its value is never shown again.
  3. Deploy. The bot runs around the clock and does not fall asleep; the 15-minute demonstration starts if the account has not paid yet.

To name the start command yourself, put livops.json in the repository root:

{
  "kind": "bot",
  "start": ".venv/bin/python bot.py"
}
  • Polling or webhook. Both work. Choose a webhook and Livops gives Telegram the address itself and protects it through Cloudflare; your code does not call setWebhook.
  • Never two copies. On a new deploy the old bot is stopped before the new one starts, because two copies polling one token conflict.
  • Payment. Credits in so’m through Payme or Click, no card; bought credits never expire. Static sites stay free, and one 500 MB database per team is free once the account has credits — see Free PostgreSQL hosting.

See Pricing, and Telegram bot hosting for the paid options compared.

Questions

Can I host a Telegram bot for free?

Yes, with limits. A polling bot can run on Railway's Free plan within 5 dollars of usage a month, on Fly.io's Free plan once a card is added, on an Oracle Always Free VM, or on a computer at home. A webhook bot can also run on Render's free web service, Cloud Run's free tier or PythonAnywhere's free web app, which sleep or start on demand between messages.

Why does my bot stop on Render's free plan?

Render spins a free web service down after 15 minutes without inbound traffic, and a polling bot only makes outbound requests, so nothing counts as traffic and the service sleeps with the bot inside it. Background workers, the service type for a polling bot, have no free instances. A webhook bot is woken by Telegram's request, which takes about a minute.

Does a polling bot sleep on Railway's Free plan?

Railway puts a Free service to sleep 5 to 10 minutes after its last outbound traffic. A polling bot keeps asking Telegram for updates, which is outbound traffic, so by that rule it stays awake. It then runs all month on the 5 dollars of usage, and when that is spent, services stop until the next billing cycle.

Will my webhook bot lose messages while a free service wakes up?

Usually not. Telegram repeats a delivery that did not get a 2XX answer and gives up after a reasonable number of attempts, and it keeps undelivered updates for up to 24 hours. The first message after a quiet spell is answered late, after the service has started.

Is Oracle Cloud Always Free good for a Telegram bot?

It gives the most machine for nothing: up to two small AMD VMs plus Arm capacity of 2 OCPUs and 12 GB. But Oracle may reclaim an Always Free instance whose CPU, network and, on Arm, memory use stay under 20% for 7 days, and a bot that mostly waits for messages can look exactly like that. Signing up also needs a credit or debit card for identity verification.

Is there a free tier for bots on Livops?

No. On an account that has not paid yet, the first bot or app runs for 15 minutes on a zero balance, once, so you can see it answer in Telegram. To keep it running, a bot is 19 credits a month, 19,000 so'm, bought through Payme or Click with no card. Static sites are free.

Who wrote this comparison?

The Livops team. Every limit of another provider on this page links to that provider's own page, with the day we read it, and the free options are listed even where they beat paying us.

Sources

  1. Telegram Bot API — Getting updates, getUpdates, setWebhook (core.telegram.org). Checked .
  2. Railway — Pricing (railway.com). Checked .
  3. Railway — Free trial and Free plan (docs.railway.com). Checked .
  4. Railway — Pricing plans (docs.railway.com). Checked .
  5. Railway — Serverless (app sleeping) (docs.railway.com). Checked .
  6. Railway — Restart policy (docs.railway.com). Checked .
  7. Fly.io — Pricing (docs.fly.io). Checked .
  8. Fly.io — Autostop and autostart Machines (docs.fly.io). Checked .
  9. Fly.io — Machine restart policy (docs.fly.io). Checked .
  10. Oracle Cloud — Always Free resources (docs.oracle.com). Checked .
  11. Oracle Cloud — Free Tier FAQ (oracle.com). Checked .
  12. Render — Deploy for free (render.com). Checked .
  13. Render — Pricing (render.com). Checked .
  14. Google Cloud — Free cloud features (docs.cloud.google.com). Checked .
  15. Cloud Run — Minimum instances (docs.cloud.google.com). Checked .
  16. Cloud Run — About instance autoscaling (docs.cloud.google.com). Checked .
  17. PythonAnywhere — Pricing (pythonanywhere.com). Checked .
  18. PythonAnywhere — Free accounts features (help.pythonanywhere.com). Checked .
  19. PythonAnywhere — 403 Forbidden errors and the proxy (help.pythonanywhere.com). Checked .
  20. PythonAnywhere — Allowlist of sites for free accounts (pythonanywhere.com). Checked .

Put your project online today

Connect GitHub or drop a folder. No card is asked for.

Start with your bot

Got a question? — @livops_uz