Authorization: ********************{
"model": "claude-4.6-opus",
"messages": [
{
"content": [
{
"text": "What is the sun",
"type": "text"
}
],
"role": "user"
}
],
"thinking": {
"type": "enabled",
"budget_tokens": 1024 // claude-4.6-opus model supports a minimum of 1024, but must be less than max_token
}
}curl --location 'https://api-xmodel.nexconn.ai/v1/chat/completions' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"model": "claude-4.6-opus",
"messages": [
{
"content": [
{
"text": "What is the sun",
"type": "text"
}
],
"role": "user"
}
],
"thinking": {
"type": "enabled",
"budget_tokens": 1024 // claude-4.6-opus model supports a minimum of 1024, but must be less than max_token
}
}'{}