This model has been deprecated

This model is no longer accepting new requests. Please switch to an active alternative.

See active alternatives ↓

MiniMax: MiniMax M2

ChatDEPRECATED
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

Pricing

TypePrice
Input Tokens$0.3/M
Output Tokens$1.2/M
Cache Read$0.03/M
Cache Write$0.375/M

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

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 per million input tokens and $1.2 per million output tokens. Pay-as-you-go, no monthly fees.