EXAMPLES
Copy-paste recipes.
cURL, streaming, and model listing against the live gateway.
cURL — chat completion
curl https://ciptamodel.com/v1/chat/completions \
-H "Authorization: Bearer $CIPTAMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","messages":[{"role":"user","content":"Write a haiku about APIs"}]}'
cURL — streaming
curl -N https://ciptamodel.com/v1/chat/completions \
-H "Authorization: Bearer $CIPTAMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4.1-flash","stream":true,
"messages":[{"role":"user","content":"Count to five"}]}'
cURL — list models
curl https://ciptamodel.com/v1/models \ -H "Authorization: Bearer $CIPTAMODEL_API_KEY"