Is the Telegram API Free? The Real Cost Explained

Telegram API Pricing

Is the Telegram API Free? The Real Cost Isn't the Price

Yes, the Telegram Bot API and the Telegram API (MTProto) are both free to use, with no per-message fee and no pricing tier. But free access isn't the same as free to run. This guide covers the real Telegram API cost: infrastructure, ban risk, and MTProto implementation time.
Quick Answer

Is the Telegram API free? Yes, with one distinction

Both API surfaces you would use to build on Telegram, the Bot API and the Telegram API (MTProto), are free to use. There is no message quota, no per-message fee and no pricing tier tied to volume. That settles the Telegram API price question. It does not settle the cost question, which is a different thing and the actual subject of this article.
The Telegram API is free. No message-based pricing, no tier, no quota.
Telegram states both the Bot API and the Telegram API are usable free of charge. The Bot API is currently at version 10.2, published July 14, 2026. Free access is not the full story: the infrastructure, the ban risk, and the implementation time behind that access are where the real cost sits, and they're covered in the sections below.
Source: core.telegram.org, consulted August 10, 2026.
Telegram and WhatsApp are not priced the same way. Meta has billed the WhatsApp Business Platform per message since July 1, 2025. Telegram has no equivalent fee on either of its APIs. See is the WhatsApp API free for that model.
Pricing Breakdown

What's actually free, and what isn't

Telegram exposes three distinct API surfaces plus one consumer subscription. Only two of the four are free for developers. Confusing them is where most "is the Telegram API free" questions actually come from.
Bot APIFree
HTTP interface for bot accounts, created through BotFather. Telegram states it is usable free of charge. Currently at version 10.2, published July 14, 2026. No message quota, no billing tier.
Telegram API (MTProto)Free
The protocol behind full Telegram clients, also free to use. Requires an api_id and api_hash obtained on my.telegram.org, one api_id per phone number.
Gateway APIPaid
Sends one-time verification codes for account authentication. A separate product from the Bot API and the Telegram API, billed per verification. Out of scope for this article: it isn't a messaging API.
Telegram PremiumPaid
A consumer subscription for end users (larger uploads, reactions, badges). It sits on the user side of the app, not on the developer side, and has no bearing on whether an API integration is billed.
The Real Cost, Part 1

Infrastructure you still pay for

The Telegram API itself carries no fee, but nothing runs on its own. Whether you build on the Bot API or on MTProto directly, you're still responsible for the infrastructure that keeps a Telegram integration alive.
Server and uptime
A bot webhook or an MTProto client both need a server that stays up. Downtime means missed messages and updates, not a queued retry from Telegram's side.
Session and credential storage
MTProto sessions and your api_id / api_hash pair need secure, durable storage. There is only one api_id per phone number, so losing or leaking it is expensive to fix.
Webhook or persistent connection
Bots receive updates via webhook or long polling. Full MTProto clients hold a persistent connection open. Both need to be maintained, not just deployed once.
Reconnection and monitoring
Networks drop, sessions expire, devices get removed from Telegram's session list. Someone has to detect a disconnected state and recover it before messages start silently failing.
The Real Cost, Part 2

The real cost, part two: the risk of a ban

A free API doesn't mean a risk-free one. Telegram is explicit that certain behaviors get accounts and clients permanently banned, and unofficial clients are already watched more closely than the official app.
Flooding, spam and inflated counters
Telegram states that flooding, spam and inflated counters result in a permanent ban. This applies to both Bot API bots and MTProto-based clients acting on behalf of a user account.
Unofficial clients are already flagged
Clients built outside the official app are placed under automatic observation. A custom MTProto client starts under closer scrutiny than the app most users already have installed.
Shared credentials trigger real errors
The api_id shipped inside open-source example code is a known case: reusing it triggers API_ID_PUBLISHED_FLOOD errors for end users, because Telegram sees a public credential shared across too many clients.
What lowers the risk in practice
Avoid sending from brand-new accounts
Ramp up sending volume progressively
Never send faster than every 10 to 20 seconds
This is Unipile's own operating guidance for accounts using the Devices connection method, and it holds for anyone building on Telegram, bot or account. A permanent ban costs more than any subscription would: the account, the session and the integration all need to be rebuilt.
The Real Cost, Part 3

The real cost, part three: the time to implement MTProto

