AllrouterAllrouter

API docs

Allrouter exposes an OpenAI-compatible API. Point any OpenAI SDK at the base URL and use a project API key.

Chat completions

curl https://api.allrouter.io/v1/chat/completions \
  -H "Authorization: Bearer sk-ar-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "azure/gpt-5.5",
    "messages": [{"role": "user", "content": "Hello"}],
    "stream": true
  }'