Getting started / Chat completions
Chat completions
The planned OpenAI-compatible text endpoint.
API documentation preview. Key management is available; model inference is pending.
01
POST /v1/chat/completions
Send a JSON object with model and messages. Each message contains role and content. Valid prelaunch keys receive a 503 response until a provider is approved.
02
Streaming
Streaming support is planned for models that supply incremental output.
Example request
Shell
curl https://cozymodel.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "your-model-id",
"messages": [{"role":"user","content":"Hello!"}]
}'Explore the model catalog.
Discover modalities and select the best model for your task.
Browse models