Use MiniMax M2.5 on AI Gateway

Published: (February 12, 2026 at 08:00 AM EST)
1 min read

Source: Vercel Blog

Overview

MiniMax M2.5 is now available on AI Gateway.
M2.5 plans before it builds, breaking down functions, structure, and UI design before writing code. It handles full‑stack projects across Web, Android, iOS, Windows, and Mac, covering the entire development lifecycle from initial system design through code review. Compared to M2.1, it adapts better to unfamiliar codebases and uses fewer search rounds to solve problems.

Usage

To use this model, set the model to minimax/minimax-m2.5 in the AI SDK:

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 Features

AI Gateway provides a unified API for:

  • Calling models, tracking usage and cost
  • Configuring retries, failover, and performance optimizations for higher‑than‑provider uptime
  • Built‑in observability
  • Bring Your Own Key support
  • Intelligent provider routing with automatic retries

Resources

0 views
Back to Blog

Related posts

Read more »

shadcn & ai give me superpower....

While working on the frontend of my project, I used shadcn/ui, and it has been a great experience. The components are clean, stable, and highly customizable. Si...