natbox.io

Telegram bot hosting from $1 a month

Keep your Telegram bot online around the clock, on a server you control.

A Telegram bot has to run somewhere that stays on. Your own computer sleeps, and free hosting platforms put idle apps to sleep. A small natbox server runs your bot 24/7 with root SSH, so you can use any language and library: python-telegram-bot, aiogram, Telegraf, grammY or your own code.

Order Nano · Try it free for a month

Which plan for a Telegram bot

PlanRAMGood forPrice
Nano512 MBOne or a few bots in Python or Node.js$1.00 a month
Box1 GBSeveral bots, or a bot with a database$1.25 a month
Box Plus2 GBBusy bots, or bots that handle media$2.25 a month

Long polling or webhooks

How to set up your bot

  1. Create the bot with @BotFather and copy its token.
  2. Order a server and log in over SSH.
  3. Install your bot and its packages.
  4. Run it as a systemd service, so it starts on boot and restarts after a crash.

The step-by-step guide, with a working Python example: Host a Telegram bot 24/7.

Good to know

Telegram bot hosting questions

Is 512 MB of RAM enough for a Telegram bot?

Yes, for most bots. A typical Python bot uses 50 to 150 MB, so Nano runs one comfortably, often several.

Can I run a Telegram bot for free?

For a month, yes: new customers get a free trial server with 256 MB RAM, enough for a small bot. See the free VPS trial.

Will my bot keep running if I close SSH?

Yes, if you run it as a systemd service, as the guide shows. It keeps running and starts again after a reboot.

Can I run a Discord bot on the same server?

Yes. One server can run as many bots as fit in its memory. See Discord bot hosting.

Also useful: Run a Python API, PostgreSQL on a small server.