यदि आप “free AI Discord bot” खोजते हैं, तो आपको दर्जनों विकल्प मिलेंगे। कुछ सच में मुफ्त हैं। अधिकांश मुफ्त नहीं हैं, कम से कम उस तरह नहीं जैसे आप अपेक्षा कर सकते हैं। यह पोस्ट बताती है कि वास्तव में क्या उपलब्ध है, trade-offs क्या हैं, और जब AI inference शामिल होता है तो “मुफ्त” की वास्तविक लागत क्या होती है।
“मुफ्त AI” जटिल क्यों है
LLM चलाने में पैसा लगता है। हर बार जब कोई user message भेजता है और response पाता है, तो कोई न कोई compute के लिए भुगतान कर रहा होता है। OpenAI या Anthropic जैसे hosted API के लिए, आप प्रति token भुगतान करते हैं। self-hosted model के लिए, आप hardware, बिजली और maintenance time में भुगतान करते हैं। इससे बचने का कोई तरीका नहीं है: inference की nonzero marginal cost होती है।
जब कोई service “free AI bot” देती है, तो निम्न में से एक बात सही होती है:
- आप inference cost सीधे चुकाते हैं (जैसे, अपनी API key देकर)।
- Service लागत वहन करती है और उसे paid tiers, ads या data collection से वसूलती है।
- आप inference स्वयं चलाते हैं अपने hardware पर, open-source model के साथ।
- Free tier कम volume पर capped होता है, जिससे provider की compute costs तक exposure सीमित रहती है।
किसी भी bot पर इनमें से कौन-सी बात लागू होती है, यह समझना इस बात का मूल्यांकन करने की कुंजी है कि वह वास्तव में आपके use case के लिए उपयुक्त है या नहीं।
मुफ्त AI Discord bots की तीन श्रेणियां
1. Self-hosted open-source bots (वास्तव में मुफ्त, hardware आप देते हैं)
यह एकमात्र विकल्प है जिसमें कोई third party आपकी usage limits को control नहीं करती। आप open-source LLM को locally (या VPS पर) चलाते हैं, उसे अपने लिखे या fork किए गए bot के माध्यम से Discord से जोड़ते हैं, और सब कुछ स्वयं संभालते हैं।
सामान्य stack:
- local model serving के लिए Ollama
- Discord bot के लिए discord.py या discord.js
- Llama 3.1 8B, Mistral 7B या Gemma 2 9B जैसा model
आपको क्या मिलता है:
- बिजली के अलावा कोई per-message cost नहीं
- model, system prompt और data पर पूरा control
- third party द्वारा imposed rate limits नहीं (केवल Discord की अपनी API limits लागू होती हैं)
- local model processing: inference आपकी machine पर रहता है, जबकि Discord अब भी messages को transport और store करता है
आप क्या छोड़ते हैं:
- आपको hardware चाहिए। 7B-parameter model को उचित speed पर चलाने के लिए कम से कम 8 GB VRAM वाला GPU, या unified memory वाला modern Mac चाहिए। CPU inference काम करता है लेकिन धीमा है (7B model के लिए प्रति response कई seconds)।
- infrastructure आप maintain करते हैं। Updates, restarts, monitoring और model weights के लिए disk space आपकी जिम्मेदारी है।
- Model quality frontier models से कम होती है। Llama 3.1 8B सक्षम है, लेकिन यह GPT-4o या Claude Sonnet नहीं है। simple Q&A और casual conversation के लिए यह ठीक काम करता है। nuanced reasoning या complex multi-turn dialogue में यह कम पड़ता है।
- built-in knowledge base, analytics या handoff features नहीं होते। आपको जो चाहिए, वह आप बनाते हैं।
सामान्य models के लिए minimum hardware requirements:
| Model | Parameters | आवश्यक VRAM | CPU RAM (केवल CPU) | Response Speed (GPU) |
|---|---|---|---|---|
| Gemma 2 2B | 2B | ~2 GB | ~4 GB | ~60 tokens/sec |
| Llama 3.1 8B | 8B | ~6 GB | ~10 GB | ~40 tokens/sec |
| Mistral 7B | 7B | ~6 GB | ~10 GB | ~40 tokens/sec |
| Llama 3.1 70B (Q4) | 70B | ~40 GB | ~48 GB | ~15 tokens/sec |
(Speeds अनुमानित हैं, RTX 4090 पर मापी गईं। Quantized variants कम memory इस्तेमाल करते हैं, थोड़ी quality cost के साथ।)
2. Freemium managed services (caps वाला free tier)
ये ऐसे products हैं जहां कोई और AI और bot infrastructure host करता है। आप web dashboard के माध्यम से bot configure करते हैं। free tier आपको limited usage देता है, अधिक के लिए आप भुगतान करते हैं।
Examples:
| Service | Free Tier | Message Limit | Model Control | Discord Support | Credit Card Required |
|---|---|---|---|---|---|
| Quickchat AI | Free plan | Included usage varies by plan | Provider-managed (frontier models) | Yes (all tiers) | No |
| MEE6 | Free plan | AI features in premium only | Provider-managed | Yes | No (for free tier) |
| Botpress | Free tier | 2,000 incoming messages/mo | Configurable | Via integration | No |
Quickchat AI का Free plan आपको बिना credit card के test करने देता है। Discord integration हर tier पर उपलब्ध है, इसलिए आप commit करने से पहले अपने bot को connect करके real users के साथ test कर सकते हैं। Connect करना one click है: External Apps में, Discord खोलें और Add to your Discord server पर click करें, फिर वह server चुनें जिसमें इसे जोड़ना है। Paid plans Starter से शुरू होते हैं, $9/mo पर, या annual billing में $8/mo।
Managed services का मुख्य लाभ यह है कि आपको raw LLM inference से आगे के features मिलते हैं: आपके documents और website से बने knowledge bases, conversation analytics (sentiment analysis, topic detection), multi-channel deployment (वही agent आपकी website, WhatsApp, Slack और Discord पर काम करता है), और उन cases के लिए human handoff जिन्हें AI resolve नहीं कर सकता। self-hosted model के ऊपर इन्हें scratch से बनाना एक महत्वपूर्ण engineering project है।
MEE6 मुख्य रूप से moderation और engagement bot है। इसके AI chat features premium subscription के पीछे locked हैं (2026 की शुरुआत तक $11.99/mo)। free tier leveling, basic moderation commands और welcome messages cover करता है, लेकिन AI-powered conversations नहीं।
Botpress में सभी channels पर प्रति माह 2,000 incoming messages वाला free tier है। यह visual flow builder देता है और custom LLM configurations support करता है। हालांकि, simple Discord bot के लिए setup Quickchat से अधिक complex है, क्योंकि Botpress मुख्य रूप से open-ended chat के बजाय structured conversation flows के लिए designed है।
3. BYO API key bots (आप LLM provider को भुगतान करते हैं)
तीसरी श्रेणी: open-source bots जो server पर चलते हैं लेकिन inference के लिए commercial API (OpenAI, Anthropic, Google, आदि) call करते हैं। आप अपनी API key देते हैं। bot code स्वयं मुफ्त है, लेकिन आप model provider को प्रति token भुगतान करते हैं।
GitHub पर examples:
- GPT Discord Bot (OpenAI का official example)
discord.py+ OpenAI Python SDK से बने विभिन्न community bots
Commercial APIs के साथ प्रति message cost (अनुमानित, 2026 की शुरुआत तक):
| Model | Input Cost (per 1M tokens) | Output Cost (per 1M tokens) | ~Cost per Message* |
|---|---|---|---|
| GPT-4o mini | $0.15 | $0.60 | ~$0.0003 |
| GPT-4o | $2.50 | $10.00 | ~$0.005 |
| Claude 3.5 Haiku | $0.80 | $4.00 | ~$0.002 |
| Claude Sonnet 4 | $3.00 | $15.00 | ~$0.007 |
| Gemini 2.0 Flash | $0.10 | $0.40 | ~$0.0002 |
*प्रति message exchange ~500 input tokens और ~200 output tokens मानकर, conversation history के बिना। Conversation history शामिल होने पर, input costs context length के साथ linearly scale करती हैं।
GPT-4o mini का उपयोग करते हुए प्रति माह 1,000 messages पर, आप लगभग $0.30 खर्च करेंगे। प्रति माह 10,000 messages पर, लगभग $3.00। ये numbers छोटे लगते हैं, जब तक आप conversation history को शामिल नहीं करते: यदि हर message में पूरा conversation context शामिल है (मान लें 10 previous turns), तो प्रति message input token count ~500 से ~5,000 तक बढ़ जाता है, इसलिए input costs 10x बढ़ती हैं और total cost बढ़ जाती है।
Approaches के बीच cost comparison
निम्न table अलग-अलग message volumes पर monthly costs का अनुमान देती है। “Self-hosted” एक small VPS या existing hardware मानता है। “BYO API Key” GPT-4o mini pricing का उपयोग करता है। “Managed” Quickchat AI की pricing को reference के रूप में उपयोग करता है।
| Monthly Messages | Self-Hosted (Ollama + VPS) | BYO API Key (GPT-4o mini) | Managed (Quickchat AI) |
|---|---|---|---|
| 100 | ~$5-20 (VPS cost) | ~$0.03 | Free plan or Starter at $9/mo |
| 1,000 | ~$5-20 (VPS cost) | ~$0.30-3.00 | Starter at $9/mo or Basic at $29/mo |
| 5,000 | ~$15-40 (VPS cost) | ~$1.50-15.00 | Essential at $99/mo or Professional at $299/mo |
| 10,000 | ~$30-80 (VPS cost) | ~$3.00-30.00 | Professional at $299/mo or Business at $999/mo |
| 35,000 | ~$60-150 (VPS cost) | ~$10.50-105.00 | Business at $999/mo or Enterprise from $0.50/resolution |
Self-hosted column पर notes: range इस पर निर्भर करती है कि आप CPU-only VPS (सस्ता लेकिन धीमे responses) उपयोग करते हैं या GPU instance। Hetzner लगभग $5-10/mo में CPU VPS instances देता है जो quantized 7B model चला सकते हैं, हालांकि response times 5-15 seconds होंगे। GPU cloud instances (जैसे Lambda, RunPod या Vast.ai से) single GPU के लिए लगभग $0.20-0.50/hr से शुरू होते हैं, जो 24/7 चलाने पर $150-360/mo बनता है। intermittent use के लिए, spot instances या serverless GPU providers इसे कम कर सकते हैं।
BYO API key column एक range दिखाता है क्योंकि costs इस पर बहुत निर्भर करती हैं कि आप हर request में conversation history शामिल करते हैं या नहीं। lower bound single-turn (कोई history नहीं) है, upper bound ~10 messages के context वाला multi-turn है।
Managed service column June 2026 तक Quickchat की pricing को दर्शाता है। इन plans में knowledge base management, analytics और multi-channel support जैसे features शामिल हैं, जो अन्य दो approaches में additional engineering work के बिना मौजूद नहीं हैं।
एक quick self-hosted setup: Python + discord.py + Ollama
नीचे Discord bot का minimal working example है जो local inference के लिए Ollama का उपयोग करता है। इसके लिए Ollama installed और running होना चाहिए, और एक model pulled होना चाहिए (जैसे, ollama pull llama3.1:8b)।
Prerequisites
- Python 3.10+
- Ollama installed और running (
curl -fsSL https://ollama.com/install.sh | sh) - एक model pulled:
ollama pull llama3.1:8b - Discord bot token (Discord Developer Portal पर बनाएं)
- bot को आपके server में
Send MessagesऔरRead Message Historypermissions के साथ जोड़ा गया हो
Dependencies install करें
pip install discord.py aiohttp
Bot code
import discord
import aiohttp
import json
DISCORD_TOKEN = "your-bot-token-here"
OLLAMA_URL = "http://localhost:11434/api/chat"
MODEL = "llama3.1:8b"
SYSTEM_PROMPT = "आप Discord server में एक सहायक assistant हैं। Responses संक्षिप्त रखें।"
# प्रति channel conversation history store करें (in-memory, restart पर reset)
conversations: dict[int, list[dict]] = {}
MAX_HISTORY = 10 # प्रति channel last 10 messages रखें
intents = discord.Intents.default()
intents.message_content = True
client = discord.Client(intents=intents)
async def query_ollama(channel_id: int, user_message: str) -> str:
"""Ollama को message भेजें और response लौटाएं।"""
if channel_id not in conversations:
conversations[channel_id] = []
conversations[channel_id].append({"role": "user", "content": user_message})
# unbounded memory growth से बचने के लिए history trim करें
if len(conversations[channel_id]) > MAX_HISTORY:
conversations[channel_id] = conversations[channel_id][-MAX_HISTORY:]
messages = [{"role": "system", "content": SYSTEM_PROMPT}] + conversations[channel_id]
payload = {
"model": MODEL,
"messages": messages,
"stream": False,
}
async with aiohttp.ClientSession() as session:
async with session.post(OLLAMA_URL, json=payload) as resp:
if resp.status != 200:
return f"Ollama ने status {resp.status} लौटाया"
data = await resp.json()
reply = data["message"]["content"]
conversations[channel_id].append({"role": "assistant", "content": reply})
return reply
@client.event
async def on_ready():
print(f"{client.user} के रूप में logged in")
@client.event
async def on_message(message: discord.Message):
# अपने messages ignore करें
if message.author == client.user:
return
# केवल mention होने पर respond करें
if client.user not in message.mentions:
return
# message से mention हटाएं
content = message.content.replace(f"<@{client.user.id}>", "").strip()
if not content:
return
async with message.channel.typing():
reply = await query_ollama(message.channel.id, content)
# Discord में प्रति message 2000-character limit होती है
if len(reply) > 2000:
for i in range(0, len(reply), 2000):
await message.reply(reply[i:i+2000])
else:
await message.reply(reply)
client.run(DISCORD_TOKEN)
यह लगभग 60 lines of code है और आपको ऐसा working AI bot देता है जो mention किए जाने पर respond करता है। यह memory में per-channel conversation history maintain करता है (restart पर खो जाती है) और Discord की 2,000-character message limit संभालता है।
इस minimal bot में क्या नहीं है
ऊपर का code testing और small servers के लिए काम करता है। उससे आगे किसी भी चीज के लिए, आपको कई issues मिलेंगे जिन्हें production bots को handle करना पड़ता है:
- Persistent conversation history. In-memory dict process restart होने पर खो जाता है। production bot conversations को Redis या database में store करेगा।
- Rate limiting. Discord प्रति channel 5 seconds में 5 messages allow करता है। यदि आपका bot popular है, तो आपको queuing चाहिए।
- Concurrent requests. Ollama default रूप से एक समय में एक request process करता है। कई users के simultaneously message करने पर requests queue होंगी। आप load balancer के पीछे multiple Ollama instances चला सकते हैं, या Ollama का
OLLAMA_NUM_PARALLELoption उपयोग कर सकते हैं (v0.1.33 से उपलब्ध)। - Error handling and retries. Ollama crash हो सकता है, memory खत्म हो सकती है, या malformed responses लौट सकते हैं। bot को इन सबको gracefully handle करना चाहिए।
- Context window management.
MAX_HISTORY = 10setting naive है। बेहतर approach tokens count करता है और model की context window में fit होने के लिए trim करता है (Llama 3.1 8B के लिए default रूप से 8,192 tokens, longer contexts पर quality degradation के साथ 128K तक configurable)। - Thread support. Discord पर, bot conversations अक्सर threads में होती हैं। thread creation और per-thread history handle करने के लिए additional logic चाहिए।
- Knowledge base / RAG. यदि आप चाहते हैं कि bot आपके project की documentation के बारे में questions answer करे, तो आपको retrieval-augmented generation setup चाहिए: अपने docs embed करें, embeddings को vector database में store करें, और LLM को भेजने से पहले relevant chunks retrieve करें।
Technical gotchas
Discord API rate limits की सीमाएं
Discord कई levels पर rate limits impose करता है:
- Per-route limits: हर API endpoint की अपनी rate limit होती है, जो response headers (
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset) में लौटती है। - Global limit: सभी endpoints पर कुल 50 requests per second।
- Per-channel message limit: प्रति channel 5 seconds में 5 messages।
- Gateway limits: 60 seconds में 120 gateway events।
discord.py library इनमें से अधिकांश को automatic रूप से handle करती है, जब आप limit hit करते हैं तो requests queue करके। हालांकि, यदि आपका bot एक साथ कई servers या channels में है, तो आप फिर भी global limit hit कर सकते हैं। उस point पर, आपको sharding देखनी होगी (bot के server connections को multiple gateway connections में split करना)।
MESSAGE_CONTENT intent (message text पढ़ने के लिए required) उपयोग करने वाले bots के लिए, Discord आपसे bot verify करने की मांग करता है यदि वह 100 से अधिक servers में है। इसमें आपके bot के काम का description submit करना और Discord से approval प्राप्त करना शामिल है।
Model quality के trade-offs
Small open-source models और frontier commercial models के बीच gap दो साल पहले की तुलना में छोटा है, लेकिन अब भी मौजूद है। सामान्य Discord bot tasks के लिए rough comparison यह है:
| Task | 7-8B Local Model | GPT-4o mini | GPT-4o / Claude Sonnet |
|---|---|---|---|
| Casual conversation | अच्छा | अच्छा | अच्छा |
| Factual Q&A | मध्यम (अधिक hallucinations) | अच्छा | बहुत अच्छा |
| Code generation | Basic | अच्छा | बहुत अच्छा |
| Multilingual | Limited | अच्छा | बहुत अच्छा |
| Instruction following | मध्यम | अच्छा | बहुत अच्छा |
| Staying in character | मध्यम | अच्छा | अच्छा |
यदि आपका Discord bot gaming community के लिए है और मुख्य रूप से casual chat और simple lookups संभालता है, तो local 8B model अच्छी तरह काम करता है। यदि यह customer support के लिए है, जहां accuracy महत्वपूर्ण है, तो quality gap वास्तविक समस्या बन जाता है। character में बने रहना model से कम और setup से अधिक संबंधित है: character में बने रहने वाला roleplay AI chatbot कैसे बनाएं दिखाता है कि persona prompt और canon knowledge base standard model को भी कितनी दूर तक ले जा सकते हैं।
Context window management
Discord bots में यह सबसे कम आंकी गई technical challenge है। Discord conversations स्वाभाविक रूप से multi-turn होती हैं: users कई short messages भेजते हैं, और bot को याद रखना होता है कि conversation में पहले क्या कहा गया था।
हर बार bot respond करता है, उसे prompt में prior conversation history शामिल करनी होती है। इसका मतलब है:
- Input token count conversation length के साथ linearly बढ़ता है।
- API-based bots के लिए, cost भी linearly बढ़ती है।
- Local models के लिए, inference time context length के साथ बढ़ता है (attention computation में quadratic, हालांकि Flash Attention जैसे optimizations मदद करते हैं)।
- किसी point पर, conversation model की context window से अधिक हो जाती है और आपको strategy चाहिए: शुरुआत से truncate करें, पुराने messages summarize करें, या नई conversation शुरू करें।
Practical approach last N messages की rolling window रखना है और, यदि conversation लंबी रही है, तो earlier context का short summary prepend करना है। इसके लिए summary generate करने के लिए additional LLM call चाहिए, लेकिन यह per-message costs को bounded रखता है।
Privacy implications
यह approach के अनुसार काफी बदलता है:
- Self-hosted: AI inference आपके hardware पर रहता है, इसलिए आप model-processing logs और retention control करते हैं। Discord अब भी messages को transport और store करता है, local inference पूरी conversation को local नहीं बनाता।
- BYO API Key: Messages API provider (OpenAI, Anthropic, आदि) को भेजे जाते हैं। उनकी data retention policies जांचें। 2026 की शुरुआत तक, OpenAI कहता है कि वे default रूप से API data पर train नहीं करते, और Anthropic की भी समान policy है। हालांकि, messages उनके servers से होकर गुजरते हैं।
- Managed services: Messages service provider द्वारा process किए जाते हैं। उनकी privacy policy और data processing agreements जांचें। EU में user data handle करने वाले businesses के लिए, GDPR compliance यहां महत्वपूर्ण है। उदाहरण के लिए, Quickchat AI EU में data process करता है और business customers के लिए DPA देता है।
Casual Discord server के लिए, privacy आमतौर पर primary concern नहीं होती। Customer support के लिए Discord bot उपयोग करने वाले business के लिए, यह समझना उपयोगी है कि conversation data ठीक कहां store होता है और किसके पास उसका access है।
Self-hosted बनाम managed: total cost of ownership
ऊपर की table से raw compute cost comparison केवल कहानी का एक हिस्सा बताता है। total cost of ownership में engineering time शामिल है।
Self-hosted bot के साथ आप स्वयं क्या बनाते हैं:
- Bot code और deployment
- Conversation history storage
- Context window management
- Error handling और monitoring
- Knowledge base / RAG pipeline (यदि needed)
- Analytics और logging
- Multi-channel support (यदि needed)
Conservative estimate से, conversation history, knowledge base और basic analytics के साथ production-quality self-hosted AI Discord bot बनाने में experienced developer के लिए 40-80 hours of engineering time लगता है। इसे maintain करना (model updates, dependency updates, debugging, monitoring) ongoing time जोड़ता है।
Managed service के साथ आपको out of the box क्या मिलता है:
- Bot hosting और uptime management
- आपकी website, docs और files से बना knowledge base
- Conversation analytics (sentiment, topics, ratings)
- Multi-channel deployment (वही agent Discord, website, WhatsApp, Slack, आदि पर)
- जब AI मदद नहीं कर सकता, तब human handoff
- AI Actions (conversation context से trigger होने वाली custom API calls), जिसमें timeout, kick और ban जैसी moderation actions शामिल हैं
सवाल यह है कि managed service की monthly cost आपके engineering time की opportunity cost से कम है या नहीं। hobby Discord server चलाने वाले solo developer के लिए, Ollama के साथ self-hosting शायद सही विकल्प है। customer-facing support channel के रूप में Discord उपयोग करने वाले business के लिए, math आमतौर पर managed service के पक्ष में होती है क्योंकि core LLM के आसपास के features (analytics, knowledge base, handoff) bot को वास्तव में उपयोगी बनाते हैं। AI ticket bot guide Free plan पर वही combination end to end बनाती है, इसलिए आप alternative की कीमत किसी concrete चीज के against लगा सकते हैं।
Summary
कोई universal “best” free AI Discord bot नहीं है। सही choice इस पर निर्भर करती है कि आपके लिए “free” का क्या मतलब है:
- यदि आप zero ongoing cost चाहते हैं और hardware उपलब्ध है, तो Ollama और open-source model के साथ self-host करें। आप local model processing और उसकी data retention control करते हैं, जबकि Discord अब भी messages को transport और store करता है। आप frontier models की तुलना में model quality छोड़ते हैं और पूरा engineering work अपने ऊपर लेते हैं।
- यदि आप भुगतान करने से पहले real users के साथ test करना चाहते हैं, तो Quickchat AI का Free plan आपको बिना credit card के शुरू करने देता है। Discord integration Free plan पर काम करता है, और paid plans $9/mo से शुरू होते हैं।
- यदि आप frontier model quality चाहते हैं और API keys manage करने में सहज हैं, तो BYO API key bot आपको low per-message costs के साथ यह देता है (विशेषकर GPT-4o mini या Gemini Flash के साथ)। आपको अब भी bot code host करना होगा और raw chat से आगे के कोई भी features बनाने होंगे।
- यदि आपको production features (knowledge base, analytics, handoff, multi-channel) चाहिए, तो managed service सबसे तेज path है। आप जिन messages की volume expect करते हैं और जिन features की वास्तव में जरूरत है, उनके आधार पर evaluate करें।
“free AI Discord bot” में “free” शब्द बहुत काम कर रहा है। compute की हमेशा कोई न कोई लागत होती है। सवाल यह है कि इसके लिए भुगतान कौन करता है, और बदले में आपको क्या मिलता है (या आप क्या छोड़ते हैं)।
सभी AI Discord bots (केवल free नहीं) की व्यापक तुलना के लिए, हमारा 2026 के Best AI Discord Bots roundup देखें। यदि आपका server विशेष रूप से support channel है, तो AI Discord Ticket Bot आपके docs से answers देने और बाकी को private ticket threads में escalate करने की प्रक्रिया समझाता है।