MTProto is a binary protocol, not a REST API. Building a client on it, even with a library like TDLib, Pyrogram, GramJS or Telethon, means handling the encryption handshake, session serialization, update gaps, media upload chunking, flood-wait backoff and multi-device sync yourself. That's engineering time no pricing page will ever show.
Bot APIHTTP, bot account
Low effort
MTProto directBinary protocol, full account
Weeks of build
Linked account (Unipile)REST over the account connection
Days, not weeks
Unipile connects a Telegram user account, through Telegram's own Devices function (QR code login) or through Hosted Auth with providers: "TELEGRAM", and exposes it as a REST API. This is not the Bot API: it's the same full account access MTProto gives you, without writing an MTProto client. If the linked device is removed from the account's Telegram sessions, the account simply goes disconnected, the same way any session drop would.
Build the linked account route instead
Three Ways In

Bot API vs MTProto direct vs a linked account

All three routes reach a free Telegram API. What separates them is who owns the session, who owns the ban risk, and how many weeks it takes to ship.
Bot APIMTProto direct (DIY)Linked account (Unipile)
API costFreeFreeFree API access, platform cost applies, see pricing
Account typeBot accountFull user accountFull user account
ProtocolHTTP / RESTBinary MTProtoREST, MTProto abstracted away
SetupToken from BotFatherapi_id / api_hash from my.telegram.org, custom client buildQR login or Hosted Auth, a few endpoints
Session managementHandled by TelegramYour responsibilityHandled by Unipile
Ban risk handlingPlatform-managed for botsEntirely your responsibilityUnipile applies Telegram's own pacing guidance; final volume and cadence stay a customer-side decision
GroupsLimited to bot permissionsFull, if you build itSupported (add / remove / list participants); channels, communities and broadcasts not supported
Best forAutomated triggers, simple botsTeams with dedicated MTProto engineering timeProduct teams shipping account-level messaging without building MTProto
Bot API
API costFree
Account typeBot account
ProtocolHTTP / REST
SetupToken from BotFather
Session managementHandled by Telegram
Ban risk handlingPlatform-managed for bots
GroupsLimited to bot permissions
Best forAutomated triggers, simple bots
MTProto direct (DIY)
API costFree
Account typeFull user account
ProtocolBinary MTProto
Setupapi_id / api_hash from my.telegram.org, custom client build
Session managementYour responsibility
Ban risk handlingEntirely your responsibility
GroupsFull, if you build it
Best forTeams with dedicated MTProto engineering time
Linked account (Unipile)Best
API costFree API access, platform cost applies, see pricing
Account typeFull user account
ProtocolREST, MTProto abstracted away
SetupQR login or Hosted Auth, a few endpoints
Session managementHandled by Unipile
Ban risk handlingApplies Telegram's own pacing guidance; volume and cadence stay a customer-side decision
GroupsSupported (add / remove / list participants); channels, communities and broadcasts not supported
Best forProduct teams shipping account-level messaging without building MTProto
Get Started

Connect Telegram accounts without building MTProto

Unipile links a real Telegram user account, through the app's own Devices login, and exposes it as a single REST API alongside WhatsApp, LinkedIn, Instagram, Gmail, Outlook and IMAP. No MTProto client to maintain, no session store to build.

Telegram API Pricing - FAQ

Straight answers on Telegram API pricing, the Bot API, MTProto and how Unipile connects a Telegram account.
Yes. Telegram states the Bot API is usable free of charge, with no per-message fee and no volume tier. The current version is 10.2, published July 14, 2026. The cost of running a bot comes from the server and infrastructure you host it on, not from Telegram itself.
The Telegram API (MTProto), the protocol behind full Telegram clients, is also free. You get an api_id y api_hash from my.telegram.org, limited to one api_id per phone number, and there's no billing attached to using them. The cost shows up later, in the infrastructure and engineering time needed to build a working MTProto client.
No, and it's a different product. The Gateway API sends one-time verification codes for account authentication and is billed per verification. It is separate from the Bot API and the Telegram API, and it isn't a messaging API, so it's out of scope of a Telegram messaging integration.
No. Unipile links a real Telegram cuenta de usuario, using Telegram's own Devices function (QR code login) or Hosted Auth with providers: "TELEGRAM". That account is then exposed as a REST API. It is not a bot account, and it does not go through the Bot API.
Telegram states that flooding, spam and inflated counters lead to a permanent ban, and that unofficial clients are placed under automatic observation. In practice: avoid brand-new accounts, ramp up sending volume progressively, and never send faster than every 10 to 20 seconds. A ban means rebuilding the account and the integration, which costs more than any subscription.
The two platforms aren't priced the same way. Meta has billed the WhatsApp Business Platform per message since July 1, 2025. Telegram has no equivalent per-message fee on either the Bot API or the Telegram API. See is the WhatsApp API free for how that model works.
Still weighing Bot API, MTProto or a linked account? Our team can walk you through it.
Hable con un experto

es_ESES