Esc to close · ⌘K / Ctrl-K opens search anywhere
Inference providerone-line swap
Swap the base URL; map model ids to the catalog.
Before — Together AI
from openai import OpenAI
client = OpenAI(
base_url="https://api.together.xyz/v1",
api_key="...",
)After — BharatRouter
from openai import OpenAI
client = OpenAI(
base_url="https://api.bharatrouter.com/v1",
api_key="br-...",
)| Together AI | BharatRouter |
|---|---|
meta-llama/Llama-3.3-70B-Instruct-Turbo | Equivalent catalog id, or your Together key via BYOK |
| Together API key | br-… key (or keep Together's via BYOK) |
safety_model) aren't part of the OpenAI shape and are dropped.Stuck on a migration? Email [email protected], see the FAQ, or keep your accounts and rates with BYOK.