
What Is It
AI Chatbot is an open-source Telegram bot that gives you access to the world’s best AI models — GPT-4o, Claude, Gemini, Llama, Mistral, Qwen, and more — all from within Telegram. Streaming responses update in real time as the model generates text.
Features
- 10+ AI models — GPT-4o, Claude, Gemini, Llama, Mistral, Qwen via OpenRouter
- Streaming responses — messages update live as the model generates
- Multiple chat sessions — independent conversations per user
- Model switching — change model mid-chat without losing context
- Custom system prompts — personalize each chat session
- Stop generation — cancel mid-stream anytime
- Admin controls —
/approve,/revoke,/usersfor access management - Usage stats — track tokens, messages, and costs per user
- Bilingual UI — English and Russian with in-app switcher
- Persistent history — all chats saved in PostgreSQL
Tech Stack
- Python 3.12 — async/await throughout
- aiogram 3.x — async Telegram Bot API
- FastAPI + Uvicorn — health checks and monitoring
- OpenRouter API — unified AI model gateway
- PostgreSQL 16 + SQLAlchemy 2.0 — async database layer
- Docker — multi-stage build,
docker compose up -d
Why I Built It
I wanted a private, fast way to chat with multiple AI models without switching between apps. Telegram is where I already spend time, so bringing GPT-4o, Claude, and Gemini into one bot made sense. OpenRouter gives access to all models through a single API, and streaming makes the experience feel instant.
Links
- Live site: ai.temaprint.com
- Source code: github.com/temaprint/ai.temaprint.com