Назад к моделям
MiniMax M2.5
minimaxminimax/m2.5
Гид по API
Завершение чата
Стандартное завершение чата в OpenAI-совместимом формате. Поддерживает вызов инструментов, JSON-режим, стриминг и stop-последовательности.
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
}'Стриминг
M2.5 поддерживает потоковую передачу на уровне токенов в формате SSE.
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
}'Вызов инструментов / функций
Высокая способность вызова инструментов (76,8% на BFCL). Поддерживает параллельный вызов и многошаговую оркестрацию.
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-режим
Используйте response_format для гарантированного JSON-вывода. Поддерживаются режимы json_object и json_schema.
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"}
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата выпуска | www.minimax.io ↗ | 2026-05-27 | проверено |
| Архитектура | www.minimax.io ↗ | 2026-05-27 | проверено |
| Лицензия | github.com ↗ | 2026-05-27 | проверено |
| RL-фреймворк | www.minimax.io ↗ | 2026-05-27 | проверено |
| Среды обучения | www.minimax.io ↗ | 2026-05-27 | проверено |
| Языки обучения | www.minimax.io ↗ | 2026-05-27 | проверено |
| SWE-bench Verified | www.minimax.io ↗ | 2026-05-27 | проверено |
| Multi-SWE-bench | www.minimax.io ↗ | 2026-05-27 | проверено |
| BrowseComp | www.minimax.io ↗ | 2026-05-27 | проверено |
| BFCL (Tool Calling) | www.minimax.io ↗ | 2026-05-27 | проверено |
| VIBE-Pro | www.minimax.io ↗ | 2026-05-27 | к проверке |
| SWE-bench Multilingual | www.minimax.io ↗ | 2026-05-27 | проверено |
| Wide Search | www.minimax.io ↗ | 2026-05-27 | к проверке |
| RISE | www.minimax.io ↗ | 2026-05-27 | к проверке |
| GDPval-MM | www.minimax.io ↗ | 2026-05-27 | к проверке |
| MiniMax выпускает M2.5 — frontier-модель, сравнимую с Claude Opus 4.6 по цене 1/10 | www.minimax.io ↗ | 2026-05-27 | проверено |
| Что такое RL-фреймворк Forge? | www.minimax.io ↗ | 2026-05-27 | к проверке |
| Можно ли использовать MiniMax M2.5 коммерчески? | github.com ↗ | 2026-05-27 | к проверке |