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