NVIDIA-NeMo/Switchyard
Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #264 of 3,103 repositories GStars tracks this week (top 9%).
2 releases in the last 90 days, the latest 29 days ago, with 64 contributors on GitHub.
Peaked at #72 in the weekly ranking the week of Aug 9, its best in the past year.
Use Cases & Benefits
- Routes and translates LLM API requests across multiple providers while preserving native OpenAI and Anthropic API compatibility.
- Enables flexible multi-backend routing and benchmarking with typed, composable algorithms and operational metrics for cost and performance optimization.
- Use for integrating diverse LLM providers into a single proxy while maintaining client API consistency in Rust applications.
- Use for A/B testing and cost experiments by splitting traffic across different LLM models with customizable routing strategies.
- Use for embedding advanced routing algorithms in custom Rust-based LLM agents or gateways without managing HTTP stacks.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Switchyard is a Rust proxy and library for LLM traffic. It routes requests across providers, translates between OpenAI and Anthropic APIs, records operational metrics, and provides typed, composable routing algorithms.
Why Switchyard? Point a coding agent such as Claude Code or Codex at an open-source model. Switchyard translates between the OpenAI Chat, Anthropic Messages, and OpenAI Responses formats, so the agent keeps speaking its native API while the request is served by vLLM, NVIDIA NIM, Ollama, or any OpenAI-compatible endpoint. The same proxy can spread traffic across several models for A/B benchmarking, apply signal-driven stage routing, or run a custom algorithm you write yourself.
Switchyard is pre-alpha software that is evolving rapidly. The API and algorithms are expected to change significantly before we reach v1.0.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+2,696 stars over 71 days across 25 snapshot days; best day +407 on Aug 13.
Forks
338+260
Open issues
132+50
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/claude-plugins-official | 44.4K | +4.3K | 75 | — |
| NationalSecurityAgency/ghidra | 94.0K | +4.2K | 75 | 2 days ago |
| akitaonrails/ai-memory | 13.3K | +3.4K | 75 | 2 days ago |
| K-Dense-AI/scientific-agent-skills | 54.2K | +3.1K | 75 | 22 days ago |
| shiyu-coder/Kronos | 43.6K | +2.7K | 75 | — |
| NVIDIA-NeMo/Switchyard | 3.4K | +0 | 75 | 29 days ago |
| Category median | 44.4K | +3.4K | 75 | — |
Also by NVIDIA-NeMo
Other repositories from this maintainer that GStars tracks
- Python18.6K stars
Speech
A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)
- Python2.3K stars
DataDesigner
🎨 NeMo Data Designer: Generate high-quality synthetic data from scratch or from seed data.
- Python2.1K stars
RL
Scalable toolkit for efficient model reinforcement
- Python1.2K stars
Gym
Evaluate and improve models and agents using environments
- Python1.0K stars
Automodel
🚀 Pytorch Distributed native training library for LLMs/VLMs with OOTB Hugging Face support
Discover Repositories
Search across tracked repositories by name or description