20% off all GPT ๐ŸŽ‰ 30% off DeepSeekLearn more

MiniMax: MiniMax M2

Chat
minimax/minimax-m2

MiniMax M2 is MiniMax's compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters out of 230 billion total, it delivers near-frontier intelligence across general reasoning, tool use, and multi-step task execution while keeping latency and deployment cost low. It supports reasoning, function calling, prompt caching, and web search. Context: 200K tokens, output: 131K. Available via OpenAI and Anthropic protocols.

Context Window
205K
Max Output Tokens
131K
Released
2025-10-23
Capabilities
Function CallingReasoningPrompt CachingWeb Search
Available Providers
MiniMax
Supported Protocols
openaianthropic

Providers

MiniMaxprovider.type: "minimax"
Input Tokens
$0.3/M
Output Tokens
$1.2/M
Cache Read
$0.03/M
Cache Write
$0.375/M
Protocols
openai/v1/chat/completions/v1/responses
anthropic

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.run/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="minimax/minimax-m2",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Benchmarks

LMArena โ†—Evaluated as minimax-m2

MiniMax: MiniMax M2 scores 1346 in the Overall category of the LMArena text leaderboard (style control), ranking #189 of 374 models based on 6,863 human preference votes (updated 2026-07-12).

Benchmark scores for minimax-m2 on LMArena
CategoryArena Score95% CIRankVotes
Overall13461338โ€“1354#189 of 3746,863
Hard Prompts13681359โ€“1378#176 of 3743,692
Coding13841369โ€“1399#192 of 3691,545
Math13541321โ€“1387#173 of 362320
Creative Writing12871267โ€“1308#216 of 372897
Instruction Following13391326โ€“1352#179 of 3741,984
Chinese13871352โ€“1422#160 of 344279

Source: LMArena ยท CC BY 4.0 ยท Updated 2026-07-12 ยท Methodology โ†— ยท Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.

Frequently Asked Questions

MiniMax: MiniMax M2 on Ofox.ai costs $0.3/M per million input tokens and $1.2/M per million output tokens. Pay-as-you-go, no monthly fees.