Find a model

Browse the full catalog →

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 600+ models across 100+ 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.trustedrouter.com/v1 and keep your SDK, your model ids, and your code.

Browse routes See measured latency

New email signups receive starter credit. No card required.

failover.pyPython
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.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 prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. 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.

600+ modelspublic catalog
100+ providerscatalog coverage
470ZDR routes
66provider E2EE routes
9045recent availability samples
Model Providers Context Input Output Privacy Measured route
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8
4 routes
1,000,000 $5.275/1M to $5.8025/1M $26.375/1M to $29.0125/1M ZDR 5 cited scores measured amazon-bedrock · 71 tok/s · 100.00% available · n=7
OpenAI: GPT-5.5openai/gpt-5.5
2 routes
1,050,000 $5.275/1M $31.65/1M varies 3 cited scores No measurements yet
Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash
2 routes
1,048,576 $1.5825/1M $9.495/1M varies 1706 ms TTFT google-vertex · 56 tok/s · 100.00% available · n=8
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code
+7
15 routes
262,144 $0.633/1M to $1.004888/1M $3.165/1M to $4.5365/1M ZDR 5 cited scores 1250 ms TTFT inceptron · 109 tok/s · 80.00% available · n=20
Z.ai: GLM 5.2z-ai/glm-5.2
+23
44 routes
1,048,576 $0.6541/1M to $2.620863/1M $1.5825/1M to $7.862588/1M Confidential + ZDR 4 cited scores 1624 ms TTFT phala · 38 tok/s · 100.00% available · n=54
MiniMax: MiniMax M3minimax/minimax-m3
+9
21 routes
524,288 $0.24265/1M to $0.633/1M $1.0128/1M to $2.532/1M ZDR 4 cited scores 947 ms TTFT telnyx · 299 tok/s · 100.00% available · n=851

Provider summaries cover each provider's full catalog.

AnthropicPolicy varies 14 models 1259 ms p50 · n=285
Amazon BedrockPolicy varies 39 models 6873 ms p50 · n=106
OpenAIZDR on prepaid 40 models 1251 ms p50 · n=500
Google Vertex AIZDR on prepaid 14 models 1524 ms p50 · n=409
KimiPolicy varies 6 models 1775 ms p50 · n=21
SiliconFlowPolicy varies 55 models 1357 ms p50 · n=28
Alibaba Cloud Model StudioPolicy varies 42 models 1344 ms p50 · n=26
Microsoft Azure AI FoundryZDR on prepaid 12 models 1616 ms p50 · n=25

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-05T21:30:35.037Z

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 600+ models across 100+ 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 prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. 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.

Requests roll over when a provider is down.

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

Up to 1 million free tokens. No card required.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

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