Chat completions
Smoke test `/v1/chat/completions`
Use the smallest possible messages payload first. A successful response confirms the key, URL, and model are aligned.
curl https://cheaprouter.uk/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-api-key" \
-d '{
"model": "gpt-5.4",
"messages": [
{
"role": "user",
"content": "Write a one-line hello from cheapRouter."
}
]
}'