openrouter/auto
The Auto Router automatically selects the best model for your prompt, powered by the wisdom of the market. It routes you based on what the OpenRouter community collectively spends on...
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": "openrouter/auto",
"messages": [{ "role": "user", "content": "Hello!" }]
}'