MiniMax M2
MiniMax M2 is an open-weight MoE model from MiniMax with 230B total parameters and 10B active per forward pass, built for coding and agentic tasks. It supports a context window of 205K tokens and a max output of 205K tokens per request.
import { streamText } from 'ai'
const result = streamText({ model: 'minimax/minimax-m2', prompt: 'Why is the sky blue?'})About MiniMax M2
MiniMax M2 is MiniMax's first openly available model designed for agentic use cases. Released on October 27, 2025, it uses a mixture-of-experts architecture with 230B total parameters and 10B active per forward pass. It supports a context window of 205K tokens and a max output of 205K tokens.
Through AI Gateway, you get intelligent provider routing, configurable failover, and built-in observability without a separate MiniMax account. Swap models or add fallback providers with a single configuration change.