Create a key in the console, then point any OpenAI-compatible client at the base URL. Nothing else about your code needs to change.
Base URL
Base URL
https://your-instance.com/v1
Your first request
curl https://your-instance.com/v1/chat/completions \
-H "Authorization: Bearer $CLAWROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "Hello"}]
}'Choosing a model
The model field takes any name this instance serves. Ask the API what those are rather than hard-coding a list, because the catalogue changes as providers ship and retire models.
curl
curl https://your-instance.com/v1/models \ -H "Authorization: Bearer $CLAWROUTER_API_KEY"
