Назад к моделям

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 Verifiedwww.minimax.io ↗2026-05-27проверено
Multi-SWE-benchwww.minimax.io ↗2026-05-27проверено
BrowseCompwww.minimax.io ↗2026-05-27проверено
BFCL (Tool Calling)www.minimax.io ↗2026-05-27проверено
VIBE-Prowww.minimax.io ↗2026-05-27к проверке
SWE-bench Multilingualwww.minimax.io ↗2026-05-27проверено
Wide Searchwww.minimax.io ↗2026-05-27к проверке
RISEwww.minimax.io ↗2026-05-27к проверке
GDPval-MMwww.minimax.io ↗2026-05-27к проверке
MiniMax выпускает M2.5 — frontier-модель, сравнимую с Claude Opus 4.6 по цене 1/10www.minimax.io ↗2026-05-27проверено
Что такое RL-фреймворк Forge?www.minimax.io ↗2026-05-27к проверке
Можно ли использовать MiniMax M2.5 коммерчески?github.com ↗2026-05-27к проверке
Помощь и контакты