Esc to close · ⌘K / Ctrl-K opens search anywhere
Aggregatorone-line swap
Already OpenAI-compatible — the same one-line swap, with India residency and INR on top.
Before — OpenRouter
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="sk-or-...",
)After — BharatRouter
from openai import OpenAI
client = OpenAI(
base_url="https://api.bharatrouter.com/v1",
api_key="br-...",
)| OpenRouter | BharatRouter |
|---|---|
provider.sort: "price" | "throughput" | optimize: "price" | "latency" | "uptime" | "auto" |
provider.order / allow_fallbacks | Saved fallback chains + automatic failover |
provider.only / ignore | provider (pin) / exclude (drop) |
HTTP-Referer / X-Title headers | Not required — omit them |
data_policy: "india_only") — OpenRouter has no equivalent.vendor/model ids to BharatRouter catalog ids (see catalog).Stuck on a migration? Email [email protected], see the FAQ, or keep your accounts and rates with BYOK.