Home/Models/MiniMax/MiniMax-M2.7
M

MiniMax-M2.7

輸入:$0.24/M
輸出:$0.96/M
MiniMax-M2.7 具备与标准版同等的顶级智能能力(包括递归式自我演化与专家级办公生产力),但专为需要亚秒级延迟和高速 token 生成的应用而设计。凭借增强的推理主干架构,其输出速度比标准模型快 66%(可达 100 tps)。它是交互式编程助手、实时 Agent 循环执行,以及对完成时间要求严苛的高吞吐企业流水线的首选。
新
商用
Playground
概览
功能亮点
定价
API

MiniMax-M2.7 API 技术规格

项目详情
模型名称MiniMax-M2.7
模型 IDminimax-m2.7
提供方MiniMax
模型家族MiniMax 文本模型
输入类型文本
输出类型文本
上下文窗口204,800 tokens
官方速度说明~60 tps(MiniMax-M2.7);~100 tps(MiniMax-M2.7-highspeed)
主要优势编程、工具调用、搜索、办公效率、智能体工作流
可用性MiniMax API / 文本生成端点
已审阅页面上的公开多模态规范未在已审阅的文本模型页面上发布

什么是 MiniMax-M2.7?

MiniMax-M2.7 是 MiniMax 当前用于高要求编码、智能体与生产力工作流的旗舰文本模型。官方文档将其定位为面向多语言编程、工具调用、搜索与复杂任务执行的模型,而 MiniMax 模型页强调了其在真实软件工程、办公编辑与复杂环境交互方面的提升。

MiniMax-M2.7 的主要特性

  • 在端到端交付、日志分析、缺陷排查、代码安全与机器学习任务上具备强劲的软件工程性能。
  • 204,800-token 的大型上下文窗口,支持长提示、多文件协作与长时智能体会话。
  • 强大的办公工作流支持,包括对 Excel、PowerPoint 与 Word 的复杂编辑。
  • 面向智能体 API 工作流的工具调用与搜索导向行为。
  • 专用高速变体 MiniMax-M2.7-highspeed,用于更低延迟的交互。
  • 在 Claude Code、OpenCode、Kilo Code、Cline、Roo Code、Grok CLI 和 Codex CLI 等流行编码工具中具备广泛的集成支持。

MiniMax-M2.7 的基准测试表现

官方 MiniMax 材料发布了 M2.7 的以下基准测试结果:

基准测试报告结果含义
SWE-Pro56.22%强劲的真实世界软件工程表现
VIBE-Pro55.6%具备完整项目交付能力
Terminal Bench 257.0%对复杂工程系统具有较强理解能力
GDPval-AAELO 1495出色的办公任务表现与高保真编辑
复杂技能(>2,000 tokens)97% 技能遵循率在长且结构化的工作流中具备良好的可靠性

MiniMax-M2.7 与相近 MiniMax 模型的对比

模型定位上下文窗口速度说明最佳适用场景
MiniMax-M2.7当前旗舰文本模型204,800~60 tps最高端的编码、工具使用、搜索与办公任务
MiniMax-M2.7-highspeedM2.7 的更高速变体204,800~100 tps当更看重低延迟且保持相同能力画像时
MiniMax-M2.5上一代高端文本模型204,800~60 tps当不需要 M2.7 时依然具备强劲的编码/生产力表现
MiniMax-M2高效编码与智能体工作流204,800官方文档列出了该模型,但定位不同于 M2.7注重成本的智能体编码与通用工作流自动化

MiniMax-M2.7 API 的最佳用例

  1. 大型代码库重构与多文件实现工作。
  2. 需要规划、搜索与工具使用的智能体式调试循环。
  3. 在 Word、Excel 与 PowerPoint 中的文档生成与修订工作流。
  4. 需要在日志与构建输出间进行推理的终端密集型自动化。
  5. 借助长上下文与多步推理的搜索辅助任务。

推荐的选型说明

