OpenAI compatible API · Attested · Public status

LLM Failover & Fallback API: Automatic Provider Redundancy

Automatic LLM failover across 220+ routes and 30+ providers. OpenAI-compatible: change base_url, keep your code. Requests roll over when a provider is down.

Verify gateway
Onebase URL to migrate
100sof models and routes
0prompt or output logs. Always.
LLM failover & fallback API

Your uptime should not depend on one provider's status page.

TrustedRouter is an OpenAI-compatible API with automatic LLM failover built in. When a provider goes down, requests roll over to a healthy route. No code change, no config push, no incident channel at 3 a.m. Your users keep getting answers.

One key fronts 220+ model routes across 30+ providers: Claude, GPT, Gemini, DeepSeek, Kimi, Qwen, GLM, Llama, Mistral, and more. Pin an exact model, or send traffic to trustedrouter/auto and let the gateway pick the best fit per request. Migration is a one-line change: point base_url at https://api-azure.trustedrouter.com/v1 and keep your SDK, your model ids, and your code.

Browse 220+ routes See measured latency

failover.pyPython
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api-azure.trustedrouter.com/v1",
    api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)

resp = client.chat.completions.create(
    model="trustedrouter/auto",
    messages=[{"role": "user", "content": "Hello"}],
)
# Provider down? The request rolls over. Same code.
Redundancy

Rollover is automatic

Outages are a fact of life on a single provider. The gateway handles fallback for you: when a provider is down, traffic moves to one that is up. There are no retry trees or fallback chains to maintain in your application.

Migration

Change base_url, keep the rest

The API is OpenAI-compatible. Swap the base URL and keep your SDK, your model ids, and your existing code.

Evidence

Latency you can look up

A failover plan should rest on data. TrustedRouter publishes measured latency from real routed requests, per provider, so you can see how the alternate routes perform before an outage forces the question.

Verifiable privacy

Failover should not mean spraying prompts across the internet.

Multi-provider redundancy has a cost: every fallback hop is another party that could see your data. TrustedRouter's prompt path runs inside a hardware-attested confidential-compute gateway. The source is open, the image digest is published, and the attestation binds to the live TLS session, so you can check it yourself. TrustedRouter never logs or stores prompt or output content. Every route carries a privacy tier: Open, Zero-Data-Retention, or TEE, where even the serving provider cannot read the prompt. Attestation beats a privacy policy.

This holds at production scale. A document-processing company scaled from zero to over a billion tokens per week through the attested gateway within three weeks of onboarding. Start with prepaid credits, bring your own provider keys, or pay per request with crypto. Per-model rates are at /pricing. Try any route in the playground first.

Live catalog evidence

Current 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.

392public models
49providers
1270configured routes
250ZDR routes
8provider E2EE routes
887recent availability samples
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=5
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
+1
7 routes
1,048,576 $1.575/1M $9.45/1M ZDR measured google-ai-studio · 0.00% available · n=14
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code
+8
19 routes
262,144 $0.735/1M to $0.9975/1M $3.675/1M to $4.2/1M ZDR 5 cited scores measured inceptron · 0.00% available · n=14
Z.ai: GLM 5.2z-ai/glm-5.2
+22
45 routes
1,048,576 $0.714/1M to $1.575/1M $1.575/1M to $5.5125/1M E2EE 4 cited scores measured engy · 0.00% available · n=73
MiniMax: MiniMax M3minimax/minimax-m3
+8
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=21
AnthropicPolicy varies 12 models 1807 ms p50 · n=24
GMI CloudPolicy varies 53 models 2549 ms p50 · n=12
OpenAIZDR on prepaid 33 models 1337 ms p50 · n=26
Atlas CloudPolicy varies 73 models measured · n=22
Google AI StudioPolicy varies 11 models measured · n=24
Google Vertex AIZDR on prepaid 9 models measured · n=24
Lightning AIPolicy varies 17 models 1471 ms p50 · n=20
KimiPolicy varies 11 models 1386 ms p50 · n=19

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-08-05T02:34:40Z

Questions

What is LLM failover and how does TrustedRouter handle it?

LLM failover means rerouting a request to another provider when the one serving your model goes down. TrustedRouter builds this into the gateway: automatic provider fallback rolls traffic over to a healthy route, drawing on 220+ model routes across 30+ providers. You can pin an exact model, or use the trustedrouter/auto meta-route and let the gateway pick the best fit per request.

Do I need to rewrite my code to get automatic provider fallback?

No. The API is OpenAI-compatible, so migration is a one-line change: point base_url at https://api.trustedrouter.com/v1 and keep your SDK, your model ids, and your existing code. Rollover happens inside the gateway, so there are no retry trees or fallback chains to maintain in your application.

Does routing through a failover gateway expose my prompts to more parties?

The prompt path runs inside a hardware-attested confidential-compute gateway. The source is open, the image digest is published, and the attestation binds to the live TLS session, so you can check it rather than take it on faith. TrustedRouter never logs or stores prompt or output content, and each route carries a privacy tier: Open, Zero-Data-Retention, or TEE, where even the serving provider cannot read the prompt.

How do I know the fallback routes are fast enough for production?

TrustedRouter publishes measured latency data from real routed requests at /llm-provider-latency-benchmarks, so you can compare providers before an outage forces a switch. On scale: a document-processing company scaled from zero to over a billion tokens per week through the attested gateway within three weeks of onboarding.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

By signing in you agree to the terms of service and privacy policy.