---
title: "minimax-m2"
publisher: "minimaxai"
type: "endpoint"
updated: "2025-10-31T22:12:02.350Z"
description: "Open Mixture of Experts LLM (230B, 10B active) for reasoning, coding, and tool-use/agent workflows"
canonical: "https://build.nvidia.com/minimaxai/minimax-m2"
---

# MiniMax-M2 Overview

## Description
MiniMax-M2 is a compact, fast, and cost-effective Mixture-of-Experts (MoE) model with 230 billion total parameters and 10 billion active parameters, built for elite performance in coding and agentic tasks while maintaining powerful general intelligence. With just 10 billion activated parameters, MiniMax-M2 provides sophisticated end-to-end tool use performance expected from today's leading models, but in a streamlined form factor that makes deployment and scaling easier than ever. The model excels at multi-file edits, coding-run-fix loops, test-validated repairs, and complex long-horizon toolchains across shell, browser, retrieval, and code runners.

*This model is ready for commercial and non-commercial use*

## Third-Party Community Consideration:
This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party's requirements for this application and use case; see link to Non-NVIDIA [MiniMax-M2 Model Card](https://huggingface.co/MiniMaxAI/MiniMax-M2).

## License and Terms of Use:
**GOVERNING TERMS:** The trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). Additional Information: [MIT License](https://github.com/MiniMax-AI/MiniMax-M2/blob/main/LICENSE ).

## Deployment Geography:
**Deployment Geography:** Global

## Use Case:
**Use Case:** End-to-end developer workflows, multi-file code editing, coding-run-fix loops, test-validated repairs, agentic tool use, complex long-horizon toolchains, terminal and IDE operations, web browsing and retrieval tasks, research and commercial applications.

## Release Date:
**build.nvidia.com:** 10/31/2025 via [link](https://build.nvidia.com/minimaxai/minimax-m2) <br>
**Huggingface:** 10/27/2025 via [link](https://huggingface.co/MiniMaxAI/MiniMax-M2)

## Reference(s):
[MiniMax Official Website](https://agent.minimax.io/) <br> 
[MiniMax Open Platform](https://platform.minimax.io/docs/guides/text-generation) <br>
[MiniMax-M2 Technical Report](https://arxiv.org/abs/2504.07164)

## Model Architecture:
**Architecture Type:** Mixture-of-Experts (MoE) Transformer  <br>
**Network Architecture:** Transformer-based MoE with interleaved thinking capabilities  <br>
**Total Parameters:** 230B  <br>
**Active Parameters:** 10B  <br>
**Vocabulary Size:** Undisclosed

### Input:
**Input Types:** Text   <br>
**Input Parameters:** [One-Dimensional (1D)] <br>
**Other Input Properties:** Supports tool calling, function calling, and interleaved thinking with `<think>...</think>` tags  <br>
**Input Context Length (ISL):** 128,000 tokens

### Output:
**Output Type:** Text  <br>
**Output Parameters:** [One-Dimensional (1D)] <br>
**Other Output Properties:** Includes interleaved thinking content wrapped in `<think>...</think>` tags that must be preserved in conversation history for optimal performance  <br>
**Output Context Length (OSL):** Up to 128,000 tokens (shared with input)

__Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.__

## Software Integration:
**Runtime Engines:** PyTorch, transformers, vLLM, SGLang, MLX  
**Supported Hardware:**
- NVIDIA Ada Lovelace
- NVIDIA Ampere
- NVIDIA Blackwell
- NVIDIA Hopper

**Operating Systems:** Linux

## Model Version(s)
MiniMax-M2

## Training, Testing, and Evaluation Datasets:

### Training Dataset
**Training Data Collection:** Undisclosed <br>
**Training Labeling:** Undisclosed <br>
**Data Modality:** Text, Code <br>
**Text Training Data Size:** Undisclosed <br>
**Training Properties:** Trained with emphasis on coding, agentic workflows, and tool use capabilities

### Testing Dataset
**Testing Data Collection:** Human and Automated <br>
**Testing Labeling:** Human and Automated <br>
**Testing Properties:** Comprehensive evaluation across coding benchmarks (SWE-bench Verified, Multi-SWE-Bench, Terminal-Bench), agentic benchmarks (BrowseComp, GAIA, AgentCompany), and intelligence benchmarks (MMLU-Pro, GPQA-Diamond, LiveCodeBench) <br>

### Evaluation Dataset
**Evaluation Benchmark Scores:** <br>
- **SWE-bench Verified:** 69.4
- **Multi-SWE-Bench:** 36.2
- **Terminal-Bench:** 46.3
- **ArtifactsBench:** 66.8
- **BrowseComp:** 44.0
- **GAIA (text only):** 75.7
- **MMLU-Pro:** 82
- **GPQA-Diamond:** 78
- **LiveCodeBench:** 83
- **AA Intelligence Composite Score:** 61 (Rank #1 among open-source models globally per Artificial Analysis)

**Evaluation Data Collection:** Automated  <br>
**Evaluation Labeling:** Automated, Human  <br>
**Evaluation Properties:** Multi-domain evaluation including real-world end-to-end coding, terminal operations, web browsing, agentic tool use, mathematics, science, and instruction following

## Inference
**Acceleration Engine:** vLLM, SGLang, TensorRT-LLM, MLX <br>
**Test Hardware:** NVIDIA GPU clusters, Apple Silicon M3 Ultra+ <br>
**Recommended Parameters:** temperature=1.0, top_p=0.95, top_k=40

## Additional Information
MiniMax-M2 is an interleaved thinking model that uses `<think>...</think>` tags to wrap reasoning content. When using the model, historical conversation context must retain these thinking tags in their original format - do not remove them, as this will negatively impact performance. The model's efficient 10B activation design enables faster feedback cycles in compile-run-test and browse-retrieve-cite chains, more concurrent runs on the same budget, and simpler capacity planning with smaller per-request memory and steadier tail latency. <br>

MiniMax Agent, built on MiniMax-M2, is publicly available and free for a limited time at [agent.minimax.io](https://agent.minimax.io/). The MiniMax-M2 API is available on the MiniMax Open Platform and is free for a limited time.

## Ethical Considerations
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).

## Prototype

```python
from openai import OpenAI

client = OpenAI(
base_url = "https://integrate.api.nvidia.com/v1",
api_key = "$NVIDIA_API_KEY"
)

completion = client.chat.completions.create(
model="",
messages=[{"role":"user","content":""}],
temperature=,
top_p=,
max_tokens=,
stream=NaN
)

print(completion.choices[0].message.content)
```

```python
from langchain_nvidia_ai_endpoints import ChatNVIDIA

client = ChatNVIDIA(
model="",
api_key="$NVIDIA_API_KEY", 
temperature=,
top_p=,
max_tokens=,
)

response = client.invoke([{"role":"user","content":""}])
print(response.content)
```

```javascript
import OpenAI from 'openai';

const openai = new OpenAI({
apiKey: '$NVIDIA_API_KEY',
baseURL: 'https://integrate.api.nvidia.com/v1',
})

async function main() {
const completion = await openai.chat.completions.create({
model: "",
messages: [{"role":"user","content":""}],
temperature: ,
top_p: ,
max_tokens: ,
stream: 
})

process.stdout.write(completion.choices[0]?.message?.content);

}

main();
```

```bash
invoke_url='https://integrate.api.nvidia.com/v1/chat/completions'

authorization_header='Authorization: Bearer '
accept_header='Accept: application/json'
content_type_header='Content-Type: application/json'

data=$'{
"messages": [
{
"role": "user",
"content": ""
}
]
}'

response=$(curl --silent -i -w "\n%{http_code}" --request POST \
--url "$invoke_url" \
--header "$authorization_header" \
--header "$accept_header" \
--header "$content_type_header" \
--data "$data"
)

echo "$response"
```