minimax-m2 by openrouter - AI Model Details, Pricing, and Performance Metrics

minimax

minimax-m2

completions
byopenrouter

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

Released
Oct 26, 2025
Knowledge
Apr 29, 2025
Context
204800
Input
$0.27 / 1M tokens
Output
$1.06 / 1M tokens
Capabilities: tools, reasoning
Accepts: text
Returns: text

Access minimax-m2 through LangDB AI Gateway

Recommended

Integrate with minimax's minimax-m2 and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Category Scores

Benchmark Tests

View Other Benchmarks
AA Coding Index
47.6
Programming
AAII
61.4
General
AA Math Index
78.3
Mathematics
GPQA
77.7
STEM (Physics, Chemistry, Biology)
HLE
12.5
General Knowledge
LiveCodeBench
82.6
Programming
MMLU-Pro
82.0
General Knowledge
SciCode
36.1
Scientific

Code Examples

Integration samples and API usage