MiniMax M2
MiniMaxReleased Oct 23, 2025
MiniMax-M2 is a compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters (230 billion total), it delivers near-frontier intelligence across general reasoning,...
- Context window
- 205K tokens
- Max output
- 131K tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
- Released
- Oct 23, 2025
- Reasoning
- always on
Pricing
Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.
| Per 1M tokens | Provider | + 3% fee | You pay |
|---|---|---|---|
| Input | $0.255 | $0.0076 | $0.263 |
| Output | $1.02 | $0.031 | $1.05 |
Benchmarks
Design Arena
| Category | Elo | Win rate | Rank |
|---|---|---|---|
| 3Dmodels | 1174 | 48.3% | #52 |
| Codemodels | 1184 | 48.1% | #59 |
| Data vizmodels | 1184 | 50% | #54 |
| Game devmodels | 1183 | 48.1% | #55 |
| SVGmodels | 1158 | 55.3% | #40 |
| UI componentsmodels | 1192 | 49.2% | #52 |
| Websitesmodels | 1185 | 48% | #59 |
Head-to-head preference voting. How we filter and rank
Supported parameters
- frequency_penalty
- include_reasoning
- logprobs
- max_tokens
- presence_penalty
- reasoning
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
Call it
OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model minimax/minimax-m2.
curl https://api.openkey.ai/v1/chat/completions \
-H "Authorization: Bearer $OPENKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m2",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.openkey.ai/v1",
api_key=os.environ["OPENKEY_API_KEY"],
)
completion = client.chat.completions.create(
model="minimax/minimax-m2",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.openkey.ai/v1",
apiKey: process.env.OPENKEY_API_KEY,
});
const completion = await client.chat.completions.create({
model: "minimax/minimax-m2",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);Questions
- How much does MiniMax M2 cost via API?
- Through OpenKey, MiniMax M2 costs $0.263 per 1M input tokens and $1.05 per 1M output tokens. That is the provider price ($0.255 / $1.02) plus a flat 3% fee — nothing else.
- What is MiniMax M2's context window?
- MiniMax M2 accepts up to 205K tokens of context and returns up to 131K tokens per request.
- Is MiniMax M2 OpenAI-compatible?
- Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "minimax/minimax-m2" using any OpenAI SDK — only the base URL and API key change.
- What inputs does MiniMax M2 support?
- MiniMax M2 accepts text input and produces text output.
More from MiniMax
All MiniMax models →MiniMax M3
MiniMax-M3 is a multimodal foundation model from MiniMax. It supports text, image, and video inputs with text output, a 1M-token context window, and is suited for long-horizon agentic work, coding,...
ctx 1.0Min $0.309out $1.24
MiniMax M2.7
MiniMax-M2.7 is a next-generation large language model designed for autonomous, real-world productivity and continuous improvement. Built to actively participate in its own evolution, M2.7 integrates advanced agentic capabilities through multi-agent...
ctx 205Kin $0.185out $0.742
MiniMax M2.5
MiniMax-M2.5 is a SOTA large language model designed for real-world productivity. Trained in a diverse range of complex real-world digital working environments, M2.5 builds upon the coding expertise of M2.1...
ctx 205Kin $0.124out $0.494
MiniMax M2-her
MiniMax M2-her is a dialogue-first large language model built for immersive roleplay, character-driven chat, and expressive multi-turn conversations. Designed to stay consistent in tone and personality, it supports rich message...
ctx 66Kin $0.309out $1.24