如果在 MiniMax 模型间进行选择,当你需要在工程、工具使用、搜索与办公编辑方面获得最强的公开文本模型定位时,请使用 M2.7。当需要相同模型行为但更看重更快输出时,使用 MiniMax-M2.7-highspeed。当你希望选择同族中在性能或工作流权衡上不同的成员时,使用 M2.5 或 M2。

如何访问 MiniMax-2.7 API

步骤 1:注册获取 API Key

登录 cometapi.com。如果你还不是我们的用户,请先注册。登录你的 CometAPI console。获取接口的访问凭证 API key。在个人中心的 API token 处点击“Add Token”,获取令牌密钥:sk-xxxxx 并提交。

cometapi-key

步骤 2:向 MiniMax-2.7 API 发送请求

选择 “minimax-2.7” 端点发送 API 请求并设置请求体。请求方法与请求体可从我们的网站 API 文档获取。我们的网站也提供 Apifox 测试以供你使用。将 <YOUR_API_KEY> 替换为你账号中的实际 CometAPI 密钥。基础 URL 为 Chat Completions a。

将你的问题或请求插入 content 字段—模型将对此字段做出响应。处理 API 响应以获取生成的答案。

步骤 3:检索并验证结果

处理 API 响应以获取生成的答案。处理完成后,API 将返回任务状态与输出数据。

常见问题

Can MiniMax-M2.7 handle long coding sessions in the MiniMax API?

Yes. The official text-generation docs list MiniMax-M2.7 with a 204,800-token context window, which makes it suitable for long prompts, multi-file coding work, and extended agent sessions.

Is MiniMax-M2.7 good for real-world software engineering tasks?

Yes. MiniMax says M2.7 performs strongly on end-to-end project delivery, log analysis, bug troubleshooting, code security, and machine learning tasks, and it reports 56.22% on SWE-Pro.

When should I use MiniMax-M2.7 instead of MiniMax-M2.5?

Use MiniMax-M2.7 when you want the newer flagship text model in MiniMax’s lineup for programming, tool calling, search, and office productivity. MiniMax-M2.5 is the prior high-end model, while M2.7 is the one the docs highlight for the strongest overall text-model positioning.

What is the MiniMax-M2.7-highspeed variant for?

MiniMax-M2.7-highspeed keeps the same 204,800-token context window and model positioning, but MiniMax documents it as faster and more agile, with output speed of about 100 tps instead of about 60 tps.

Can MiniMax-M2.7 edit documents and spreadsheets well?

Yes. MiniMax’s official materials say M2.7 improved complex editing across Excel, PowerPoint, and Word, especially multi-round revisions and high-fidelity edits, and it reports a GDPval-AA ELO of 1495.

How do I integrate MiniMax-M2.7 with coding tools like Claude Code or Cline?

M2.7 configured through the MiniMax API provider, with region-specific endpoints and the model name MiniMax-M2.7. The same guide includes setup paths for Claude Code, OpenCode, Kilo Code, Cline, Roo Code, Grok CLI, and Codex CLI.

Does MiniMax-M2.7 work well for agent workflows?

Yes. MiniMax positions M2.7 for programming, tool calling, search, and complex task scenarios, and the coding-tool guide specifically frames it for agent-style developer workflows and terminal-integrated tools.

MiniMax-M2.7 的功能

了解 MiniMax-M2.7 的核心能力,帮助提升性能与可用性,并改善整体体验。

MiniMax-M2.7 的定价

查看 MiniMax-M2.7 的竞争性定价,满足不同预算与使用需求,灵活方案确保随需求扩展。
Comet 价格 (USD / M Tokens)官方定价 (USD / M Tokens)折扣
輸入:$0.24/M
輸出:$0.96/M
輸入:$0.3/M
輸出:$1.2/M
-20%

MiniMax-M2.7 的示例代码与 API

获取完整示例代码与 API 资源,简化 MiniMax-M2.7 的集成流程,我们提供逐步指导,助你发挥模型潜能。
Python
JavaScript
Curl
from openai import OpenAI
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/v1"

client = OpenAI(base_url=BASE_URL, api_key=COMETAPI_KEY)

completion = client.chat.completions.create(
    model="minimax-m2.7",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)

print(completion.choices[0].message.content)

更多模型