Esc to close · ⌘K / Ctrl-K opens search anywhere
छोटी, कार्य-केंद्रित रेसिपी — हर एक copy-paste code के साथ एक समस्या हल करती है। नए हैं?quickstart से शुरू करें, फिर लागत routing, failover, residency और एजेंट जोड़ने वापस आएँ। एजेंट को वही रेसिपी llms.txt औरMCP से मिलती हैं। इन्हें स्थानीय रूप से चलाना है? GitHub पर cookbook क्लोन करें।
रूट की निगरानी किए बिना प्रति-टोकन कम खर्च करें।
tiered प्लेबुक: डिफ़ॉल्ट रूप से सबसे सस्ता India route, optimize:price, नियमित काम छोटे मॉडलों को सौंपें, cheap-first fallback, और quality खर्च उन्हीं कॉल पर जो उसके लायक हों।
optimize:price + delegation + BYOEमध्यम12 min
रेसिपी खोलें →
किसी भी मॉडल के लिए live, FX-converted INR price तुलना सीधे gateway से लाएँ।
/v1/pricing/compareशुरुआती3 min
रेसिपी खोलें →
Set monthly ₹ budgets at every level — org, team, workspace, member and key — plus per-provider caps, so runaway usage stops itself instead of surprising you.
Hierarchical budgets (budgets, not seats)मध्यम10 min
रेसिपी खोलें →
जब किसी provider का दिन खराब हो, तब भी चालू रहें।
डेटा भारत में रखें और DPDP-aligned रहें।
data residency पिन करें ताकि requests चुपचाप offshore जाने के बजाय fail-closed हों।
data_policy: "india_only"शुरुआती5 min
रेसिपी खोलें →
residency, zero-retention और client-side redaction मिलाकर व्यक्तिगत डेटा ज़िम्मेदारी से प्रोसेस करें।
india_only + zero-retention + redactionमध्यम15 min
रेसिपी खोलें →
India-resident Krutrim और Sarvam मॉडलों पर हिंदी और भारतीय-भाषा chat serve करें।
Krutrim + Sarvam, India routesशुरुआती8 min
रेसिपी खोलें →
अपनी शर्तों पर और मॉडल अनलॉक करें।
अपनी provider key लाएँ ताकि आपके account और दरों पर चलें, ऊपर BharatRouter की routing के साथ।
upstream_key (BYOK)मध्यम8 min
रेसिपी खोलें →
One OpenAI-compatible audio API for transcription and voice — first-party India-resident ASR/TTS by default, ElevenLabs / Sarvam / OpenAI on BYOK, with failover across all of them.
/v1/audio/transcriptions + /v1/audio/speechमध्यम10 min
रेसिपी खोलें →
One /v1/embeddings endpoint — first-party bge-m3 at ₹1/Mtok stays in India, or bring your own key for OpenAI, Gemini and Cohere embeddings.
/v1/embeddingsशुरुआती6 min
रेसिपी खोलें →
tool-calling एजेंटों को एक ही governed endpoint दें।
Anthropic के Claude को gateway के ज़रिए पहुँचें — platform key पर या अपनी Anthropic key पर — और Claude Code को एजेंट के रूप में MCP पर जोड़ें, हर कॉल पर आपका routing, residency और budgets।
BYOK (Anthropic) + MCP serverशुरुआती6 min
रेसिपी खोलें →
Claude Code को अपने Claude Max plan पर चलाएँ, पर monthly limit पर कभी hard-stop न हों — BharatRouter पहले आपकी subscription इस्तेमाल करता है और अपने-आप overflow को Anthropic API पर भेज देता है, साथ ही हर कॉल metered, budgeted और residency-checked।
Max-subscription overflow → Anthropic APIमध्यम8 min
रेसिपी खोलें →
BharatRouter को MCP clients के सामने रखें ताकि एजेंट एक governed endpoint से route कर सके।
MCP serverमध्यम10 min
रेसिपी खोलें →
एक open-source coding agent (OpenCode) को brain के रूप में एक open GLM मॉडल के साथ चलाएँ — BharatRouter के ज़रिए metered, budgeted और residency-checked, बिना किसी provider lock-in के।
GLM (BYOK) — OpenAI-compatible API परमध्यम8 min
रेसिपी खोलें →
Point Claude Code’s base URL at BharatRouter and drive it with an open GLM model. The gateway translates the Anthropic Messages wire to GLM and back — so your client holds only a br- key, and GLM is set once as BYOK on the platform.
Anthropic /v1/messages → GLM translationमध्यम8 min
रेसिपी खोलें →
स्ट्रीमिंग, ensembles और बारीक किनारे।
server-sent events पढ़ें और अंतिम usage chunk पकड़ें ताकि हर request की लागत निकले।
SSE + usage chunkमध्यम8 min
रेसिपी खोलें →
एक model id बुलाएँ और मॉडलों के panel से reconciled जवाब पाएँ — और तय करें कि अतिरिक्त टोकन कब उचित हैं।
Sangam ensembleउन्नत12 min
रेसिपी खोलें →
Append :online to any chat model and BharatRouter searches the web first, then answers with cited sources — OpenRouter-compatible, on your own Exa / Brave / Tavily key.
:online web search (BYOK engine)मध्यम8 min
रेसिपी खोलें →
किसी अन्य platform से माइग्रेट कर रहे हैं? माइग्रेशन गाइड देखें — प्रति-platform एक, हर एक लगभग एक-लाइन swap।