TokenRoute
Get started
Back to models

NVIDIA: Switchyard

nvidia/switchyard

Switchyard is an open-source model router that switches between multiple models to optimize the cost of requests. By default it will use TokenRoute market data to select the most popular...

Pricing

Specs

Context length1M tokens
Max output-
Inputtext
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nvidia/switchyard",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
NVIDIA: Switchyard API, pricing and context length | TokenRoute