OpenAI-Compatible LLM API Router
Use the OpenAI SDK with one base_url change, then route to hundreds of models with failover, BYOK, ZDR options, and measured provider latency.
Keep the SDK. Change the base URL.
TrustedRouter lets teams use the OpenAI client shape while routing across many providers, privacy tiers, regions, and fallback policies.
- ✓
POST /v1/chat/completionsandPOST /v1/responses - ✓ Explicit model IDs or aliases like
trustedrouter/autoandtrustedrouter/zdr - ✓ BYOK, prepaid credits, provider filters, and workspace controls
- ✓ Public model pages with pricing, provider routes, and measured performance
from openai import OpenAI
client = OpenAI(
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
base_url="https://api-azure.trustedrouter.com/v1",
)
response = client.chat.completions.create(
model="trustedrouter/auto",
messages=[{"role": "user", "content": "Hello"}],
)
Measured providers
Use live TTFT, TTFB, throughput, and uptime data instead of vendor claims.
Open leaderboardPolicy-aware routing
Compare ZDR, confidential compute, provider E2EE, and upstream policy sources.
Open providersVerify the gateway
Check the running image, source commit, digest, and attestation path.
Open trustCurrent routes, prices, privacy, and measured performance.
Catalog facts come from the routes currently configured in TrustedRouter. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.
| Model | Providers | Context | Input | Output | Privacy | Measured route |
|---|---|---|---|---|---|---|
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8 |
3 routes | 1,000,000 | $5.25/1M | $26.25/1M | varies 5 cited scores | 1598 ms TTFT anthropic · 100.00% available · n=1 |
OpenAI: GPT-5.5openai/gpt-5.5 |
4 routes | 1,050,000 | $5.25/1M | $31.5/1M | ZDR 3 cited scores | Warming up |
Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash |
7 routes | 1,048,576 | $1.575/1M | $9.45/1M | ZDR | measured google-ai-studio · 0.00% available · n=1 |
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code |
19 routes | 262,144 | $0.735/1M to $0.9975/1M | $3.675/1M to $4.2/1M | ZDR 5 cited scores | 1378 ms TTFT fireworks · 100.00% available · n=2 |
Z.ai: GLM 5.2z-ai/glm-5.2 |
45 routes | 1,048,576 | $0.714/1M to $1.575/1M | $1.575/1M to $5.5125/1M | E2EE 4 cited scores | 1344 ms TTFT fireworks · 100.00% available · n=18 |
MiniMax: MiniMax M3minimax/minimax-m3 |
21 routes | 1,048,576 | $0.2835/1M to $0.63/1M | $1.155/1M to $2.52/1M | ZDR 4 cited scores | 2056 ms TTFT wafer · 100.00% available · n=5 |
Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-08-04T22:29:23Z
Questions
Can I keep using the OpenAI SDK?
Yes. Set base_url to the TrustedRouter API and keep the usual chat completions or Responses API calls.
Can I still choose exact providers?
Yes. Use explicit model IDs, provider filters, or TrustedRouter aliases such as trustedrouter/auto and trustedrouter/zdr.