minimax/minimax-m2
Model Card
MiniMax-M2 is a compact MoE model (230B total, 10B active parameters) optimized for coding and agentic workflows with a 128K context window. It ranks #1 among open-source models for tool use and agent tasks, delivering elite performance in multi-step development workflows at 8% the cost of comparable models.
Context Window
N/A
tokens
Max Output
65,536
tokens
Input Cost
$0.2
per million tokens
Output Cost
$1
per million tokens
API Usage Example
Add MiniMax: MiniMax M2 to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "minimax/minimax-m2"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add MiniMax: MiniMax M2 to your app without worrying about API keys or setup.
Read the Docs View Tutorials