Back to Models
MiniMax M2.1 Highspeed
minimaxminimax/m2.1-highspeed
API guide
Chat completion
Standard OpenAI-compatible chat completion via TheRouter β only baseURL and model change from the official OpenAI SDK.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.1-highspeed",
"messages": [
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Write a Rust function to parse a CSV line."}
],
"temperature": 0.3,
"max_tokens": 4096
}'Streaming
For real-time user-facing experiences, streaming benefits most from Highspeed's ~100 tps β the faster token delivery directly improves perceived responsiveness.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.1-highspeed",
"messages": [{"role": "user", "content": "Write a quick sort function in Python"}],
"stream": true
}'Tool use
M2.1 supports parallel tool calling through its MoE architecture. Highspeed's faster token generation particularly benefits multi-tool agent loops where each tool call followed by a model continuation is a latency-sensitive step.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.1-highspeed",
"messages": [
{"role": "user", "content": "What is the weather in Shanghai and Tokyo?"}
],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather by city",
"parameters": {
"type": "object",
"properties": {
"city": {"type": "string"}
}
}
}
}],
"tool_choice": "auto"
}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Availability | platform.minimax.io β Supported Models β | 2026-05-27 | verified |
| Output speed | platform.minimax.io β Model Overview β | 2026-05-27 | verified |
| Architecture | github.com/MiniMax-AI β M2.1 repository β | 2026-05-27 | verified |
| Context window | platform.minimax.io β | 2026-05-27 | verified |
| Prompt caching | platform.minimax.io β Model Overview β | 2026-05-27 | to verify |
| License | huggingface.co/MiniMaxAI β | 2026-05-27 | to verify |
| Supported inference backends | github.com/MiniMax-AI β | 2026-05-27 | verified |
| SWE-bench Verified | minimax.io β official announcement β | 2026-05-27 | verified |
| Multi-SWE-bench | minimax.io β official announcement β | 2026-05-27 | verified |
| SWE-bench Multilingual | minimax.io β official announcement β | 2026-05-27 | verified |
| VIBE (aggregate) | minimax.io β official announcement β | 2026-05-27 | verified |
| Toolathlon | minimax.io β official announcement β | 2026-05-27 | verified |
| BrowseComp | minimax.io β official announcement β | 2026-05-27 | verified |
| AIME 2025 | minimax.io β official announcement β | 2026-05-27 | verified |
| MMLU | minimax.io β official announcement β | 2026-05-27 | to verify |
| MiniMax releases M2.1 with coding focus and Highspeed variant | minimax.io β official announcement β | 2026-05-27 | verified |
| Does the Highspeed variant produce different output quality vs standard M2.1? | AIMLAPI β MiniMax HighSpeed guide β | 2026-05-27 | to verify |