---
title: "Telegram AI Bot Hosting: Always-On + Included Credits"
description: "Learn why Telegram AI bots need always-on hosting and why metered AI credits are the hidden cost that kills most DIY setups — and how to avoid both."
canonical: https://agentroost.app/en/blog/telegram-ai-bots-always-on-hosting-included-credits
date: 2026-05-24T20:00:00Z
---

[Canonical URL](https://agentroost.app/en/blog/telegram-ai-bots-always-on-hosting-included-credits)

## The Two Things That Kill Most Telegram AI Bots

Building a Telegram bot that responds intelligently to messages sounds approachable. You grab the [python-telegram-bot](https://python-telegram-bot.org/) library, wire it to an LLM API, test it on your laptop — it works. Then you close your laptop and the bot dies.

That's the first hidden cost: **a server that never sleeps**.

The second one hits later, usually on a Friday when you check your credit card statement. LLM API calls are metered. Every message your bot processes costs a fraction of a cent, which sounds negligible until you have a hundred conversations running, or you accidentally write a loop that hammers the API, or your usage just quietly compounds week over week.

These two costs — perpetual uptime and a variable AI bill — are what separate a working Telegram AI bot from a demo that lives only on your laptop.

## Why "Always-On" Is Not Optional

Telegram's bot API is pull-based by default. Your code calls `getUpdates` in a loop (long-polling) or registers a webhook endpoint that Telegram pushes messages to. Either way, your process must be running at all times to receive and respond to messages.

When it isn't running:

- **Messages queue, but context evaporates.** Telegram holds undelivered messages for a while, but if your bot has any memory of the ongoing conversation (which is the whole point of an *AI* bot), that state is gone the moment the process dies.
- **Scheduled tasks don't fire.** If your bot is supposed to summarize yesterday's news every morning, send a daily reminder, or poll an API on a schedule — a sleeping process means none of that happens.
- **Users give up.** A bot that doesn't answer isn't a bot, it's a bad impression.

So "always-on" is not a nice-to-have. It is the baseline requirement.

### What "Always-On" Actually Requires

Running a process 24/7 yourself means:

1. A server (VPS, cloud instance) that is always powered on — even at 3 AM, even on weekends.
2. A process supervisor (`systemd`, `pm2`, `supervisor`) that restarts your bot if it crashes.
3. An HTTPS endpoint if you use webhooks (Telegram requires it). That means a domain, an SSL certificate, and a reverse proxy like nginx or Caddy — or a tunnel like ngrok for local dev (which is not suitable for production).
4. Log rotation, health monitoring, and someone who notices when it breaks.

None of this is impossible, but it is real work — and it is entirely separate from actually building what your bot does.

## The Metered AI Bill Problem

Connecting your Telegram bot to an LLM means making API calls to OpenAI, Anthropic, Google, or whoever you choose. Every API provider bills per token: input tokens + output tokens, per request.

For casual personal use this might cost a dollar or two a month. For anything with real usage — an assistant that handles your inbox, a research helper that runs long context windows, a customer-facing bot — the bill becomes unpredictable.

> "Unpredictable" is the operative word. You can estimate, but you can't know. And estimates are wrong.

The standard advice is "set a hard limit on your API dashboard." That's a circuit breaker, not a solution. Once you hit the limit, the bot stops working until you top up. You've traded a surprise bill for a silent outage.

What actually solves this is a **flat, included credit model**: a fixed monthly price that covers a defined amount of AI usage, so you know exactly what you're paying before the month starts.

## What a Properly Bundled Setup Looks Like

An all-in setup for a Telegram AI bot covers:

| Concern | DIY approach | Bundled approach |
|---|---|---|
| Uptime | VPS + systemd + you | Included, 24/7 |
| Process restarts | pm2 / supervisor | Included |
| HTTPS / webhook endpoint | nginx + Let's Encrypt | Included |
| Telegram bot provisioning | BotFather steps | Auto-provisioned |
| LLM API access | Your own key, metered | Included credits, flat price |
| Pricing | Server + API bill (variable) | One line on your statement |

The tradeoff is control vs. cognitive load. If you enjoy the DevOps and want full control over every layer, rolling your own is a valid choice. If you want the bot to actually exist and work reliably without becoming a part-time systems administrator, bundled hosting makes the economics straightforward.

## How to Do This on AgentRoost

AgentRoost offers two frameworks specifically designed for Telegram AI bots:

**Hermes** is built for persistent AI assistants that run scheduled tasks, maintain long-running context across sessions, and connect to external data sources. Good for monitoring setups, research helpers, daily briefings, or anything that needs to *do things on a schedule* as well as respond to messages.

**OpenClaw** is a personal AI assistant you interact with conversationally. It maintains conversation and file state, so it remembers what you talked about yesterday. You get a private Telegram bot — no one else uses it.

Both frameworks provision the Telegram bot automatically. You don't visit BotFather, generate a token, or configure webhook URLs. That's handled for you.

### The actual flow (Hermes or OpenClaw):

1. Sign up at [agentroost.app](/en/agents) — email/password, or Google/Microsoft/Discord OAuth.
2. Pick your framework (Hermes or OpenClaw).
3. Give your agent a name.
4. Click the link to open the AgentRoost manager bot on Telegram, then `/start` your agent.
5. Your agent is live and responding in about 2 minutes. AI credits are already included — no API key step, no billing setup with a third-party LLM provider.

Pricing starts at $19.99/mo all-in. That covers the server, the always-on process, the Telegram bot provisioning, and a pool of included AI credits. Plus and Pro tiers add more compute and more included credits. There's a 14-day money-back guarantee and monthly billing — cancel anytime.

If you want to compare what's included at each tier: [Compare plans](/en/pricing).

## When to Consider Each Framework

**Start with OpenClaw** if you want a personal AI assistant — something that knows your context, remembers your preferences, and you interact with daily via Telegram. It's the closest thing to having a capable assistant in your pocket without writing any code.

**Start with Hermes** if you have a more structured use case: you want the assistant to also do things on a schedule (send you a daily summary, check a feed, run a task at a specific time), or you need it to connect to external APIs as part of its job.

Both are genuinely different tools. The right one depends on what you need the bot to actually *do*, not just respond to.

## The Credit Inclusion Is the Detail That Changes the Math

Almost every alternative — spinning up your own VPS, using a generic cloud hosting platform, or using a no-code tool that supports Telegram bots — requires you to bring your own LLM API key. The AI usage is always a separate, variable cost.

When credits are included, you can reason about the total cost of running your AI bot before the month starts. That's not a minor convenience. It's the difference between a sustainable tool you use every day and a side project you shut down when the bill lands.

[See what's included at each plan level →](/en/agents/hermes)
