MiniMax M2

MiniMax chatreasoningtool_use Long

API ID: minimax/minimax-m2

Input Price
$0.26
/1M tokens
Output Price
$1.00
/1M tokens

About MiniMax M2

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, tool use, and multi-step task execution while maintaining low latency and deployment efficiency. The model excels in code generation, multi-file editing, compile-run-fix loops, and test-validated repair, showing strong results on SWE-Bench Verified, Multi-SWE-Bench, and Terminal-Bench. It also performs competitively in agentic evaluations such as BrowseComp and GAIA, effectively handling long-horizon planning, retrieval, and recovery from execution errors. Benchmarked by [Artificial Analysis](https://artificialanalysis.ai/models/minimax-m2), MiniMax-M2 ranks among the top open-source models for composite intelligence, spanning mathematics, science, and instruction-following. Its small activation footprint enables fast inference, high concurrency, and improved unit economics, making it well-suited for large-scale agents, developer assistants, and reasoning-driven applications that require responsiveness and cost efficiency. To avoid degrading this model's performance, MiniMax highly recommends preserving reasoning between turns. Learn more about using reasoning_details to pass back reasoning in our [docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#preserving-reasoning-blocks).

๐Ÿ’ฐ
Price Ranking
#862 lowest price among 1240 Chat models

Model Specifications

Context Length
205k
Max Output
131k
Release Date
2025-10-23
Capabilities
chat reasoning tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
  • Simple Q&A (cheaper models available)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.41
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$12.82
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$17.74
/month
500 analyses/day, ~2k tokens each

MiniMax Model Lineup

Compare all models from MiniMax to find the best fit

Model Input Output Context Capabilities
MiniMax M2 Current $0.26 $1.00 205k chat reasoning tool_use
MiniMax M3 (batch) $0.15 $0.60 524k chat reasoning tool_use
MiniMax-01 $0.20 $1.10 1.0M chat vision
MiniMax M2.7 $0.24 $0.96 205k chat reasoning tool_use
MiniMax M2.1 $0.27 $0.95 205k chat reasoning tool_use
MiniMax M2.5 $0.27 $0.95 205k chat reasoning tool_use

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Meta Llama 3 70B Instruct
Input: $0.51
Output: $0.74
Context: 8k
Mancer Weaver (alpha)
Input: $0.50
Output: $0.75
Context: 8k
DeepSeek DeepSeek V3.1
Input: $0.30
Output: $0.95
Context: 164k
Nex Agi Nex-N2-Pro
Input: $0.25
Output: $1.00
Context: 262k

๐Ÿš€ Quick Start

Get started with MiniMax M2 API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="minimax/minimax-m2",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)