Skip to content

MiniMax

MiniMax models are general-purpose chat models.

Models

Model Code Notes
MiniMax M2.7 minimax-m2.7 Latest.
MiniMax M2.5 FW-MiniMax-M2.5 General-purpose chat.

Capabilities

  • tools, tool_choice
  • temperature, top_p, max_tokens, response_format

See Parameter Support by Model for the full matrix.

Example

from openai import OpenAI

client = OpenAI(base_url="https://llm.siraya.ai/v1", api_key="<API_KEY>")
resp = client.chat.completions.create(
    model="minimax-m2.7",
    messages=[{"role": "user", "content": "Draft a tweet about AI gateways."}],
)
print(resp.choices[0].message.content)