Skip to main content
MiniMax-M2.7 is MiniMax’s flagship text model, available through Starrise AI via an OpenAI-compatible interface. It features a 204K context window with interleaved thinking support, ideal for complex reasoning tasks.

Key Capabilities

  • OpenAI-compatible — Drop-in replacement for the OpenAI SDK, no other code changes needed
  • 204K context — supports large document processing and multi-turn conversations
  • Reasoning — supports interleaved thinking for complex reasoning tasks
  • Tool calling — supports function/tool calls for agentic workflows
  • Text only — focused on text and tool calls (no image/video input)

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.7",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in simple terms." }
    ]
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesFixed value: MiniMax-M2.7
messagesarrayYesArray of objects { role, content }. Text and tool calls only
max_tokensintegerNoMaximum number of tokens to generate
temperaturefloatNo02, controls randomness, default 1
streambooleanNoEnable SSE streaming, default false
top_pfloatNoNucleus sampling threshold, default 0.9
stopstring / arrayNoSequences that trigger stop generation
toolsarrayNoTool/function definitions for agentic workflows
tool_choicestring / objectNoTool selection strategy

API Reference

View the interactive API Playground for MiniMax-M2.7.