# MiniMax M2\.1 now live on Vercel AI Gateway

**Published:** December 22, 2025 | **Authors:** Walter Korman, Rohan Taneja, Jerilyn Zheng

---

You can now access MiniMax's latest model, M2.1, with Vercel's [AI Gateway](https://vercel.com/ai-gateway) and no other provider accounts required.

MiniMax M2.1 is faster than its predecessor M2, with clear improvements specifically in coding use cases and complicated multi-step tasks with tool calls. M2.1 writes higher quality code, is better at following instructions for difficult tasks, and has a cleaner reasoning process. The model has breadth in addition to depth, with improved performance across multiple coding languages (Go, C++, JS, C#, TS, etc.) and refactoring, feature adds, bug fixes, and code review.

To start building with MiniMax M2.1 via [AI SDK](https://ai-sdk.dev/), set the model to `minimax/minimax-m2.1`:

```tsx
import { streamText } from 'ai';
const result = streamText({
  model: 'minimax/minimax-m2.1',
  prompt:
    `Initialize a React + TypeScript project of a sunrise.
     Generate assets with an image tool, compute sun position
     with a time tool, animate it, run tests, and produce a build.`
});
```

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in [observability](https://vercel.com/docs/ai-gateway/observability), [Bring Your Own Key support](https://vercel.com/docs/ai-gateway/byok), and intelligent [provider routing](https://vercel.com/docs/ai-gateway/provider-options) with automatic retries.

Learn more about [AI Gateway](https://vercel.com/docs/ai-gateway), view the [AI Gateway model leaderboard](https://vercel.com/ai-gateway/leaderboards) or try it in our [model playground](https://vercel.com/ai-gateway/models/minimax-m2.1).

**AI Gateway: Track top AI models by usage**
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
[View the leaderboard](https://vercel.com/ai-gateway/leaderboards)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)