← Back
Vercel
Vercel AI Gateway adds MiniMax M2.5 model support for full-stack development
Vercel AI SDKVercel · featureapimodelintegration · vercel.com ↗

MiniMax M2.5 Now Available on AI Gateway

Vercel's AI Gateway now supports MiniMax M2.5, a model designed for comprehensive full-stack development workflows. The model excels at planning before implementation, breaking down functions, structure, and UI design before writing code.

Key Capabilities

M2.5 handles complete development projects across multiple platforms:

  • Web, Android, iOS, Windows, and Mac development
  • Full development lifecycle from system design through code review
  • Improved adaptation to unfamiliar codebases compared to M2.1
  • More efficient problem-solving with fewer search iterations

Integration with AI Gateway

Access the model using the Vercel AI SDK by setting the model parameter to minimax/minimax-m2.5:

import { streamText } from 'ai';

const result = streamText({
  model: 'minimax/minimax-m2.5',
  prompt: 'Your development task...'
});

Benefits

Using M2.5 through AI Gateway provides:

  • Unified API for calling models with consistent interfaces
  • Cost tracking and usage monitoring across deployments
  • Built-in observability for debugging and performance insights
  • Intelligent provider routing with automatic retries and failover
  • Bring Your Own Key support for flexibility in provider selection

Developers can explore the model's performance on the AI Gateway leaderboard or test it directly in the model playground before deploying.