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...
Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.
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!" }]
}'