Guide

Free Telegram bot hosting: options that still work

Where to run a Telegram bot for free in 2026: Cloud Run, Cloudflare Workers, Oracle, Render, PythonAnywhere and others — limits, sleep, and polling vs webhook.

AdminHub

Launching a channel? Start with a bot

Connect a bot

TL;DR. First decide how your bot gets updates. A webhook bot answers HTTPS requests and can sleep between them — it runs free on Google Cloud Run, Cloudflare Workers, Deno Deploy, Vercel, Render, Koyeb, Railway or a PythonAnywhere web app. A getUpdates bot needs a process that never stops — free only on a virtual machine: Oracle Cloud Always Free or Google’s e2-micro. Fly.io has no free tier for new accounts. Prices change often, so check the provider’s page before you start.

With AdminHub: no hosting at all — AdminHub runs your bot on its own servers. Details at the end.

Free bot hosting changed a lot in the last two years. Fly.io has no free tier for new organizations, and PythonAnywhere cut its free account in January 2026. Many lists still recommend them. This guide uses each provider’s own pricing page and documentation, checked in November 2026.

First: webhook or getUpdates

A Telegram bot receives updates in one of two ways, and this decides where it can run.

  • getUpdates (long polling). Your program asks Telegram for new updates again and again. It must run all the time. It receives no incoming requests, so a free plan that stops idle apps will stop it.
  • Webhook. Telegram sends every update to your HTTPS address. The program only has to answer requests, so it can sleep between them, or not run at all until a request comes.

Free plans are built for the second case. Most of them stop or “scale to zero” an app that gets no requests and start it again on the next request. That is fine for a webhook bot: Telegram keeps updates for up to 24 hours and repeats a request that failed, so a sleeping bot usually answers later. Telegram does not publish how many times it retries.

To move a bot to a webhook, see the webhook guide. Telegram’s requirements: HTTPS, ports 443, 80, 88 or 8443, IPv4. Every serverless and app platform below gives your app an HTTPS address; on a virtual machine you set up HTTPS yourself.

The options at a glance

ProviderFree limitsWhen idleBot typeCard or billing account
Google Cloud Run2 million requests, 180,000 vCPU-seconds, 360,000 GiB-seconds a monthscales to zerowebhookbilling account required
Cloudflare Workers100,000 requests a day, 10 ms of CPU per requestruns per requestwebhooknot stated
Deno Deploy1 million requests, 10 hours of active CPU a monthshuts down after ~20–30 secondswebhooknot stated
Vercel Hobby1 million invocations, 4 CPU-hours, up to 300 seconds per requestruns per requestwebhook, personal or non-commercial use onlynot stated
Render750 instance hours a monthsleeps after 15 minutes without requests, wakes in about a minutewebhooknot stated
Koyebone instance: 512 MB, 0.1 vCPU, Frankfurt or Washington, D.C.sleeps after 1 hour without trafficwebhookyes
PythonAnywhereone web appthe free web app expires after 1 month unless you extend itwebhooknot stated
Railway Free1 dollar of usage a monthsleeps after 5–10 minutes without outgoing trafficwebhookno
Oracle Cloud Always Free2 small AMD machines (1 GB each) and Arm capacity of 2 OCPUs and 12 GB in totalalways on, but idle machines may be reclaimedgetUpdates or webhookyes
Google Compute Engineone e2-micro machine in us-west1, us-central1 or us-east1always ongetUpdates or webhookbilling account required

“Not stated” means the provider’s pages do not say whether a card is needed.

Webhook bots: serverless platforms

Google Cloud Run. Your bot runs as a container with an HTTPS address. The free tier gives 2 million requests, 180,000 vCPU-seconds and 360,000 GiB-seconds of memory a month, counted per billing account. When there are no requests, it scales to zero. You need a Google Cloud billing account even to stay within the free tier.

Cloudflare Workers. 100,000 requests a day, reset at midnight UTC, and 10 ms of CPU time per request. Time spent waiting on network requests does not count as CPU time, so a call to the Bot API from your handler does not use up the 10 ms. Enough for a bot that answers simple messages; heavy work does not fit.

Deno Deploy. 1 million requests and 10 hours of active CPU a month. Idle apps shut down after about 20–30 seconds and start again on the next request.

Vercel Hobby. 1 million function invocations, 4 CPU-hours and up to 300 seconds per function call. Vercel’s terms allow the Hobby plan only for personal or non-commercial use, so a bot for a business needs a paid plan.

Webhook bots: free app hosting

Render. Free web services only — background workers are not free. A free service that gets no incoming requests for 15 minutes is spun down; the next request starts it again, which takes about a minute. The workspace gets 750 free instance hours a month. Render also says it may restart a free service at any time and that free services are not for production.

Koyeb. One free instance per organization: 512 MB of RAM, 0.1 vCPU, 2 GB of disk, in Frankfurt or Washington, D.C. It must be a web service, not a worker, and it scales to zero after one hour without traffic. Koyeb asks for a card and checks it with a temporary 29-dollar hold that it cancels at once. New accounts start on the paid Pro plan; switch to the Starter plan to keep only the free instance.

