Back to Models
MiniMax M2.5
minimaxminimax/m2.5
API guide
Chat completion
Standard OpenAI-compatible chat completion. Supports tool calling, JSON mode, streaming, and stop sequences.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.5",
"messages": [
{"role": "system", "content": "You are an expert software engineer."},
{"role": "user", "content": "Write a Python function to merge two sorted lists."}
],
"temperature": 0.3,
"max_tokens": 2048
}'Streaming
M2.5 supports token-level streaming via standard SSE format for real-time output.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.5",
"messages": [{"role": "user", "content": "Explain Rust ownership in 3 sentences."}],
"stream": true
}'Tool / function calling
Strong tool-use capability (76.8% on BFCL). Supports parallel tool calling and multi-turn tool orchestration.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.5",
"messages": [
{"role": "user", "content": "What is the weather in Tokyo and London?"}
],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a city",
"parameters": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}
}],
"tool_choice": "auto"
}'JSON mode
Use response_format to guarantee structured JSON output. Supports both json_object and json_schema modes.
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/m2.5",
"messages": [{"role": "user", "content": "List 3 popular JS frameworks as JSON."}],
"response_format": {"type": "json_object"}
}'Fact ledger β every claim on this page traces here
| source | URL | retrieved | |
|---|---|---|---|
| Release date | www.minimax.io β | 2026-05-27 | verified |
| Architecture | www.minimax.io β | 2026-05-27 | verified |
| License | github.com β | 2026-05-27 | verified |
| RL framework | www.minimax.io β | 2026-05-27 | verified |
| Training environments | www.minimax.io β | 2026-05-27 | verified |
| Training languages | www.minimax.io β | 2026-05-27 | verified |
| SWE-bench Verified | www.minimax.io β | 2026-05-27 | verified |
| Multi-SWE-bench | www.minimax.io β | 2026-05-27 | verified |
| BrowseComp | www.minimax.io β | 2026-05-27 | verified |
| BFCL (Tool Calling) | www.minimax.io β | 2026-05-27 | verified |
| VIBE-Pro | www.minimax.io β | 2026-05-27 | to verify |
| SWE-bench Multilingual | www.minimax.io β | 2026-05-27 | verified |
| Wide Search | www.minimax.io β | 2026-05-27 | to verify |
| RISE | www.minimax.io β | 2026-05-27 | to verify |
| GDPval-MM | www.minimax.io β | 2026-05-27 | to verify |
| MiniMax releases M2.5 -- a frontier model matching Claude Opus 4.6 at 1/10th the cost | www.minimax.io β | 2026-05-27 | verified |
| What is the Forge RL framework? | www.minimax.io β | 2026-05-27 | to verify |
| Can I use MiniMax M2.5 commercially? | github.com β | 2026-05-27 | to verify |