Subscribe to Coding Plan to use MiniMax text models at ultra-low prices!
Model Overview
MiniMax offers multiple text models to meet different scenario requirements. MiniMax-M2.1 focuses on multilingual programming and office scenarios, while MiniMax-M2 is built for efficient coding and Agent workflows.Supported Models
| Model Name | Context Window | Description |
|---|---|---|
| MiniMax-M2.1 | 204,800 | Powerful Multi-Language Programming Capabilities with Comprehensively Enhanced Programming Experience (output speed approximately 60 tps) |
| MiniMax-M2.1-lightning | 204,800 | Faster and More Agile (output speed approximately 100 tps) |
| MiniMax-M2 | 204,800 | Agentic capabilities, Advanced reasoning |
MiniMax M2.1 Key Highlights
Exceptional Multi-Programming Language Capabilities
Exceptional Multi-Programming Language Capabilities
Many models in the past primarily focused on Python optimization, but real-world systems are often the result of multi-language collaboration. In M2.1, we have systematically enhanced capabilities in Rust, Java, Golang, C++, Kotlin, Objective-C, TypeScript, JavaScript, and other languages. The overall performance on multi-language tasks has reached industry-leading levels, covering the complete chain from low-level system development to application layer development.
WebDev and AppDev: A Comprehensive Leap in Capability and Aesthetics
WebDev and AppDev: A Comprehensive Leap in Capability and Aesthetics
Addressing the widely recognized weakness in mobile development across the industry, M2.1 significantly strengthens native Android and iOS development capabilities. Meanwhile, we have systematically enhanced the model’s design comprehension and aesthetic expression in Web and App scenarios, enabling excellent construction of complex interactions, 3D scientific scene simulations, and high-quality visualization.
Enhanced Composite Instruction Constraints, Enabling Office Scenarios
Enhanced Composite Instruction Constraints, Enabling Office Scenarios
As one of the first open-source model series to systematically introduce Interleaved Thinking, M2.1’s systematic problem-solving capabilities have been further upgraded. The model not only focuses on code execution correctness but also emphasizes integrated execution of “composite instruction constraints,” providing higher usability in real office scenarios.
More Concise and Efficient Responses
More Concise and Efficient Responses
Compared to M2, MiniMax-M2.1 delivers more concise model responses and thought chains. In practical programming and interaction experiences, response speed has significantly improved and token consumption has notably decreased, resulting in smoother and more efficient performance in AI Coding and Agent-driven continuous workflows.
Outstanding Agent/Tool Scaffolding Generalization Capabilities
Outstanding Agent/Tool Scaffolding Generalization Capabilities
M2.1 demonstrates excellent performance across various programming tools and Agent frameworks. It exhibits consistent and stable results in tools such as Claude Code, Droid (Factory AI), Cline, Kilo Code, Roo Code, and provides reliable support for Context Management mechanisms including Skill.md, Claude.md/agent.md/cursorrule, and Slash Commands.
For more model details, please refer to MiniMax M2.1
Calling Example
1
Install Anthropic SDK (Recommended)
2
Set Environment Variables
3
Call MiniMax-M2.1
Python
4
Example Output
API Reference
Anthropic API Compatible (Recommended)
Call MiniMax models via Anthropic SDK, supporting streaming output and Interleaved Thinking
OpenAI API Compatible
Call MiniMax models via OpenAI SDK
Text Generation
Call text generation API directly via HTTP requests
Using M2.1 in AI Coding Tools
Use M2.1 in Claude Code, Cursor, Cline and other tools
Contact Us
If you encounter any issues while using MiniMax models:- Contact our technical support team through official channels such as email [email protected]
- Submit an Issue on our Github repository