Skip to content
Try Hanzo
Language: English (United States)

Switchyard

Switchyard is an open-source model routing system that switches between multiple models to optimize the cost of requests.

Context Window
1M
In
—per million tokens
Out
—per million tokens

NVIDIA

Model IDnvidia/switchyard

Specifications

Context Window
1M
Modalities
text
Price
No published rate
Model ID
nvidia/switchyard

Quick start

nvidia/switchyard

No published rate

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'nvidia/switchyard',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →

Use Switchyard via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.