Self-hosted chat bots bring AI models into Slack, Discord, Telegram, WeChat and other messaging apps. You supply the provider key and decide who can use the bot and how much.
- Tools listed
- 12
- Open source
- 100%
- 12 of 12
- Support local models
- 33%
- 4 of 12
- Key stays on device
- 0%
- Avg Key Safety 69/100
Our top picks
Chosen from listing data: editor score, Key Safety Score, pricing, platforms and provider support.
Best overall
AstrBot
Highest editor score in the group (4.5/5). Huge plugin ecosystem
Best free option
LangBot
Open source: Free & open source. You only pay your provider for usage.
Most private
llmcord
Key Safety Score 78/100.
Best for local models
Mattermost Agents
Connects to Ollama or LM Studio, so private work needs no API key or per-token cost.
Widest provider support
ChatGPT-Telegram-Workers
Works with 6 providers, including OpenAI, Anthropic and Google Gemini.
Best on mobile
Chatwoot
Available on iOS and Android.
Best to self-host
ChatGPT Telegram Bot
Runs on your own server, so keys and data stay inside your infrastructure.
Compare the top 10
| Tool | Editor score | Key Safety | Pricing | Providers | Open source | Local models | Key stays local |
|---|---|---|---|---|---|---|---|
| AstrBot | 4.5 | 78 | Open source | 6 | – | ||
| Chatwoot | 4.3 | 60 | Freemium | 1 | – | – | |
| LangBot | 4.3 | 78 | Open source | 6 | – | ||
| ChatGPT-Telegram-Workers | 4.0 | 68 | Open source | 6 | – | – | |
| llmcord | 4.0 | 78 | Open source | 8 | – | ||
| Mattermost Agents | 4.0 | 78 | Open source | 5 | – | ||
| ChatGPT Telegram Bot | 3.9 | 64 | Open source | 3 | – | – | |
| chatgpt_telegram_bot (father-bot) | 3.9 | 62 | Open source | 2 | – | – | |
| TeleChat | 3.9 | 68 | Open source | 5 | – | – | |
| chatGPT-discord-bot | 3.8 | 66 | Open source | 4 | – | – |
What to look for in BYOK chat bots
- 1
Platforms
Check that the bot supports every messaging platform you need. Multi-platform frameworks save maintaining several bots.
- 2
Access control and quotas
A shared bot spends your API credit. Look for user allow-lists, rate limits and usage stats.
- 3
Hosting
Serverless bots are cheap to run; heavier frameworks need a small server or container.
- 4
Knowledge and tools
Knowledge bases, web search and plugins turn a bot from a chat relay into a useful assistant.
All 12 chat bots
12 tools
AstrBot
Chat Bots
Multi-platform AI assistant that plugs your models into QQ, Telegram, Discord, Slack and more.
Chatwoot
Chat Bots
Open-source customer support desk with AI features on your own OpenAI key.
LangBot
Chat Bots
Production-grade platform for agentic bots on Discord, Slack, Telegram, LINE and WeChat.
ChatGPT-Telegram-Workers
Chat Bots
Deploy a Telegram AI bot on Cloudflare Workers in minutes, on your own key.
llmcord
Chat Bots
Discord bot that turns a server channel into a chat with any LLM.
Mattermost Agents
Chat Bots
Mattermost plugin that adds AI agents backed by the LLMs you choose.
ChatGPT Telegram Bot
Chat Bots
Self-hosted Telegram bot for GPT chat, voice transcription and image generation.
chatgpt_telegram_bot (father-bot)
Chat Bots
Popular Python Telegram bot for ChatGPT and Claude on your own key.
TeleChat
Chat Bots
Telegram AI bot with web search for GPT, Claude, Gemini, Groq and more.
chatGPT-discord-bot
Chat Bots
Bring GPT, Claude and other models into your own Discord server.
GPTDiscord
Chat Bots
All-in-one GPT bot for Discord with knowledge bases, moderation and summaries.
Feishu-OpenAI
Chat Bots
Bring GPT models into Feishu (Lark) with voice, images and document tools.
FAQ
- What are the best BYOK chat bots?
- By editor score, the top-rated BYOK chat bots are AstrBot, Chatwoot and LangBot. The right pick depends on your platform, preferred provider and how you want your key stored.
- Are there free BYOK chat bots?
- Yes. 11 of the 12 listed are free or open source, including AstrBot, LangBot and ChatGPT-Telegram-Workers. You still pay your model provider for API usage.
- Which BYOK chat bots work with local models?
- 4 support local models through Ollama, LM Studio or similar, including AstrBot, LangBot and llmcord. With a local model you need no API key and pay no per-token cost.
- Which BYOK chat bots support Claude?
- 7 work with an Anthropic API key, including AstrBot, LangBot and ChatGPT-Telegram-Workers.
- Which AI providers are most widely supported?
- Among BYOK chat bots, the most supported providers are OpenAI (12), Anthropic (7), Google Gemini (5) and Ollama (4).
- Is it cheaper to bring your own API key?
- For most people, yes. Light to regular use of a BYOK app typically costs a few dollars a month in API fees, compared with $20 or more for a subscription. Heavy agentic use can cost more, so set a spending limit with your provider.