DocumentationAccess MethodsOpenAI Compatible

OpenAI Compatible

Chat Completions protocol compatible with the OpenAI SDK.

Endpoint

Base URLhttps://your-router-domain.com/v1
EndpointPOST /v1/chat/completions

Authentication

HeaderAuthorization: Bearer YOUR_API_KEY

Use the full key shown when creating an API Key on the API Keys page.

curl example

curl
curl https://your-router-domain.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'
Responses API