Skip to content
OpenKey

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,...

Try in playground
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 tokensProvider+ 3% feeYou pay
Input$0.255$0.0076$0.263
Output$1.02$0.031$1.05

Benchmarks

Design Arena

CategoryEloWin rateRank
3Dmodels117448.3%#52
Codemodels118448.1%#59
Data vizmodels118450%#54
Game devmodels118348.1%#55
SVGmodels115855.3%#40
UI componentsmodels119249.2%#52
Websitesmodels118548%#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.

Code sample language
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 →