AIFeed

MiniMax M4 现已上线 AI Gateway

AI summary

MiniMax M4 现已在 AI Gateway 上线,是 MiniMax 的新旗舰开放权重多模态推理模型,面向编程与 computer-use 智能体。相比早期 MiniMax 模型,M4 规模大得多,参数达 3T,并提升了长程编程能力。M4 还带来效率改进:每个 token 只激活总参数的一小部分,使这一规模的模型推理仍保持高效;新的图像编码将每张图像转为更少的视觉 token,降低含图像请求的输入 token 数;新的注意力设计在其 1M token 上下文窗口内降低每 token 的内存占用。推理始终开启,较低 effort 可降低延迟与推理 token。该模型支持工具调用,接受文本与图像输入,上下文窗口为 1M token。使用时模型名为 minimax/minimax-m4:要在 Claude Code、Codex、Cursor 等中使用,请安装最新 Vercel CLI 并运行 setup,然后在智能体中选择 minimax/minimax-m4。

Translation(model translation, not the source's own text)
题图
题图

MiniMax M4 现已在 AI Gateway 上线。它是 MiniMax 的新旗舰,一个面向编程和 computer-use agents 的开放权重多模态推理模型。

与早期的 MiniMax 模型相比,M4 是一个大得多的模型,拥有 3T 参数,并提升了长程编程能力。M4 还带来了效率改进。它为每个 token 只激活总参数中的一小部分,因此对于这一规模的模型而言,推理依然高效。新的图像编码将每张图像转换为更少的视觉 token,从而降低含图像请求的输入 token 数量;新的注意力设计在其 1M token 上下文窗口中,为每个 token 使用更少的内存。

推理始终开启。较低的 effort 可降低延迟和推理 token 数。该模型支持工具调用,接受文本和图像输入,并拥有 1M token 的上下文窗口。

使用 minimax/minimax-m4 作为模型名称:


        import { streamText } from 'ai';
const result = streamText({  model: 'minimax/minimax-m4',  prompt: 'Write a TypeScript function that debounces another function.',});
for await (const text of result.textStream) {  process.stdout.write(text);}
      

要在 Claude Code、Codex、Cursor 等工具中使用它,请安装最新的 Vercel CLI 并运行 setup:


        npx vercel ai-gateway setup
      

然后在 agent 中选择 minimax/minimax-m4。详情请参阅 coding agents 指南。

在 model playground 中试用 MiniMax M4。

随着更多提供商增加对该模型的支持,M4 在 Gateway 上的 Zero Data Retention 将会可用。

AI Gateway 提供统一的 API,用于调用模型、跟踪用量和成本,并配置重试、故障转移和性能优化,以实现高于提供商自身的正常运行时间。它内置自定义报告、Zero Data Retention 支持、API 密钥预算、路由规则等。

AI Gateway 反映提供商定价,不加价,并且不对推理收取平台费用,包括 Bring Your Own Key (BYOK) 请求。

你可以查看 AI Gateway 上所有可用的语言模型。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