NVIDIA: Switchyard
nvidia/switchyardSwitchyard is an open-source model router that switches between multiple models to optimize the cost of requests. By default it will use OpenRouter market data to select the most popular...
- Modalities
- text->text
- Price
- Variable
- Context
- 1M
- Released
- Sep 21, 2026
- Knowledge cutoff
- —
Providers
Every request enters through InfAPI. One key calls every model in the catalog. Upstream groups, ratios, and tiers are not shown.
| Endpoint | Input | Output | Context | Status |
|---|---|---|---|---|
| InfAPI | Variable | — | 1M | Available |
- Input
- Text
- Output
- Text
- Tokenizer
- Router
- Max output
- —
- Endpoint
- Chat
Pricing
Listed price for this model on this gateway. Token prices are per 1M tokens.
| Item | Price | Unit |
|---|---|---|
| Inputprompt | Variable | varies by route |
API
API
The gateway speaks the OpenAI Chat Completions API. Point any compatible SDK at https://infapi.cc/v1 and send the model slug below.
Get your API key
Create a key on the keys page and set it as an environment variable: Keys
export INFAPI_API_KEY=sk-...Make your first request
Use nvidia/switchyard
import requests
response = requests.post(
"https://infapi.cc/v1/chat/completions",
headers={
"Authorization": "Bearer $INFAPI_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "nvidia/switchyard",
"messages": [
{
"role": "user",
"content": "Introduce yourself in three sentences."
}
]
},
)
response.raise_for_status()
print(response.json()["choices"][0]["message"]["content"])Endpoint
POST https://infapi.cc/v1/chat/completions
Authorization: Bearer $INFAPI_API_KEY
Using third-party SDKs
Point the OpenAI SDK at https://infapi.cc/v1 with $INFAPI_API_KEY. The HTTP samples above are the request shape this gateway accepts.
from openai import OpenAI
client = OpenAI(
base_url="https://infapi.cc/v1",
api_key="$INFAPI_API_KEY",
)
response = client.chat.completions.create(
model="nvidia/switchyard",
messages=[{"role": "user", "content": "Introduce yourself in three sentences."}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://infapi.cc/v1",
apiKey: "$INFAPI_API_KEY",
});
const response = await client.chat.completions.create({
"model": "nvidia/switchyard",
"messages": [
{
"role": "user",
"content": "Introduce yourself in three sentences."
}
]
});
console.log(response.choices[0]?.message?.content);Supported parameters
This model does not publish a parameter list.
FAQ
What is this model?
Switchyard is an open-source model router that switches between multiple models to optimize the cost of requests. By default it will use OpenRouter ma…
How much does it cost?
Variable
What inputs and outputs does it support?
text->text
When was it released?
Sep 21, 2026