Authorization: Bearer ********************{
"model": "deepseek-chat",
"stream": true,
"messages": [
{
"role": "user",
"content": "你是谁"
}
]
}curl --location --request POST 'https://api.chatfire.site/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "deepseek-chat",
"stream": true,
"messages": [
{
"role": "user",
"content": "你是谁"
}
]
}'{
"id": "chatcmpl-JpJLiiRtxfcvfhq7Vm2xHs",
"choices": [
{
"finish_reason": null,
"index": 0,
"logprobs": null,
"message": {
"content": "我是通义千问(Qwen),由通义实验室研发的大语言模型。我可以回答问题、创作文字、进行逻辑推理、编程等,也能根据你的需求提供帮助。有什么我可以帮你的吗?",
"refusal": null,
"role": "assistant",
"annotations": null,
"audio": null,
"function_call": null,
"tool_calls": null,
"reasoning_content": ""
}
}
],
"created": 1761791003,
"model": "qwen3-max-preview",
"object": "chat.completion",
"service_tier": null,
"system_fingerprint": null,
"usage": {
"completion_tokens": 45,
"prompt_tokens": 373,
"total_tokens": 418,
"completion_tokens_details": null,
"prompt_tokens_details": {
"audio_tokens": null,
"cached_tokens": 0
},
"input_tokens": 373,
"output_tokens": 45
}
}