Authorization: Bearer ********************{
"model": "qwen3-max",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "1+2+3+。。。。+100=?"
}
]
}
]
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "qwen3-max",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "1+2+3+。。。。+100=?"
}
]
}
]
}'{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "这是一个经典的等差数列求和问题。\n\n数列:1 + 2 + 3 + … + 100\n\n这是一个首项 \\( a = 1 \\),末项 \\( l = 100 \\),项数 \\( n = 100 \\) 的等差数列。\n\n等差数列求和公式为:\n\n\\[\nS = \\frac{n(a + l)}{2}\n\\]\n\n代入数值:\n\n\\[\nS = \\frac{100(1 + 100)}{2} = \\frac{100 \\times 101}{2} = 50 \\times 101 = 5050\n\\]\n\n所以,\n\n**1 + 2 + 3 + … + 100 = 5050**。",
"role": "assistant"
}
}
],
"created": 1765533376,
"id": "chatcmpl-7c273072-cc0d-4d23-883a-1a3f99ad295a",
"model": "qwen3-max",
"object": "chat.completion",
"usage": {
"completion_tokens": 176,
"prompt_tokens": 22,
"prompt_tokens_details": {
"cached_tokens": 0
},
"total_tokens": 198
}
}