PythonAnywhere. The free Beginner account has one web app at your-username.pythonanywhere.com with HTTPS included, and api.telegram.org is on its list of sites that free accounts can reach. Since January 2026 a free web app expires after 1 month unless you extend it on the dashboard, and new free accounts have no scheduled tasks. Always-on tasks, which a getUpdates bot would need, are paid.

Railway. The Free plan gives 1 dollar of usage a month without a card. A service sleeps after 5–10 minutes without outgoing traffic. A getUpdates bot sends requests all the time, so it stays awake — but then it uses the dollar all the time: by Railway’s own table, 1 dollar is about 100 MB of RAM or 0.05 vCPU around the clock, and the service stops when the money runs out. New accounts also get a 30-day trial with a one-time 5 dollars. The always-on Hobby plan costs 5 dollars a month.

getUpdates bots: free virtual machines

A free virtual machine is a whole server: it runs all the time, and you can run a getUpdates bot or a webhook bot on it. You install everything yourself and keep it updated.

Oracle Cloud Always Free. Up to two AMD machines with 1/8 OCPU and 1 GB of memory each, and Arm (Ampere A1) capacity of 2 OCPUs and 12 GB of memory in total, plus 200 GB of disk. Many guides still quote 4 OCPUs and 24 GB — Oracle’s current documentation gives 2 and 12. Two warnings from Oracle itself: a machine that stays below 20% of CPU and network use (and of memory, on Arm machines) for 7 days may be reclaimed as idle — and a small bot can stay below that. An account left idle for 30 days or more may be suspended. Sign-up needs a credit or debit card; prepaid and virtual cards are not accepted.

Google Compute Engine. One e2-micro machine is free every month in one of three US regions: us-west1, us-central1 or us-east1, with 30 GB of disk. You need a billing account.

What is no longer free

  • Fly.io. Its pricing page answers “Is there a free tier?” with “No”. New accounts get a trial of 1 dollar for 7 days. After that, bills under 5 dollars a month are waived — only for a personal organization with a card on file.
  • PythonAnywhere always-on tasks. They are only for paid accounts; since January 2026 new free accounts also have no scheduled tasks.

Before you deploy

  • Keep the token out of the code. Put it in the platform’s environment variables or secrets. If it ever leaks, revoke it in @BotFather — see the bot token guide.
  • Protect the webhook with a secret token: Telegram sends it in a header, and your code rejects requests without it.
  • Expect late first answers on platforms that sleep. Telegram repeats failed requests and keeps updates for 24 hours, but the person waits.
  • Read the provider’s page again. Every number above was checked in November 2026, and free plans change more often than paid ones.

No hosting at all: AdminHub

If your bot is for a channel — publishing posts, moderating comments, a shop, answering customers with AI — you may not need hosting. AdminHub runs the bot from its own servers: when you connect a bot, AdminHub sets its own webhook for it, and the bot works without any server on your side. If you have no bot yet, AdminHub creates one through Telegram without a token to copy — see how to create a Telegram bot.

The limit is clear: the bot does what AdminHub does, not your own code. A bot has one webhook, so it cannot work for AdminHub and for your own server at the same time. If you need your own code, the platforms above are where it runs.


Sources, checked November 2026: Telegram — Bot API: getting updates, setWebhook, webhook guide; Google Cloud free features, Cloud Run pricing; Cloudflare — Workers limits, pricing; Deno Deploy pricing; Vercel — Hobby plan, function limits, terms; Render free instances; Koyeb — instances, pricing FAQ; PythonAnywhere — pricing, free account features, changes to free accounts, allowlist; Railway — Free plan, plans; Oracle — Always Free resources, Free Tier FAQ; Fly.io pricing.

What people usually ask

Where can I host a Telegram bot for free?
For a webhook bot: Google Cloud Run, Cloudflare Workers, Deno Deploy, Vercel (personal or non-commercial use only), Render, Koyeb, Railway or a PythonAnywhere web app all have a free option. For a bot that uses getUpdates and must run all the time: an Oracle Cloud Always Free virtual machine or Google's free e2-micro machine. Each has limits, and some ask for a card or a billing account.
Can I run a polling bot on a free plan?
Reliably, only on a free virtual machine that stays on — Oracle Cloud Always Free or Google Compute Engine's e2-micro. Most free plans stop an app that receives no requests, and a getUpdates bot receives none: it only sends them. Railway's free plan keeps such a bot running, but only until its 1 dollar of monthly usage runs out.
Does Fly.io still have a free plan?
Fly.io's pricing page says new organizations have no free tier: there is a trial of 1 dollar for 7 days, and bills under 5 dollars a month are waived only with a card on file. PythonAnywhere still has a free account, but since January 2026 new free accounts have no scheduled tasks, and always-on tasks are paid.
Will my bot lose messages while the free server sleeps?
Telegram keeps updates the bot has not received for up to 24 hours and repeats a webhook request that failed. So a sleeping webhook bot usually answers late; Telegram does not publish how many times it retries. On Render, waking up takes about a minute. Updates are not kept longer than 24 hours.
Is there a way to run a Telegram bot without any hosting?
Yes, if a service runs the bot for you. AdminHub, for example, connects your bot to its own webhook, so the bot works with no server on your side. The limit is that the bot does what the service offers — posts, moderation, a shop, AI answers — and not your own code.