Practical overview
When it fits
Consider MiniMax-M2 when building or evaluating a coding or tool-using assistant and you need an open-source model. The repository links separately to hosted API access and a MiniMax Agent experience.
Who it is for
- Developers building coding assistants or code-repair workflows.
- Teams integrating a language model into systems that call tools.
- People evaluating open-source models for general language tasks.
Documented uses
- Power coding assistance, including multi-file edits and code repair.
- Support agent workflows that plan and use tools.
- Provide a model for general-purpose language tasks.
Requirements & limits
The repository identifies the model as open source and links to an MIT license, Hugging Face, ModelScope, MiniMax API documentation and MiniMax Agent.
- The model is a component for applications, not itself a coding IDE or agent interface.
- The README recommends temperature 1.0, top_p 0.95 and top_k 40 for inference.
- Applications should retain and pass back the model’s ... content in conversation history.
- The repository links to a separate tool-calling guide for tool-enabled implementations.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Preserve MiniMax-M2 thinking content in conversation history
Use MiniMax-M2 while retaining the assistant’s interleaved thinking content across turns.
Before you start
- A way to send MiniMax-M2 requests and pass conversation history between turns.
Steps
Use the recommended inference settings: temperature 1.0, top_p 0.95, and top_k 40.
When receiving an assistant response, retain any
...content in its original format.Pass that retained assistant content back in the historical messages on subsequent turns; do not strip the thinking section.
Expected outcome
Conversation history preserves the thinking content that the model’s documentation says should be retained for subsequent use.
Guide limitations
- Removing
...from the history may negatively affect model performance. - The guide does not specify a request format or provide an execution example for MiniMax-M2.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- MiniMax-AI/MiniMax-M2 · Official homepage title · retained in its source language

