在 AI Gateway 上使用 MiniMax M2.5
发布: (2026年2月12日 GMT+8 21:00)
2 分钟阅读
原文: Vercel Blog
Source: Vercel Blog
概览
MiniMax M2.5 现已在 AI Gateway 上可用。
M2.5 在编写代码之前会先规划,拆解功能、结构和 UI 设计。它能够处理跨 Web、Android、iOS、Windows 和 Mac 的全栈项目,覆盖从最初的系统设计到代码审查的完整开发生命周期。相比 M2.1,它对不熟悉的代码库适应性更强,解决问题所需的搜索轮次更少。
使用方法
要使用此模型,请在 AI SDK 中将模型设置为 minimax/minimax-m2.5:
import { streamText } from 'ai';
const result = streamText({
model: 'minimax/minimax-m2.5',
prompt: `Design and implement a multi-tenant SaaS authentication system
with role-based access control, supporting OAuth providers
and API key management.`,
});
AI Gateway 功能
AI Gateway 提供统一的 API,用于:
资源
- 了解更多关于AI Gateway的信息
- 查看AI Gateway 模型排行榜
- 在我们的模型试玩区中尝试使用