Esc to close ยท โK / Ctrl-K opens search anywhere
Indic and global models behind one API, with data-residency you can enforce, INR pricing, and routing that optimizes for price, latency or uptime. Swap one line, keep your code โ and it's built for AI agents as much as for humans.
# pip install openai โ then change one line
from openai import OpenAI
client = OpenAI(base_url="https://api.bharatrouter.com/v1", api_key="br-...")
r = client.chat.completions.create(
model="qwen2.5-7b-instruct",
messages=[{"role": "user", "content": "namaste"}],
extra_body={"data_policy": "india_only", "optimize": "price"}, # BharatRouter extras
) Point your OpenAI base_url at BharatRouter and keep your SDK and code
exactly as they are.
Add data_policy or optimize and we pick the best healthy
route, failing over automatically when one errors.
Prepaid credits at per-token rates โ โน100 free to start, no card on file, no surprise bills.
Disable a provider mid-stream and watch requests re-route to a healthy model โ Krutrim, a global provider, or a self-hostable endpoint you control โ in milliseconds. No code change, no downtime, no foreign kill-switch wired into your roadmap.
Send data_policy: india_only and requests route only to India-resident endpoints โ DPDP-aligned by construction, not by promise.
Learn more โ
Optimize each call for price, latency or uptime; pin a provider when you must; automatic failover with circuit breakers when you donโt.
Learn more โ
Shareable, versioned routing chains โ publish, fork and import a tested fallback recipe into your routing in one call.
Learn more โ
Plug your own OpenAI-compatible deployment in as a โน0 fallback step, admitted only after an automated compliance test.
Learn more โ
Save a Krutrim or OpenAI key once โ encrypted, never shown again โ and ride your own account and rates. Free during beta.
Learn more โ
Whisper transcription and Kokoro text-to-speech with Hindi voices, behind the same API and INR pricing.
Learn more โ
Invite teammates with roles, share one prepaid wallet, and group keys and usage by environment.
Learn more โ
An MCP server, llms.txt, OpenAPI, a live-health catalog, and ephemeral scoped keys your agent mints itself.
Learn more โ
New here? The guides walk through each of these in under two minutes.
Save a provider key once and requests ride your own account and rates, with our routing and failover on top. fallback providers can ride our keys when yours hit limits; the rest route through your key only. Free during beta.
One API for Indic and global models โ with residency, INR pricing, and routing you control.