MiniMax M2
Released by MiniMax in 2025, MiniMax M2 is an chat model. MiniMax-M2 is a compact, high-efficiency large language model optimized for end-to-end coding and agentic workflows. With 10 billion activated parameters (230 billion total), it delivers near-frontier intelligence across general reasoning,...
by MiniMax · 197K token context window
Best for
- low-latency chat and routing
- request routing and triage
- text classification
Ways to use MiniMax M2 in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your MiniMax API key. osFoundry discovers MiniMax M2 automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
Run MiniMax M2 yourself
MiniMax M2 is also available as open weights — self-host it for full data control and no per-token cost. See that page for GPU requirements and a cost comparison against API pricing.
MiniMax M2 vs similar models
Licence
Hosted — usage subject to provider terms — Hosted-only model — usage governed by the provider's API terms. Bring your own provider key.
No weights distributed; usage subject to provider terms.
Frequently asked about MiniMax M2
How much does MiniMax M2 cost?
MiniMax M2 is metered at $ 0.255 /1M for input, and $ 1.00 /1M for output. Bring your own MiniMax API key — osFoundry passes through provider pricing without markup.
Can I use MiniMax M2 commercially?
Commercial use is allowed with conditions. Hosted-only model — usage governed by the provider's API terms. Bring your own provider key. No weights distributed; usage subject to provider terms.
What is the context window of MiniMax M2?
MiniMax M2 supports a 197K token context window.
Can I run MiniMax M2 locally?
No — MiniMax M2 is hosted only and accessed via the MiniMax API. An open-weights equivalent is available to self-host — see the cross-link above.
What is MiniMax M2 best at?
MiniMax M2 is well-suited to low-latency chat and routing, request routing and triage, text classification.
How do I use MiniMax M2 in osFoundry?
Paste your MiniMax API key in the key dialog (or deploy the open weights for self-hostable models), assign MiniMax M2 to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by MiniMax on October 23, 2025. Source: https://openrouter.ai/minimax/minimax-m2