Authorization: Bearer ********************{ "model": "deepseek-v3-1-250821", "max_tokens": 1000, "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "sample text" } ], "temperature": 1.0, "stream": true, "stream_options": { "include_usage": true }, "thinking":{ "type":"enabled" } }curl --location '/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "model": "deepseek-v3-1-250821", "max_tokens": 1000, "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "sample text" } ], "temperature": 1.0, "stream": true, "stream_options": { "include_usage": true }, "thinking":{ "type":"enabled" } }'{
"id": "chatcmpl-123",
"object": "chat.completion",
"created": 1677652288,
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "\n\nHello there, how may I assist you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}