Chat
Chat
Chat
Chat
200 OK
POST
/v1/chat/completions
REQUEST
curl -X POST "/v1/chat/completions" \
-H "Authorization: Bearer sk-••••" \
-d '{
"model": "your-model",
"messages": [
{ "role": "user", "content": "..." }
]
}'
RESPONSE
{
"choices": [{ "message": { "content": "Chat request routed." } }],
"usage": { "total_tokens": 27 }
}
142 MS·27 TOKENS·COST $0.00081
STREAM · SSE