MiniMax M2.1

minimax/minimax-m2.1

MiniMax 2.1 is MiniMax's latest model, optimized specifically for robustness in coding, tool use, instruction following, and long-horizon planning.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'minimax/minimax-m2.1',
prompt: 'Why is the sky blue?'
})