Telegram Serverless: Is It Free? Access Steps and the Catch
Telegram Serverless hosts bot and Mini App code free on Telegram's servers. How to get access, the catch in 'free', and how it compares to Railway and Vercel.
Illustration: AI-generated for ProductFire. It does not show a real Telegram screen.
Key takeaways
Telegram Serverless runs a bot's JavaScript, a built-in SQLite-backed database and a Mini App's front end on Telegram's own servers, so a small bot no longer needs a VPS.
Pavel Durov presented it as free cloud infrastructure at Blockchain Life in Dubai on December 2, 2026, and said about 50,000 testers used it during the beta, according to Technext and Blockster.
Telegram has not published a pricing page, quotas, CPU or memory limits, or an uptime SLA. 'Free' today is a keynote promise, not a written plan.
Access is still gated. If BotFather shows no Serverless section for your bot, Telegram hasn't opened it for that bot yet; request access and wait.
It isn't new: the tgcloud CLI hit npm on July 12, 2026, and our check of npm data shows monthly downloads jumped from 1,664 in September to 155,547 in November.
Use it now for hobby bots, prototypes and AI-built Mini Apps. Wait for published terms before you put paying customers or Python bots on it.
In this article
Telegram Serverless is a free-to-start cloud that runs your Telegram bot's JavaScript code, a built-in SQLite-backed database and your Mini App's front end on Telegram's own servers. You manage it from @BotFather on your phone or with the tgcloud command-line tool. Access is still gated, and Telegram hasn't published prices or limits yet.
Pavel Durov pitched it on stage at Blockchain Life in Dubai on December 2, 2026, as free cloud infrastructure for bot and Mini App builders. Since then, "is telegram serverless free", "telegram serverless pricing" and "telegram serverless waitlist" have all been showing up in Google's autocomplete for the US, UK and Canada.
If you've ever paid for a small VPS, or fought a free host that puts your bot to sleep, just so it can answer /start, this is aimed squarely at you. Below is what you actually get, how to get in, what "free" does and doesn't cover, and whether you should build on it now.
What is Telegram Serverless?
Telegram Serverless is Telegram's own hosting for bot backends. You write plain JavaScript files, deploy them with one command, and Telegram runs them in isolated V8 sandboxes next to the Bot API. Every bot gets an SQLite-backed database and outbound HTTP built in, so there's no server to rent, patch or keep awake.
The official docs describe it as "no servers to provision, no containers to keep alive, no scaling to think about." In practice, a project is one tgcloud/ folder with four kinds of code:
handlers/: one file per Telegram update type. handlers/message.js runs when a message arrives, handlers/callback_query.js when someone taps a button.
endpoints/: functions your Mini App calls.
lib/: shared code.
schema.js: your database tables, written in a Drizzle ORM-style syntax.
There's no webhook URL to set and no bot token in your code. Telegram routes each update to the matching handler and ignores update types you haven't written a handler for.
Since an October 6, 2026 update, it also hosts your Mini App's front end (React, Vue, Svelte or plain HTML) at an app<app_id>.tgcloud.ai address. Mini App calls arrive with Telegram's init data already verified, so you don't have to build a login system. That last part matters more than it sounds: checking init data by hand is easy to get wrong.
What Durov announced on December 2
According to Technext, Durov presented Serverless to a crowd of roughly 15,000 in Dubai as a free hosting tier with storage, database and server capacity for bots and Mini Apps. Technext reports he said 50,000 testers used it over several months of beta. Blockster reported the same figure as "roughly 50,000 people," and quoted his pitch: "You can ship an app from your phone." His demo was a multiplayer Mini App with Telegram Stars payments that a friend with no coding skills built in a couple of hours.
ThePrint covered it as part of a bigger keynote that also brought a News feed, automatic translation and Dictator, a Mac AI assistant. Serverless got one line there. For developers, it's the bigger deal.
It's not new: the quiet rollout since July
Telegram Serverless has been in a soft launch for about five months. The CLI went on npm on July 12, 2026, docs were spotted on July 15, a request-access button appeared in BotFather by September, and Mini App hosting arrived on October 6. December 2 was the public push, not the start.
Date (2026)
What happened
Source
July 12
@tgcloud/cli v0.1.0 published to npm (UTC timestamp)
npm registry, our check
July 14
Closed-test invites sent to some Telegram contest winners via @ContestBot
We checked the npm registry ourselves. The first three CLI versions all landed between July 12 and 13, and version 0.2.0 was published on October 6, the same day as the docs changelog entry.
Our data: CLI downloads jumped before the keynote
Pulling the npm download counts for @tgcloud/cli shows where the real growth happened. It went from 1,664 downloads in September to 29,862 in October, when Mini App hosting shipped, and 155,547 in November. The first five days of December added 23,625.
Treat these as a signal, not a user count. npm downloads include CI pipelines, mirrors and repeat installs. But the shape is clear: developers were piling in weeks before Durov said a word on stage.
How to get Telegram Serverless access, step by step
Open @BotFather, pick your bot and tap Serverless. If you see it, switch it on, copy the token from CLI Access, then Access token, and run npx tgcloud login. If there's no Serverless section, Telegram hasn't opened it for that bot yet. Request access if BotFather offers a button, then wait.
Install Node.js 18 or newer. The docs require it for the CLI.
Open @BotFather and tap Open. Pick an existing bot or create a new one.
Tap Serverless. If it's there, turn it on. That unlocks the handlers, library, database and CLI token for that bot.
Get the CLI token. Go to Serverless, then CLI Access, then Access token. This is a separate token from your bot's normal API token.
Create a project: run npm create @tgcloud/bot my_bot, then cd my_bot.
Link and deploy: run npx tgcloud login, paste the token, then npx tgcloud push. Send your bot a message and the starter handler echoes it back.
Add a database table in tgcloud/schema.js, then run npx tgcloud push followed by npx tgcloud migrate. Code deploys never touch your data until you run migrate.
Prefer your phone? The same project lives inside BotFather. You can edit handlers, endpoints, the database schema and Mini App files there, and test-run a handler with its console output shown in the chat. Later, npx tgcloud pull brings it to your laptop.
What if the Serverless menu is missing?
If you don't see it, you're not alone. In a December 4 GitHub thread, a maintainer of Telegram's Dictator app explained that when the Serverless section doesn't appear for a bot, "Telegram hasn't opened Serverless for that bot yet. It isn't a setting you missed." What to do:
Look for a Get access to Serverless button in BotFather. Habr reported it in September as the way to apply for the beta.
Wait for a message from BotFather. There's no published timeline for approval.
Don't try your bot's API token instead. The same maintainer notes it can't replace the CLI access token.
Don't pay anyone selling "access." We found no official paid route in. The docs and Telegram's own team point only to BotFather.
Is Telegram Serverless free? The fine print
Durov called it free, and at least one early tester reports no hosting bill. But Telegram's docs have no pricing page, no free-tier quotas, no CPU or memory limits and no uptime SLA as of December 6, 2026. "Free" is a stage promise today, not a written plan you can budget against.
Confirmed
Not yet published
Durov presented it as free cloud infrastructure (Dec. 2 keynote, via Technext and Blockster)
A pricing page or paid tiers
Bot API, an SQLite-backed database and outbound HTTP are built in (docs)
Free-tier quotas for requests, storage or database size
Mini App front-end hosting since Oct. 6, 2026 (docs changelog)
CPU time, memory and execution-time limits per bot
Code runs as JavaScript in V8 isolates; no npm packages at runtime (docs)
An uptime SLA or support terms
No foreign keys; schemas that declare them won't deploy (docs)
Scheduled jobs (none described in the docs)
Outside API responses capped at 30 MB (docs)
Where your data is stored and how to export all of it
Bot uploads still follow Bot API limits: 50 MB per file, 10 MB per photo (docs)
A date when everyone gets access
The real cost of "free" isn't money yet. It's three things:
Rewrites. No npm packages means no zod, no lodash, no Stripe SDK at runtime, as jamilxt's breakdown on DEV points out. If a library can't be copied in as plain code, you can't use it. Python bots don't run at all.
Design limits. No foreign keys means you enforce relationships in your own code. The docs call it "a deliberate constraint, not an oversight."
Lock-in. Your handlers call Telegram's sdk, and your data lives in Telegram's database. Leaving later means rewriting those calls.
What an early tester measured
Developer Jabrail Khalilov, who got early access, benchmarked Serverless against two VPSs in Finland and Germany in October (his post notes it was AI-assisted). His bot, database and Mini App ran with no hosting charge. But in his tests, reading one row by primary key took a median 2 ms on Serverless versus 0.009–0.013 ms on the VPSs, and a full-history query over 100,000 records hit a query-read limit on Serverless that the VPSs handled. Batching helped a lot: 32 separate inserts took 533 ms, one combined insert took 16 ms. His verdict: Serverless for prototypes, VPSs for his working projects. That's one tester's numbers, but it shows there are limits in practice even though none are published.
Also remember the things that were never free: AI model APIs your bot calls, payment fees and any outside services. Those bill you the same as before.
Telegram Serverless vs Railway vs Vercel
For a small JavaScript bot that only reacts to messages, Telegram Serverless is the least work: no webhook, no server, database included. Railway and Vercel win on everything a business needs: published prices and limits, more languages, npm packages and built-in cron jobs.
Telegram Serverless
Railway
Vercel
Price to start
No published price; Durov says free
Free plan $0 with $5 of monthly usage credit; Hobby $5/month
Hobby: 1M function invocations, 4 hours Active CPU, 360 GB-hrs memory per month
Always on?
Runs on each Telegram update
Free services sleep after 5–10 minutes without outbound traffic; Hobby is always on
Functions run per request; 300-second max duration on Hobby
Database
Built in, SQLite-backed, no foreign keys
One-click Postgres, Redis, MySQL, MongoDB
Blob storage (1 GB on Hobby); no built-in SQL database listed
Languages
JavaScript only, no npm packages
Your own containers and packages
Node.js, Bun, Python, Go, Ruby, Rust and more
Scheduled jobs
Not in the docs
Cron jobs supported
Cron Jobs included on Hobby
Webhook setup
None; handled by Telegram
You set it up
You set it up
Mini App hosting
Included, with verified Telegram users
You build it
You build it
Prices come from Railway's pricing page, Vercel's pricing page and the Vercel Hobby docs, all checked on December 6, 2026. Vercel's Hobby features pause until the next 30-day window if you go over a limit, so a bot that suddenly gets popular can stop answering there too.
Our take for indie developers in the US, UK or Canada: if you're already paying $5 a month for Railway Hobby or a small VPS to run one JavaScript bot, and BotFather has opened Serverless for you, it can take that to $0 today. If your bot posts on a schedule, uses Python or needs a specific npm library, keep your current host.
Building with AI agents: the real headline
Every new Serverless project ships with an AGENTS.md file and an SDK reference that coding agents such as Claude Code, Cursor and opencode read automatically. With one SDK and no npm packages, an agent has fewer ways to pick the wrong library, which is why non-coders can ship working bots.
The docs' own example prompt is: "Write a bot that remembers each person's to-do list." The agent edits schema.js and the handlers, you test with npx tgcloud run, then go live with push and migrate. That's the loop behind Durov's "friend with no coding skills" demo.
Two cautions. First, AI-written code still needs a human read-through, especially anything that handles payments or user data. Second, a bot that reads user messages and calls outside APIs is exactly the kind of setup prompt injection attacks target, so never let it act on instructions hidden in messages.
The biggest risk isn't the code, it's the terms. Telegram can set prices, add limits or slow access at any time, and nothing published stops it. You also can't easily move: your code depends on Telegram's SDK and your data lives in Telegram's database.
Terms can change overnight. With no published pricing or quotas, nothing tells you what happens when your bot hits 10,000 or 100,000 users.
No SLA. If your bot goes down, there's no promised uptime or support channel.
Access isn't guaranteed. Your second or third bot may not get Serverless when your first one did.
Lock-in. The query API is close to Drizzle, but not identical, and handlers use Telegram-only calls.
Regulatory noise. Technext notes Durov remains on bail after his 2024 arrest in France and faces charges in Russia that he rejects. That doesn't affect your code today, but it's part of the platform risk for a business.
To limit the damage: keep business logic in plain functions in lib/, call api and db only at the edges, keep a copy of important data outside Telegram (the docs describe no export or backup tool), and keep a working copy of your bot on another host if it earns money.
Should you use Telegram Serverless now or wait?
Use it now for hobby bots, group tools, prototypes and AI-built Mini Apps. Try it with an exit plan for side projects that might earn money. Wait if you have paying customers, need an SLA, write in Python or depend on scheduled jobs, until Telegram publishes pricing and limits.
Your project
Verdict
Why
Hobby bot, quiz, reminder or group tool
Use it now
Zero hosting, database included, no webhook work
Hackathon or weekend prototype
Use it now
Fastest path from idea to a live bot
Mini App built with an AI agent
Use it now
AGENTS.md, verified users and hosting are built in
Side project that might earn money
Try it, keep an exit
Free today, but no written terms
Bot with paying customers
Wait
No SLA, quotas or pricing yet
Python bot (aiogram, python-telegram-bot)
Wait or rewrite
JavaScript only
Bot that posts on a schedule
Wait
No scheduled jobs in the docs
We'll update this page when Telegram publishes pricing, limits or a date when everyone gets access.
Bottom line
Telegram Serverless is the easiest way yet to put a small bot or Mini App online: no server, no webhook, a database included, and it's free for now. The catch is that "free" lives in a keynote, not a contract. Build your next hobby bot on it today. Keep anything that pays your bills on a host with published terms until Telegram puts its own in writing.
Frequently asked questions
Is Telegram Serverless free?
+
Pavel Durov described it as free cloud infrastructure for bot and Mini App developers in his December 2, 2026 keynote. Telegram's official documentation has no pricing page, quotas or resource limits as of December 6, 2026, so there's no written guarantee it stays free or how much usage free covers.
How do I get access to Telegram Serverless?
+
Open @BotFather, tap Open, pick your bot and look for Serverless. If it's there, turn it on and copy the token from CLI Access, then Access token. If there's no Serverless section, Telegram hasn't opened it for that bot yet; use the Get access to Serverless button if BotFather shows one and wait for a message.
Can I run a Python Telegram bot on Telegram Serverless?
+
No. The platform runs JavaScript modules in V8 isolates, and code can import only Telegram's SDK and your own files. Python bots built on libraries like aiogram or python-telegram-bot need to be rewritten in JavaScript or stay on a VPS or another host.
Does Telegram Serverless support cron or scheduled jobs?
+
The official docs don't describe scheduled jobs. Code runs when a Telegram update arrives or when your Mini App calls an endpoint. A bot that must post something on its own every morning needs another trigger, such as Railway or Vercel cron jobs.
Is Telegram Serverless better than Railway or Vercel for a bot?
+
For a small JavaScript bot that only reacts to messages, it's simpler: no webhook, no server and a database built in. Railway and Vercel publish their prices and limits, support more languages and npm packages, and include cron jobs, which makes them safer for paid or long-lived projects.
What happens to my bot if Telegram changes the terms?
+
Nobody knows yet, because Telegram hasn't published terms. Your code uses a Telegram-only SDK and your data sits in Telegram's database, so moving means rewriting the SDK calls and exporting data. Keep business logic in plain functions and back up your data to reduce that risk.
Comments (0)
No comments yet. Be the first to share your view.