curl --location 'https://4sapi.com/messages' \
--header 'Authorization: {{YOUR API KEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"model": "glm-5.2",
"max_tokens": 2048,
"stream": true,
"thinking": {
"type": "enabled",
"budget_tokens": 1024
},
"messages": [
{
"role": "user",
"content": "分析一下量子计算的发展前景。"
}
]
}'{}