qmetrics.net

ChatGPT Telegram Bot

Self-hosted Telegram bot for OpenAI and Claude models

This Python bot brings configurable ChatGPT, Claude, vision, voice, and image modes into Telegram using your own API keys and YAML-driven models.

Overview

The ChatGPT Telegram Bot recreates a chatbot experience inside Telegram instead of a browser tab. Replies aim for low latency with optional streaming, and usage bills directly through your OpenAI or OpenRouter keys without an intermediary quota.

Features include vision on uploaded images, Whisper transcription for voice notes, gpt-image-1 image generation in a dedicated mode, fifteen preset chat personas, group chat support, syntax-highlighted code blocks, optional user allowlists, and a /balance command for API spend.

Models and pricing live in config/models.yml; chat personas live in config/chatmodes.yml. OpenAI models use the native API while Claude and GPT-5.5 examples route through OpenRouter when configured. The stack lists python-telegram-bot 20.x, OpenAI Python 1.x, MongoDB, Docker, and Python 3.12.

A quick start collects OpenAI and optional OpenRouter keys, a BotFather token, renamed config files, and a run command to message the bot on Telegram.

Key features

  • Streaming Telegram replies
  • YAML-driven model catalog
  • Fifteen configurable chat modes
  • Vision, voice, and image generation
  • Group chat support
  • Access control allowlists
  • API spend tracking command
  • Code block formatting in messages

Use cases

  • Personal ChatGPT access inside Telegram
  • Team bots with restricted Telegram users
  • Switching personas without code changes
  • Mobile-friendly multimodal model chat

Tags

Similar software

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

  • Works in 20+ chat channels such as WhatsApp, Telegram, Slack and Discord
  • Native apps for macOS, iOS, Android, Windows and Linux
  • Gateway control plane with Control UI, CLI and TUI
TypeScriptLinux, macOS, Windows, AndroidDetails →
★ 395.6k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+7

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

  • Persistent memory and cross-session search
  • Autonomous skill creation and self-improvement
  • Terminal UI and desktop app
PythonWeb, Linux, macOS, WindowsDetails →
★ 268.2k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+5

NextChat

Cross-platform AI chat client with local data

NextChat is a lightweight assistant UI for Claude, DeepSeek, GPT, and Gemini, on web and desktop with browser-local storage.

  • Multi-provider LLM chat UI
  • Browser-local conversation storage
  • Markdown, Mermaid, and code rendering
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 89k⟳ 1 month agoMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+4

GPT4All

Desktop app for running LLMs privately on local hardware

GPT4All is a desktop chat application that runs large language models locally on everyday computers, with no API calls or GPU required. It also offers a Python client and an OpenAI-compatible API server.

  • Runs LLMs locally, no GPU required
  • Private chat with your own files via LocalDocs
  • Vulkan GPU inference on NVIDIA and AMD
C++Linux, macOS, WindowsDetails →
★ 77.3k⟳ 1 year agoMIT
AI Interaction & InterfacesNo commits in 18+ monthsDesktop/CLI app
Open Source Alternative to:ChatGPTChatGPT Plus+4

GPT Academic

LLM web interface optimized for academic writing tasks

GPT Academic provides a browser-based interface to GPT, GLM, and other large language models with plugins for polishing, translating, and analyzing papers and code. It supports many commercial and local model backends.

  • Modular function plugins
  • LaTeX and PDF paper tools
  • Multi-model parallel queries
PythonLinux, macOS, Windows, DockerDetails →
★ 71.8k⟳ 10 months agoGPL-3.0

AnythingLLM

All-in-one private AI app for chatting with documents and running agents

AnythingLLM is an AI application for chatting with your documents and using AI agents, connecting to local or cloud LLMs. It runs as a desktop app or a self-hosted multi-user Docker deployment.

  • Chat with documents with source citations
  • No-code agent builder and custom agent skills
  • MCP compatibility
JavaScriptLinux, macOS, Windows, AndroidDetails →
★ 68.9k⟳ 9 days agoMIT
Open Source Alternative to:ChatGPTChatGPT Plus+8