Let Auto Router decide.
Select approved providers by health, context fit, input and output price, discounts, and availability—not hard-coded application logic.
PipeLLM Relay · Auto Router for production AI
PipeLLM Relay automatically routes every request to an approved, healthy, cost-efficient model—behind one endpoint.
Every model behind one endpoint
Lower cost for eligible workloads
Fail over without rewrites
Auto Router · Cost-aware by default
Relay evaluates prompt size, context fit, catalog discounts, policy, region, and provider health before it sends the request. Your application keeps one stable integration.
Copy your Relay endpoint
Routing decision
200 OKRequested
Claude Sonnet 4.6
Auto-routed to
AWS Bedrock
First token
428ms
Total time
3.86s
Billed cost
$0.065530
Response streamed
Fallback readyAuto Router strategies
Choose a strategy per environment, team, or API key. Relay Auto Router evaluates it on every request without moving the decision into application code.
AWS Bedrock
claude-sonnet-4-6
eligible · 200K ctx
GCP Vertex
claude-sonnet-4-5-20250929
eligible · 200K ctx
OpenAI
gpt-5.4
eligible · 1M ctx
Engineering gets a stable integration. Platform teams get the controls needed to approve, route, and replace models safely.
Select approved providers by health, context fit, input and output price, discounts, and availability—not hard-coded application logic.
Centralize model approvals, API keys, budgets, and provider credentials outside application source code.
Keep OpenAI-, Anthropic-, and Gemini-compatible clients while Relay changes the route underneath.
Auto Router · Catalog-aware routing
Relay Auto Router evaluates the model catalog together with policy, provider health, region, and workload fit—before a request leaves your gateway.
Cost impact · eligible traffic
$150 → $25.20
$150.00
$118.80
$87.60
$56.40
$25.20
Share of eligible traffic using the discounted route. This compares price only; Relay moves a request only when its policy and workload requirements still match.
Savings without instability
Relay evaluates discounts and token economics before routing. Long-prompt workloads can favor an approved model with enough context and a lower input-token price, while healthy fallbacks keep production traffic moving.
Discount-aware
Apply catalog discounts before the request is sent.
Prompt-aware
Compare input price and context fit when prompts run long.
Policy-gated
Preserve model, region, tool, and workload requirements.
Health-routed
Keep an approved fallback ready when the primary is unhealthy.
Long-prompt economics
Relay can account for prompt size before choosing among eligible routes—not after the bill arrives.
01 · Measure
Estimate the request's input-token volume and required context window.
02 · Compare
Evaluate input price, catalog discounts, region, and policy across eligible models.
03 · Route
Select a healthy lower-cost route only when workload requirements still match.
Public routing benchmark
Current catalog data. This table compares route economics and availability, not model quality.
10M+
requests routed monthly
61
active catalog models
16
provider routes
9
model publishers
Customer-verifiable evidence
Cost
List price, applied discount, tokens, and final request cost.
Route
Requested model, selected provider, region, and policy match.
Stability
Health signal, failover decision, latency, and response status.
Catalog snapshot: August 6, 2026. Cost trend assumes 10M output tokens and shifts only eligible traffic from a $15/M route to DeepSeek V4 Pro at the current 30% PipeLLM discount. Actual spend depends on workload, token mix, cache usage, and provider terms.
One control surface
Issue scoped credentials and keep provider secrets out of application environments.
Define which models, providers, regions, and tools each workload may use.
React to upstream availability and rate limits using approved fallback routes.
Connect routing decisions, usage, and approvals to a trace your team can inspect.
PipeLLM research & engineering
Practical notes for teams evaluating model gateways, compatible APIs, and long-context production workloads.
Explore all articlesFAQ
Relay is PipeLLM's governed Auto Router. Your application sends one compatible request, and Relay automatically selects an eligible model and provider using policy, health, region, availability, and cost signals.
Relay is designed for agent platforms, multi-model products, enterprise AI teams, and evaluation pipelines that need one governed route across models and providers.
No. Relay exposes OpenAI-, Anthropic-, and Gemini-compatible paths. Most teams switch by changing the base URL and API key.
Relay can support provider-managed routing and bring-your-own-provider configurations, depending on the provider and deployment model.
Relay evaluates approved fallback routes and can move eligible requests to a healthy provider without changing the client request.
Yes. Model access, routing strategy, budgets, and credentials can be scoped by environment, team, or API key.
Each request carries route, provider, usage, and policy context that can be connected to PipeLLM Lens for review and audit.
Start with one endpoint today. Relay Auto Router keeps every future provider, policy, cost, and failover decision behind the same integration.