๐ŸŽฌ New โ€” watch the 2-minute guide videos โ†’

One API for India's AI

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.

Get a key Read the docs

# 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
)

How it works

1

Swap one line

Point your OpenAI base_url at BharatRouter and keep your SDK and code exactly as they are.

2

Route on your terms

Add data_policy or optimize and we pick the best healthy route, failing over automatically when one errors.

3

Pay in INR

Prepaid credits at per-token rates โ€” โ‚น100 free to start, no card on file, no surprise bills.

When a model goes dark, your traffic keeps moving

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.

Try the live failover demo โ†’

Everything in one gateway

New here? The guides walk through each of these in under two minutes.

Models โ€” live from the gateway

Loading catalogโ€ฆ

Full catalog with pricing & health โ†’

Bring your own keys โ€” 30 providers, one gateway

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.

Loading providersโ€ฆ

All providers, with details โ†’ ยท How BYOK works โ†’

Build on India's AI gateway

One API for Indic and global models โ€” with residency, INR pricing, and routing you control.

Get a key Watch the guides