Query Gemini, Claude, GPT, and More from One Telegram Chat
You probably have a few AI models bookmarked, maybe even pay for multiple subscriptions. But jumping between tabs, pasting context, and remembering which model does what best is a pain. What if you could just ask any model right from your Telegram chat?
That's what this project does. It's a Telegram bot that gives you a single interface to query OpenAI (GPT), Anthropic (Claude), Google (Gemini), and other models. No app switching, no copy-pasting between providers.
What It Does
The bot lives in your Telegram. You send a message, and it forwards your request to whichever AI model you choose. You can switch between models on the fly, compare responses, or just use the one that fits the task.
Under the hood, it's a Python bot that wraps multiple API calls. You configure your API keys, set up the bot token, and you're ready to ask questions, get code help, brainstorm ideas, or whatever else you'd use an AI for.
The repo is tg_bot_collections by yihong0618. It's not just one bot — it includes several useful Telegram bot utilities, but the AI query feature is the standout.
Why It's Cool
The obvious win is convenience. Instead of opening three different websites or apps, you pick a model from a menu and ask your question. But there's more:
-
Model comparison on the fly. Ask the same question to GPT, Claude, and Gemini. See which gives the best answer for your use case. Handy when you're testing prompts or evaluating outputs.
-
No extra UI to learn. It's just Telegram. You already know how to type a message. The bot handles the API complexity.
-
Customizable. The code is straightforward Python. You can add your own models, tweak the responses, or integrate it with other tools you use. It's not a black box.
-
All models in one place. GPT for creative writing, Claude for detailed analysis, Gemini for quick factual queries. Pick what works.
Developers will appreciate the simplicity. It's a clean implementation that does one thing well without overcomplicating it.
How to Try It
The repo is at github.com/yihong0618/tg_bot_collections. You'll need:
- A Telegram bot token (from BotFather)
- API keys for the models you want to use (OpenAI, Anthropic, Google)
- Python 3.8+ and pip
Basic setup:
git clone https://github.com/yihong0618/tg_bot_collections.git
cd tg_bot_collections
pip install -r requirements.txt
Then edit the config with your keys and run it. The README has clear steps. Once it's running, message your bot on Telegram and start chatting.
If you don't want to set up your own instance, the repo includes a link to a public demo bot (if available). Check the README for that.
Final Thoughts
This is the kind of tool that makes you wonder why you didn't build it yourself. It's small, focused, and solves a real annoyance — managing multiple AI providers. For developers, it's also a nice reference for building your own Telegram bots with API integrations.
If you're already using multiple AI models daily, this will save you time. If you're just curious, it's a quick project to explore and customize. Either way, it's worth a look.
Found this on GitHub? Follow us @githubprojects for more developer tools and projects.
Repository: https://github.com/yihong0618/tg_bot_collections