AI Gateway
MiniMax-M2 redefines efficiency for agents. It is a compact, fast, and cost-effective MoE model (230 billion total parameters with 10 billion active parameters) built for elite performance in coding and agentic tasks, all while maintaining powerful general intelligence.
import { streamText } from 'ai'
const result = streamText({ model: 'minimax/minimax-m2', prompt: 'Why is the sky blue?'})Try out MiniMax M2 by MiniMax. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with