Haimaker.ai Logo

Minimax M2

minimax/minimax-m2
Chat
Minimax|
Function CallingReasoning
Context Window
200K
tokens
Max Output
8K
tokens
Input Price
$0.30
/1M tokens
Output Price
$1.20
/1M tokens

Overview

MiniMax's language model for conversational and creative applications.

Features & Capabilities

Modechat
Context Window200K tokens
Max Output8K tokens
Function CallingSupported
Vision-
ReasoningSupported
Web Search-
Url Context-

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="minimax/minimax-m2",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Use Minimax M2 with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Minimax