GPT-5.6 is here 🎉 20% off all GPT 🎉 All July 🔥Learn more
Minimax

MiniMax: MiniMax M2

Chat
minimax/minimax-m2
CompareGet Started

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. Pricing is $0.30/M input and $1.20/M output tokens, with cached input reads at $0.03/M. Available via OpenAI and Anthropic protocols.

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

Providers

MinimaxMiniMax
Input Tokens
$0.3/M
Output Tokens
$1.2/M
Cache Read
$0.03/M
Cache Write
$0.375/M
Protocols
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/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

LMArenaEvaluated 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
Overall134613381354#189 of 3746,863
Hard Prompts136813591378#176 of 3743,692
Coding138413691399#192 of 3691,545
Math135413211387#173 of 362320
Creative Writing128712671308#216 of 372897
Instruction Following133913261352#179 of 3741,984
Chinese138713521422#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.