Chat completions
OpenAI-compatible chat endpoint. Supports streaming, tools, vision, and reasoning where the upstream model does.
POST /v1/chat/completions
Try it
curl https://relayx.timor419.com/v1/chat/completions \
-H "Authorization: Bearer $RELAYX_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"stream": true
}'