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.

The project provides three primary execution paths: a CLI launcher for coding agents like Claude Code or Codex, a standalone server for proxying API traffic, and a library for embedding routing logic directly into Rust applications. While currently in a pre-alpha, experimental state, it offers robust features including protocol translation, operational metrics via Prometheus, and composable routing algorithms like LLM-as-classifier and escalation routing, making it a powerful tool for optimizing LLM performance and infrastructure costs.

Switchyard is built by NVIDIA and fits into the AI/Dev Infrastructure category. It was released on Aug 11, 2026.

Switchyard is free to use and open source, with the source code on GitHub. Teams typically use it for model serving, hardware acceleration, observability and sandboxing, with domain-specific use in Enterprise, Healthcare and Research labs.

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