Authorization: Bearer ********************{
"model": "deepseek-v3.2-exp",
"thinking": {
"type": "enabled"
}, // 火山
"enable_thinking": true, // deepseek
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}curl --location -g --request POST '{{YOUR_BASE_URL}}/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "deepseek-v3.2-exp",
"thinking": {
"type": "enabled"
}, // 火山
"enable_thinking": true, // deepseek
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}'{
"choices": [
{
"finish_reason": "length",
"index": 0,
"logprobs": null,
"message": {
"content": "Hello! How can I help you today?",
"reasoning_content": "Hmm, the user just greeted me with a simple \"Hello!\". This is a straightforward interaction where the user likely expects a friendly and welcoming response. \n\nI should keep it warm and inviting, while also prompting the user to share what they need help with. A cheerful tone with an open-ended question would work well here. \n\nI can use an exclamation point to convey enthusiasm and add a smiley emoji to make it feel more personal. The goal is to make the user feel comfortable and encouraged to proceed.",
"role": "assistant"
}
}
],
"created": 1762330738,
"id": "021762330733710ae2de60e240305108d24a85b8afaac1194f1d4",
"model": "deepseek-v3-2-exp",
"service_tier": "default",
"object": "chat.completion",
"usage": {
"completion_tokens": 115,
"prompt_tokens": 13,
"total_tokens": 128,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 106
}
}
}