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.
Rust
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
[package]
name = "switchyard-soak"
version.workspace = true
description = "Sustained load tester for a live Switchyard server"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
readme = "README.md"
[[bin]]
name = "switchyard-soak"
path = "src/main.rs"
[[example]]
name = "switchyard-soak-mock"
path = "examples/mock_server.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
futures-util.workspace = true
humantime = "2.4"
parking_lot.workspace = true
rand.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
[dev-dependencies]
axum = "0.8"
tempfile = "3"
tokio.workspace = true