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. Your use is subject to MiniMax's Terms & Privacy Policies.
import { streamText } from 'ai'
const result = streamText({ model: 'minimax/minimax-m2', prompt: 'Why is the sky blue?'})Copy link to headingPlayground
Try out MiniMax M2 by MiniMax. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
MiniMax M2
Copy link to headingProviders
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
Copy link to headingThroughput24 hours
P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.
Copy link to headingLatency24 hours
P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.
Copy link to headingUptime24 hours
Direct request success rate on AI Gateway and per-provider. Visit the docs for more info.
Copy link to headingAbout 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.
Copy link to headingWhat To Consider When Choosing a Provider
- Configuration: Route MiniMax M2 through AI Gateway for observability, retries, and provider failover.
- Zero Data Retention: AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
Copy link to headingWhen to Use MiniMax M2
Best for
- Agentic pipelines: Workflows that require multi-step reasoning and tool orchestration
- Cost-sensitive workloads: Production traffic that benefits from efficient MoE inference
- Autonomous agent prototyping: Iteration before committing to a larger, costlier model
- Reliable AI gateway integration: Applications where built-in observability and retry logic add reliability
Consider alternatives when
- Top benchmark scores: Your task demands the highest coding or reasoning benchmark scores
- Multimodal inputs: M2 is text-only; pick a vision-capable model when image input is part of the pipeline
- Broader language coverage: Your workflow needs the expanded languages of later M2-series generations
Copy link to headingConclusion
MiniMax M2 works as an entry point for teams exploring agentic AI. It's efficient and straightforward to integrate through AI Gateway. You get multi-step reasoning without dense-model inference costs.