Skip to main content
MiniMax M2.1 is a chat model available through Starrise AI via an OpenAI-compatible interface.

Key Capabilities

  • OpenAI-compatible — Drop-in replacement for the OpenAI SDK, no other code changes needed
  • Long context — supports large document processing and multi-turn conversations
  • Streaming output — Real-time token streaming via SSE
  • Strong reasoning — Suitable for complex multi-step tasks

Quick Example

curl https://ai.alad.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m2.1",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in simple terms." }
    ]
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesFixed value: minimax-m2.1
messagesarrayYesArray of objects { role, content }
max_tokensintegerNoMaximum number of tokens to generate
temperaturefloatNo02, controls randomness, default 1
streambooleanNoEnable SSE streaming, default false
top_pfloatNoNucleus sampling threshold, default 1
stopstring / arrayNoSequences that trigger stop generation

API Reference

View the interactive API Playground for MiniMax M2.1.