返回模型列表

MiniMax M2.1 Highspeed

minimaxminimax/m2.1-highspeed

API 使用指南

Chat 调用

通过 TheRouter 使用标准 OpenAI 兼容的 chat completion——只需修改 baseURL 和 model。

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
  }'

流式调用

面向实时用户体验的场景,流式调用最能受益于 Highspeed 的约 100 tps——更快的 token 传输直接提升响应感知。

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
  }'

工具调用

M2.1 通过 MoE 架构支持并行工具调用。Highspeed 的更快 token 生成在多工具 agent 循环中尤其受益——每个工具调用后的模型续写都是延迟敏感步骤。

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"
  }'
事实档案 — 本页每条断言可在此回溯来源
来源URL采集于
可用性platform.minimax.io — Supported Models ↗2026-05-27已核实
输出速度platform.minimax.io — Model Overview ↗2026-05-27已核实
架构github.com/MiniMax-AI — M2.1 repository ↗2026-05-27已核实
上下文窗口platform.minimax.io ↗2026-05-27已核实
Prompt 缓存platform.minimax.io — Model Overview ↗2026-05-27待核实
许可huggingface.co/MiniMaxAI ↗2026-05-27待核实
支持的推理后端github.com/MiniMax-AI ↗2026-05-27已核实
SWE-bench Verifiedminimax.io — official announcement ↗2026-05-27已核实
Multi-SWE-benchminimax.io — official announcement ↗2026-05-27已核实
SWE-bench Multilingualminimax.io — official announcement ↗2026-05-27已核实
VIBE (aggregate)minimax.io — official announcement ↗2026-05-27已核实
Toolathlonminimax.io — official announcement ↗2026-05-27已核实
BrowseCompminimax.io — official announcement ↗2026-05-27已核实
AIME 2025minimax.io — official announcement ↗2026-05-27已核实
MMLUminimax.io — official announcement ↗2026-05-27待核实
MiniMax 发布以编码为核心的 M2.1 及其 Highspeed 变体minimax.io — official announcement ↗2026-05-27已核实
Highspeed 变体的输出质量与标准 M2.1 不同吗?AIMLAPI — MiniMax HighSpeed guide ↗2026-05-27待核实
帮助与联系