डॉक्स
FreeAITokens के पीछे की बारीकियाँ, डेवलपर और जिज्ञासु लोगों के लिए। अगर आपको बस इसे चालू करना है, तो ऐप डाउनलोड करें और सेटअप फ़ॉलो करें।
कमांड लाइन
Node.js 20 या नए वर्शन के साथ आपको ऐप की ज़रूरत नहीं:
npx freeaitokens # start the local endpoint
npx freeaitokens add # add a free provider key (guided)
npx freeaitokens list # providers, key status, what is left today
npx freeaitokens remove <id> # delete a stored key
या इसे एक बार इंस्टॉल कर लें: npm install -g freeaitokens। एंडपॉइंट सिर्फ़ 127.0.0.1:4949 पर सुनता है और उसे शुरू होते समय दिखे बैनर वाला लोकल टोकन चाहिए। ऐप और कमांड, keys और सेटिंग आपस में साझा करते हैं।
अपने टूल के साथ इस्तेमाल करें
| टूल | कैसे |
|---|---|
| Claude Code | npx freeaitokens claude (इसके बाद Claude Code के कोई भी आर्गुमेंट चलते हैं) |
| Codex | npx freeaitokens codex |
| Gemini CLI | npx freeaitokens gemini |
| OpenCode | npx freeaitokens setup opencode, फिर मॉडल freeaitokens/free |
| Kilo Code CLI, Qwen Code, Goose, Aider | npx freeaitokens kilo / qwen / goose / aider |
| Zed, JetBrains AI, VS Code | npx freeaitokens setup zed / jetbrains / vscode बताता है कि क्या पेस्ट करना है |
| Continue, Cline, Crush, Roo Code | npx freeaitokens setup cline (या उस टूल का नाम) वैल्यू छाप देता है |
| OpenAI-कम्पैटिबल कुछ भी | Base URL http://127.0.0.1:4949/v1, मॉडल free, key स्टार्टअप बैनर से |
| Anthropic, Gemini या Ollama क्लाइंट | Base URL http://127.0.0.1:4949, वही key |
लॉन्चर सिर्फ़ उसी एक सेशन पर असर डालते हैं और आपके टूल के कॉन्फ़िग में कुछ नहीं लिखते। setup opencode आपके मौजूदा प्रोवाइडर के बगल में एक प्रोवाइडर जोड़ता है और बैकअप रखता है; --undo उसे वापस ले आता है।
यह क्या करता है
- हर रिक्वेस्ट के लिए मॉडल चुनता है। सिर्फ़ वे मॉडल जो उसे संभाल सकें: काफ़ी कॉन्टेक्स्ट, टूल को ज़रूरत हो तो टूल कॉलिंग, इमेज हों तो इमेज पढ़ना। यह उन बेहतर मॉडल को तरजीह देता है जो आपके लिए तेज़ और भरोसेमंद रहे हैं, और पूरी बातचीत में उसी मॉडल पर टिका रहता है जब तक कोई दूसरा साफ़ तौर पर बेहतर न हो।
- फ़ेलओवर करता है। रेट लिमिट, सर्वर एरर या टाइमआउट पर, आपके टूल को कुछ पता चलने से पहले ही यह अगला मॉडल आज़मा लेता है। अगर सब व्यस्त हों और 30 सेकंड में क्षमता लौट आए तो यह इंतज़ार करता है; वरना बता देता है कि कब।
- मुफ़्त सीमाओं का हिसाब रखता है हर प्रोवाइडर, मॉडल और key के लिए, मिनट और दिन के हिसाब से, और प्रोवाइडर जो सीमाएँ बताते हैं उनसे खुद को सुधारता रहता है।
- पाँच फ़ॉर्मैट समझता है: OpenAI chat completions, Anthropic Messages (Claude Code), OpenAI Responses (Codex), Gemini (Gemini CLI) और Ollama (
/api/chat)। - प्रोवाइडर की अप-टू-डेट सूची रखता है, हस्ताक्षरित और इस्तेमाल से पहले जाँची हुई, इसलिए बिना अपडेट के नए मुफ़्त मॉडल आ जाते हैं।
सिर्फ़ चैट नहीं
यही एंडपॉइंट एम्बेडिंग (/v1/embeddings), सादे कम्प्लीशन (/v1/completions), इमेज (/v1/images/generations), टेक्स्ट से आवाज़ (/v1/audio/speech), आवाज़ से टेक्स्ट (/v1/audio/transcriptions) और वीडियो (/v1/videos) के OpenAI रूट भी लेता है। हर रिक्वेस्ट ऐसे मुफ़्त प्रोवाइडर को भेजी जाती है जो यह देता हो, उसी फ़ेलओवर और सीमाओं के साथ।
- आज मुफ़्त में: एम्बेडिंग (Gemini, OpenRouter, SEA-LION, Cloudflare, OVH), कम्प्लीशन (Cerebras, OpenRouter, OVH), इमेज (Cloudflare Flux, OpenRouter), टेक्स्ट से आवाज़ (Groq, OpenRouter, Cloudflare), आवाज़ से टेक्स्ट (Groq, Cloudflare, OVH)। अभी कोई प्रोवाइडर मुफ़्त वीडियो नहीं देता।
- एम्बेडिंग: अलग-अलग मॉडल के वेक्टर की आपस में तुलना नहीं हो सकती। जवाब में मिला मॉडल का नाम भेजें (जैसे
gemini-embedding-001) और बाद की रिक्वेस्ट उसी पर बनी रहेंगी।
पेड keys और विकल्प
पेड keys मुफ़्त वाली keys के नीचे आख़िरी सहारे के तौर पर रखी जा सकती हैं: ये तभी इस्तेमाल होती हैं जब कोई मुफ़्त मॉडल रिक्वेस्ट न संभाल सके, हर पेड रिक्वेस्ट छापी जाती है, और रोज़ की एक सीमा होती है।
| विकल्प | यह क्या करता है |
|---|---|
--port <n> | लोकल एंडपॉइंट का पोर्ट (डिफ़ॉल्ट 4949) |
--free-only | पेड keys कभी इस्तेमाल न करें |
--paid-cap <n> | रोज़ की ज़्यादा से ज़्यादा पेड रिक्वेस्ट (डिफ़ॉल्ट 200) |
सभी 27 प्रोवाइडर
ये सब मिलकर महीने में लगभग 7.5 अरब तक मुफ़्त टोकन देते हैं। यह आँकड़ा प्रकाशित मुफ़्त सीमाओं को जोड़कर बनता है, और जहाँ सिर्फ़ रिक्वेस्ट की सीमा प्रकाशित है वहाँ हर रिक्वेस्ट के 2,000 टोकन गिने जाते हैं; इसका ज़्यादातर हिस्सा कुछ बड़े कोटों से आता है, और वह तभी मिलता है जब आपके पास हर प्रोवाइडर की key हो। जो प्रोवाइडर कोई सीमा प्रकाशित नहीं करते, उन्हें शून्य गिना जाता है।
| प्रोवाइडर | API key चाहिए? | मुफ़्त सीमा | जानने लायक |
|---|---|---|---|
| Kilo Gateway | नहीं | प्रकाशित नहीं | No account needed. About 200 requests an hour per IP address. Free prompts and answers may be used for training. |
| Groq | मुफ़्त API key | हर मॉडल पर रोज़ 5,00,000 टोकन तक | |
| Cerebras | मुफ़्त API key | हर मॉडल पर रोज़ 21,60,00,000 टोकन तक | |
| OpenRouter | मुफ़्त API key | हर मॉडल पर रोज़ 50 रिक्वेस्ट तक | Free models allow about 50 requests a day on an account with no credit. |
| Google Gemini | मुफ़्त API key | हर मॉडल पर रोज़ 1,000 रिक्वेस्ट तक | Google's terms limit the API to professional or business use. Free-tier prompts may be used to improve Google's products. |
| SEA-LION | मुफ़्त API key | 10 रिक्वेस्ट प्रति मिनट | Google sign-in, one trial key per user, and the terms allow AI Singapore to use content to improve its services. |
| Typhoon | मुफ़्त API key | 200 रिक्वेस्ट प्रति मिनट | A free research showcase API: SCB 10X collects usage data to improve its models and API. |
| NVIDIA NIM | मुफ़्त API key | प्रकाशित नहीं | Free access is a trial for prototyping and testing only; production use needs an NVIDIA AI Enterprise license, and rate limits vary by model and load. |
| Z.ai (GLM) | मुफ़्त API key | प्रकाशित नहीं | Only the Flash models are free. Their rate limits are not published and show only in the Z.ai console. |
| Nabh Cloud | मुफ़्त API key | हर मॉडल पर रोज़ 500 रिक्वेस्ट तक | Reseller. Only GPT OSS 20B is free, at 5 requests a minute and 500 a day. |
| KiosAPI | मुफ़्त API key | प्रकाशित नहीं | Reseller (Indonesia). A small daily free quota on its free-tier models; the amounts are not published. One account per person. |
| Kenari | मुफ़्त API key | हर मॉडल पर रोज़ 50 रिक्वेस्ट तक | Reseller (Indonesia), no company named. Free models are capped at 5 a minute and 50 a day; upstream providers' policies apply. |
| Plugsky | मुफ़्त API key | हर मॉडल पर रोज़ 50,000 टोकन तक | Reseller. 100 free requests and 50K tokens a day. The free model does not say what runs underneath, and failover may switch models. |
| ZRO (MoonMath) | मुफ़्त API key | प्रकाशित नहीं | Reseller. The $0 plan gives some DeepSeek V4.1 Flash use each day; the amount is not stated. |
| Requesty | मुफ़्त API key | हर मॉडल पर रोज़ 200 रिक्वेस्ट तक | Reseller. Free models at 200 a day and 20 a minute. Logs are kept 30 days and Requesty may train on free-plan content. |
| BazaarLink | मुफ़्त API key | 10 रिक्वेस्ट प्रति मिनट | Reseller (Taiwan). 10 a minute and a small daily allowance. Failed, flagged and sampled requests are kept in full. |
| Logfare | मुफ़्त API key | हर मॉडल पर रोज़ 5,000 रिक्वेस्ट तक | Reseller. 5,000 free requests a day, but you must link Discord and stay in its server. Everything is logged and used for evals unless you opt out. |
| CheapLLM | मुफ़्त API key | प्रकाशित नहीं | Small reseller on its own GPUs. Free during its beta; afterwards only about 5K tokens in and 1K out per hour. One request at a time. |
| OVHcloud AI Endpoints | नहीं | 2 रिक्वेस्ट प्रति मिनट | No account needed. About 2 requests a minute per IP address for each model. |
| LLM7.io | मुफ़्त API key | प्रकाशित नहीं | Small operator with no published free-tier terms or limits; data handling is unclear. |
| AI Horde | मुफ़्त API key | प्रकाशित नहीं | Volunteer workers run the models and can see your prompts; it is queued, slow, has no tool calls, and the model list changes often. |
| BlockRun | मुफ़्त API key | 30 रिक्वेस्ट प्रति मिनट | |
| Electron Hub | मुफ़्त API key | हर मॉडल पर रोज़ 10 रिक्वेस्ट तक | Providers behind :free models may train on your prompts. A Neutrino is spent even when a request fails, and going over 5 rpm triggers a 3-minute cooldown. |
| Septor Labs | मुफ़्त API key | हर मॉडल पर रोज़ 2,50,000 टोकन तक | Free requests go to third-party aggregators (some hosted in China) that may keep prompts; not for personal or sensitive data. |
| Api.Airforce | मुफ़्त API key | हर मॉडल पर रोज़ 1,000 रिक्वेस्ट तक | Small reseller with unclear upstream sources; logs IPs and usage, and the free plan allows only 1 request per minute. |
| Routeway | मुफ़्त API key | हर मॉडल पर रोज़ 200 रिक्वेस्ट तक | Operator is not named in its terms, and requests are scanned before routing to upstream providers. |
| Cloudflare Workers AI | मुफ़्त API key | प्रकाशित नहीं | 10,000 free Neurons a day, shared by every Cloudflare model you use (chat, embeddings, images, speech, transcription); resets at 00:00 UTC. The key is your Account ID plus an API token. |
अभी सपोर्ट नहीं है
- Cursor: यह कस्टम-एंडपॉइंट का ट्रैफ़िक अपने सर्वर से होकर भेजता है, जो लोकल एड्रेस तक नहीं पहुँच सकते।
- ChatGPT ऐप: यह कस्टम एंडपॉइंट इस्तेमाल नहीं कर सकता।
- इमेज एडिटिंग, ऑडियो ट्रांसलेशन, रियलटाइम वॉइस।
- Codex के कनेक्टेड-ऐप (MCP) टूल और वेब सर्च मुफ़्त मॉडल को नहीं भेजे जाते: वे इतना ज़्यादा कॉन्टेक्स्ट जोड़ देते हैं जितना मुफ़्त मॉडल नहीं ले सकते।
सोर्स कोड, issues और पूरा README: GitHub।