Authorization: Bearer ********************{
"model": "o3",
"max_tokens": 2000,
"reasoning_effort": "medium",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "1+2+3+4+...+100=?"
}
]
}
],
"temperature": 0.8,
"steam": false
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/responses' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "o3",
"max_tokens": 2000,
"reasoning_effort": "medium",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "1+2+3+4+...+100=?"
}
]
}
],
"temperature": 0.8,
"steam": false
}'{
"id": "chatcmpl-CqwHSYncnwMNSftJlPK7u358gxWJG",
"object": "chat.completion",
"created": 1766733122,
"model": "o3",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "The sum of the first 100 positive integers is found by\n\n1 + 2 + 3 + … + 100 = (100 · 101) / 2 = 5050",
"refusal": null,
"annotations": []
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 18,
"completion_tokens": 58,
"total_tokens": 76,
"prompt_tokens_details": {
"cached_tokens": 0,
"audio_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 0,
"audio_tokens": 0,
"accepted_prediction_tokens": 0,
"rejected_prediction_tokens": 0
}
},
"system_fingerprint": null
}