AIDeveloper44 logoaideveloper44home of every ai dev release
← all tools
NVIDIA·Aug 11, 2026·open source

Switchyard

Switchyard is a Rust-based proxy and library designed to route LLM traffic across various providers and models.
AI/Dev InfrastructureOpen SourceFree
Visit WebsiteDocsGitHub

What is Switchyard?

Switchyard is a Rust-based proxy and library designed to route LLM traffic across various providers and models. It enables developers to maintain native OpenAI and Anthropic API compatibility while implementing flexible routing, benchmarking, and cost-optimization strategies.

NVIDIA NeMo Switchyard is an open-source Rust proxy and library that acts as an intelligent traffic controller for LLM applications. By sitting between client applications and model providers, it translates requests between OpenAI and Anthropic formats, allowing developers to route traffic dynamically to different backends—such as vLLM, NVIDIA NIM, or Ollama—without changing the client's native API implementation. This enables advanced use cases like A/B testing, signal-driven stage routing, and cost-efficient model selection.

Who Switchyard is for

Teams and individual developers working in AI/Dev Infrastructure.

ML and MLOps engineers

Serve, scale and monitor AI workloads

Platform engineers

Run AI infrastructure reliably and cost-efficiently

Researchers

Run experiments on GPUs, TPUs or other accelerators

Key features

01Protocol translation between OpenAI Chat, Anthropic Messages, and OpenAI Responses formats
02Multi-backend routing with support for random, LLM-classifier, and stage-router algorithms
03Operational metrics tracking including latency, token usage, and routing overhead via Prometheus
04Flexible deployment options as a standalone proxy, CLI launcher, or embedded Rust library
05Native compatibility with existing coding agents and OpenAI-compatible endpoints

Switchyard use cases

Horizontal · cross-industry

Model servingHigh-throughput inference with batching and KV/prefix caching
Hardware accelerationRun on GPUs, TPUs or Trainium
ObservabilityTrace LLM calls, latency, token usage and cost

Vertical · domain-specific

EnterpriseSelf-hosted inference in a VPC to keep data in-house
HealthcareOn-prem deployment for PHI and data residency
Research labsDistributed training and evaluation on accelerator clusters