Is the Telegram Bot API free? Limits and costs in 2026
Yes. Telegram charges nothing to create a bot or to call the Bot API, and bots message their users at no cost. What costs money is around it: the server the bot runs on, paid broadcasts above about 30 messages a second, and Telegram Stars when you sell digital goods. The free API has limits: about one message a second per chat, 20 a minute per group, 20 MB downloads and 50 MB uploads, more with a local Bot API server.
By Livops team, the people who build and run LivopsUpdated
The short answer is yes: Telegram does not charge for the Bot API. This page shows where Telegram says so, what actually costs money around a bot (hosting, paid broadcasts, Telegram Stars), every limit the free API puts on you with Telegram’s own numbers — messages per second, file sizes, webhook connections — and what changes with a local Bot API server. It ends with what hosting a bot costs, here and elsewhere.
Is the Telegram Bot API free?
Yes. Telegram’s introduction for developers says the Bot Platform hosts more than 10 million bots and is free for both users and developers[1]. You create the bot in @BotFather, which gives you a token, and every call is an HTTPS request to https://api.telegram.org/bot<token>/METHOD_NAME[3]. There is no API key to buy and no charge per call; the one way to pay Telegram for higher limits is paid broadcasts, below. The Bots FAQ puts it the same way for messaging: by default, bots are able to message their users at no cost, with limits on how many messages they send in an interval[2].
What costs money?
The server your bot runs on
The Bot API is free; running the code that calls it is not. A bot needs a process that never stops (polling) or a public HTTPS address (a webhook), and Telegram hosts neither for you. That is the cost most bots have, and it is compared at the end of this page.
Paid broadcasts, above about 30 messages a second
Enabling paid broadcasts in @BotFather lets a bot broadcast up to 1000 messages per second; each message over the free 30 a second costs 0.1 Telegram Stars from the bot’s balance, and only messages broadcast successfully are charged[2]. Each send then passes allow_paid_broadcast[3]. The Bots FAQ asks for at least 100,000 Stars on the bot’s balance and at least 100,000 monthly active users to enable it[2]; the Bot API reference’s own Paid Broadcasts section names a balance of at least 10,000 Stars and no user count[3]. The two pages disagree, so check @BotFather before you plan on it. Without paid broadcasts, Telegram suggests spreading a large broadcast over 8–12 hours[2].
Telegram Stars, when you sell digital goods
Selling to users through the Bot API is free to set up, but what you sell decides how you are paid. Digital goods and services must be sold for Telegram Stars, currency XTR; users buy Stars from Telegram through Apple and Google in-app purchases or @PremiumBot[4]. Telegram says this follows the app stores’ rules, and that it cannot show a bot or Mini App to mobile users if it sells digital goods in other currencies or through third-party payment providers[4]. Physical goods and services go through third-party payment providers connected in @BotFather; for those, Telegram does not collect payment information and takes no commission[5].
A local Bot API server, if you need one
The server behind the Bot API is open source, and you can run it yourself[3]. The software costs nothing, but the machine it runs on does, and so does the work: it needs your own api_id and api_hash from Telegram, accepts only HTTP so a TLS termination proxy has to sit in front for HTTPS, and listens on port 8081 by default[6]. Most bots do not need it; Telegram’s own reference says the majority are fine on its servers[3].
Rate limits, as Telegram words them
The Bots FAQ gives three numbers[2]:
- In a single chat, avoid sending more than one message per second. Short bursts over this limit may be allowed, but eventually you get 429 errors.
- In a group, bots are not able to send more than 20 messages per minute.
- For bulk notifications, bots are not able to broadcast more than about 30 messages per second, unless they enable paid broadcasts.
Going over returns error 429, Too Many Requests: retry after N, whose parameters.retry_after is the number of seconds to wait before repeating the request[3]. How to wait it out in aiogram, python-telegram-bot, grammY and Telegraf, and how to build a broadcast queue that does not hit it, is in 429: Too Many Requests.
Two more limits shape how updates reach you. getUpdates returns between 1 and 100 updates per call, 100 by default[3]. A webhook gets at most max_connections deliveries at once, 1–100 and 40 by default[3]. Either way, Telegram keeps undelivered updates for 24 hours at most[3].
Message and file limits
| Telegram’s cloud Bot API | A local Bot API server | |
|---|---|---|
Download a file (getFile) |
Up to 20 MB[3] | No size limit[3] |
| Upload a file | Up to 50 MB; photos up to 10 MB[3] | Up to 2000 MB[3] |
| Send a file by URL | Telegram fetches it: photos up to 5 MB, other files up to 20 MB[3] | A local path or file:// URI also works[6] |
getFile result |
A download link valid for at least one hour[3] | The absolute local path, no download needed[6] |
| Webhook address | HTTPS only, on port 443, 80, 88 or 8443[3] | HTTP, any port, any local IP address[6] |
| Parallel webhook connections | Up to 100[3] | Up to 100,000[6] |
Some limits are the same everywhere: a sendMessage text is 1–4096 characters after entities are parsed, and a button’s callback_data is 1–64 bytes[3].
To move a bot to your own server, call logOut first. After that the bot can log in on the local server straight away, but cannot log back in to the cloud Bot API server for 10 minutes[3]. A bot logged in on two servers at once has no guarantee of receiving all its updates[6].
What does hosting a Telegram bot cost?
The API is free, so this is the bill. A small bot needs little: one process with a few hundred megabytes of memory, or an HTTPS endpoint.
| Option | Smallest always-on bot | Paid how |
|---|---|---|
| Livops | 19 credits (19,000 so’m) a month, polling or webhook | So’m, through Payme or Click, no card |
| A VPS in Uzbekistan | 82,000 so’m a month: 1 vCPU, 2 GB, 30 GB HDD (SmartCloud)[7] | So’m; you run the server yourself |
| Fly.io | $2.19 a month for a shared-cpu-1x Machine with 256 MB, running continuously[8] | A credit card on file[8] |
| Railway | Hobby: a $5 monthly minimum, including that much usage[9] | A credit card[9] |
| Render | $7 a month: 0.5 CPU, 512 MB, for services and background workers[10] | Credit and debit cards[10] |
Prices are from each provider’s own page, read on 25 November 2026; Livops prices are the ones the cabinet bills today. Fly.io’s dollar price is the lowest here, and a VPS holds several bots for one price. The full comparison, free tiers included, is in Telegram bot hosting.
On Livops
A Telegram bot is its own project type, and the price does not depend on how it gets updates: 19 credits a month (19,000 so’m), in polling or webhook mode, because both keep a process running. One credit is 1,000 so’m; credits are bought in so’m through Payme or Click, with no card, and bought credits never expire.
- Polling needs no domain, port or HTTPS. On every deploy the old process is stopped before the new one starts, so two copies never poll with one token.
- Webhook is set up by the platform: switch the bot’s Connection to Telegram in its settings, and Livops tells Telegram the address and a secret it generates. Your code listens on
PORT, receives onWEBHOOK_PATHand checksWEBHOOK_SECRET. - Watching. About every ten minutes the platform asks Telegram’s
getWebhookInfoabout the bot — a call that only reads — and tells you if a webhook bot’s deliveries start failing, or if a polling bot has a webhook set or messages waiting that it is not taking. What each field means is in getWebhookInfo. - Broadcasts. A
workerservice in the same project can run the sending queue next to the bot, at the same price as a bot.
There is no free tier 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 see it answer. See Pricing.
Questions
Is the Telegram Bot API free to use?
Yes. Telegram describes its bot platform as free for both users and developers. Creating a bot in @BotFather, getting a token and calling the Bot API cost nothing; only broadcasting faster than about 30 messages a second is paid, in Telegram Stars. What you pay for is the server your bot runs on.
How many messages can a Telegram bot send per second?
Telegram's Bots FAQ says to avoid more than one message per second in a single chat, that a bot cannot send more than 20 messages per minute in a group, and that bulk notifications are limited to about 30 messages per second. Going over returns 429 Too Many Requests with a retry_after to wait.
What are paid broadcasts?
A setting in @BotFather that lets a bot broadcast up to 1000 messages per second. Each message over the free 30 a second costs 0.1 Telegram Stars from the bot's balance, and only messages delivered successfully are charged. The FAQ asks for at least 100,000 Stars and 100,000 monthly active users to enable it.
What is the maximum file size for a Telegram bot?
On Telegram's cloud Bot API a bot can download files of up to 20 MB with getFile and send files of up to 50 MB, photos up to 10 MB. With a local Bot API server it can download without a size limit and upload files of up to 2000 MB.
Does a local Bot API server cost money?
The server is open source and free to run, but you run it: on your own machine, with an api_id and api_hash from Telegram, behind a TLS proxy if it must accept HTTPS. You also have to log the bot out of the cloud server first, and it cannot log back in there for 10 minutes.
Do I have to use Telegram Stars to take payments?
For digital goods and services, yes: Telegram requires them to be sold in Stars, currency XTR. Physical goods and services can be paid through third-party payment providers connected in @BotFather, and Telegram takes no commission on those.
How much does it cost to host a Telegram bot on Livops?
19 credits a month, which is 19,000 so'm at 1,000 so'm a credit, in polling or webhook mode. Credits are bought in so'm through Payme or Click, with no card. There is no free tier; on an account that has not paid yet, the first bot runs for 15 minutes on a zero balance, once.
Sources
- Telegram — Bots, an introduction for developers (core.telegram.org). Checked .
- Telegram — Bots FAQ (core.telegram.org). Checked .
- Telegram Bot API — Making requests, Local Bot API server, getUpdates, setWebhook, sendMessage, getFile, Paid Broadcasts (core.telegram.org). Checked .
- Telegram — Bot Payments API for digital goods and services (core.telegram.org). Checked .
- Telegram — Bot Payments API (physical goods and services) (core.telegram.org). Checked .
- telegram-bot-api server — README (raw.githubusercontent.com). Checked .
- SmartCloud — VDS plans (smartcloud.uz). Checked .
- Fly.io — Resource pricing (docs.fly.io). Checked .
- Railway — Pricing (railway.com). Checked .
- Render — Pricing (render.com). Checked .
Put your project online today
Connect GitHub or drop a folder. No card is asked for.
Deploy your botRelated
- Telegram bot hosting in 2026: the options comparedA Telegram bot needs a process that never stops, or a public HTTPS address for a webhook. On Livops it runs from a GitHub push for 19 credits a month (19,000 so'm). Here is how a VPS, Railway, Render, Fly.io and Vercel compare.
- Telegram 429: Too Many Requests: retry after N — how to fix itTelegram's flood control is telling your bot to slow down: wait the number of seconds in retry_after, then send the same request again. It comes from sending too fast — more than about one message a second to one chat, 20 a minute to a group, or about 30 a second in a broadcast. Wait and retry in code, and send broadcasts from one queue at a steady pace.
- Telegram bot webhook vs polling: which one to usePolling means your bot asks Telegram for updates in a loop; a webhook means Telegram POSTs each update to your HTTPS address. Polling is simpler and needs no address; a webhook needs HTTPS but no always-running loop. A bot uses one or the other, never both. On Livops both run for the same 19 credits a month.
- getWebhookInfo: check why your Telegram webhook is not workingCall https://api.telegram.org/bot<TOKEN>/getWebhookInfo. An empty url means no webhook is set. A pending_update_count that keeps growing with a recent last_error_date means Telegram cannot deliver, and last_error_message says why: a non-2XX answer, a timeout, a TLS error. Fix the endpoint, then reset with setWebhook, or deleteWebhook with drop_pending_updates to discard the backlog.
- Conflict: terminated by other getUpdates request — how to fix itTelegram is telling your bot that another process called getUpdates with the same token and took the connection over. Two copies of the bot are polling at once: stop the other one (usually the copy still running on your computer or an old server), or get a new token from @BotFather, and the error stops.