ChatGPT-Telegram-Workers hosts a Telegram bot that forwards chats to providers such as OpenAI, Anthropic, and Cloudflare AI. You deploy it serverlessly or with Docker.
Overview
ChatGPT-Telegram-Workers lets you run your own Telegram bot connected to large language model APIs. The project targets a simple deploy path, often as a single script on Cloudflare Workers without local dependencies or a dedicated domain, while also supporting Vercel, Docker, and related hosting options.
Users chat in Telegram; the worker routes messages to configured AI backends, including OpenAI, Cloudflare AI, Cohere, Anthropic, Mistral, DeepSeek, Groq, and others. Responses can stream back to the chat. Custom system prompts and commands allow preset personalities and quick model or profile switches.
Configuration is stored in a lightweight key-value style setup. A Telegram Mini App admin panel helps manage providers and settings. Built-in features include multilingual handling, text-to-image generation, and an extensible plugin system.
The bot is designed for personal or small-team use where you supply API keys and Telegram tokens and keep control of the deployment surface rather than using a hosted third-party bridge.
Key features
- Telegram chat front end
- Multiple AI provider backends
- Cloudflare Workers deployment
- Vercel and Docker options
- Streaming model output
- Custom commands and presets
- KV-style configuration
- Telegram Mini App admin UI
Use cases
- Personal ChatGPT over Telegram
- Switching models via bot commands
- Serverless AI bot hosting
- Private bot with custom system prompt