Authorization: Bearer ********************{
"model": "minimax-m2",
"messages": [
{
"content": "You are a helpful assistant",
"role": "system"
},
{
"content": "Hi",
"role": "user"
}
],
"max_tokens": 4096,
"stream": false,
"temperature": 1
}curl --location --request POST 'https://api.mixrouter.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "minimax-m2",
"messages": [
{
"content": "You are a helpful assistant",
"role": "system"
},
{
"content": "Hi",
"role": "user"
}
],
"max_tokens": 4096,
"stream": false,
"temperature": 1
}'{
"id": "019b681a731ae556e91034b0d09d632e",
"object": "chat.completion",
"created": 1766978122,
"model": "MiniMaxAI/MiniMax-M2",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "\n\nHello! 🌟 I'm happy to help — just tell me what you're thinking or where I can assist today.😊",
"reasoning_content": "Hmm, the user just said \"Hi\" - it's a simple greeting. \n\nFirst, I should prioritize warmth and openness since this is the start of an interaction. The \"🌟\" emoji adds friendly energy without overdoing it. \n\nThe response works two ways: it acknowledges their greeting while gently signaling I'm here for more. The \"how can I help?\" question keeps it patient - they might just be testing the waters.\n\nI notice the user didn't include any topic or request. That's okay! Leaving space for them to lead feels right. The tone should stay approachable but not pressure them to share anything. \n\n...Wondering if they're new to AI assistants? Maybe. Keeping the tone reassuring and open is wise either way. No assumptions.\n"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 22,
"completion_tokens": 174,
"total_tokens": 196,
"completion_tokens_details": {
"reasoning_tokens": 150
},
"prompt_tokens_details": {
"cached_tokens": 0
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 22
},
"system_fingerprint": ""
}