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).
Available Providers (15)
| Provider | Model ID | Input Cost | Output Cost | Context | Max Output | Docs |
|---|---|---|---|---|---|---|
| | MiniMax-M2 | $0.00/MTok | $0.00/MTok | 196.6K | 128K | |
| | MiniMax-M2 | $0.00/MTok | $0.00/MTok | 196.6K | 128K | |
| | MiniMax-M2 | $0.17/MTok | $1.53/MTok | 200K | 131.1K | |
| | MiniMaxAI/MiniMax-M2 | $0.25/MTok | $1.02/MTok | 262.1K | 32.8K | |
| | minimax/minimax-m2 | $0.27/MTok | $1.15/MTok | 262.1K | 262.1K | |
| | minimax/minimax-m2 | $0.28/MTok | $1.15/MTok | 196.6K | 118K | |
| | minimax/minimax-m2 | $0.30/MTok | $1.20/MTok | 204K | 64K | |
| | minimax/minimax-m2 | $0.30/MTok | $1.20/MTok | 204.8K | 131.1K | |
| | minimax.minimax-m2 | $0.30/MTok | $1.20/MTok | 204.6K | 128K | |
| | MiniMax-M2 | $0.30/MTok | $1.20/MTok | 196.6K | 128K | |
| | MiniMax-M2 | $0.30/MTok | $1.20/MTok | 196.6K | 128K | |
| | MiniMax-M2 | $0.33/MTok | $1.32/MTok | 1M | 128K | |
| | minimax-m2 | $0.39/MTok | $1.57/MTok | 400K | 400K | |
| | hf:MiniMaxAI/MiniMax-M2 | $0.55/MTok | $2.19/MTok | 196.6K | 131K | |
| | minimax-m2 | —/MTok | —/MTok | 204.8K | 128K |