tokenmix-tg-bot
v0.1.0
Published
AI chatbot for Telegram with streaming + vision — 155+ models via TokenMix
Maintainers
Readme
tokenmix-tg-bot
Your own AI chatbot on Telegram. One file, one command, 155+ models.
Streaming responses + vision support. Powered by TokenMix — one API key for GPT-5, Claude, Gemini, DeepSeek and 155+ other LLMs.
Install
npm install -g tokenmix-tg-botOr run directly with npx:
npx tokenmix-tg-botSetup
Create a .env file in your working directory:
BOT_TOKEN=your_telegram_bot_token
API_KEY=your_tokenmix_api_key
BASE_URL=https://api.tokenmix.ai/v1
DEFAULT_MODEL=gpt-4o-miniYou need:
- Telegram bot token — message @BotFather, type
/newbot. - LLM API key — get one free at TokenMix.ai ($1 free credit, 155+ models).
Run
tokenmix-tg-botFeatures
- 🌊 Streaming responses (smooth incremental output)
- 🖼️ Vision support — send a photo with optional caption
- 🔀 Switch models on the fly:
/model gpt-5,/model claude-3.5-sonnet - 🔄 Reset conversation:
/reset - 🪶 Tiny — single file, three deps
Models
Any model on TokenMix works out of the box: GPT-5, GPT-4o, Claude 3.5 Sonnet, Gemini 2.0, DeepSeek-V3, Llama 3.3, Qwen 2.5, and 150+ more.
Browse the full list at tokenmix.ai.
License
MIT © TokenMix
