MiniMax M2.1 Is Now Available in Puter.js
Puter.js now supports MiniMax M2.1, a lightweight, state-of-the-art large language model optimized for coding and agentic workflows.
What is MiniMax M2.1?
MiniMax M2.1 is a lightweight LLM with 10 billion activated parameters, optimized for coding and agentic workflows. It delivers fast, concise outputs and achieves leading multilingual coding performance on benchmarks like SWE-Bench.
Examples
Basic Chat
puter.ai.chat("Explain dependency injection in simple terms", {
model: "openrouter:minimax/minimax-m2.1"
})
Code Generation
puter.ai.chat("Write a TypeScript function that debounces API calls",
{ model: "openrouter:minimax/minimax-m2.1", stream: true }
)
Agentic Task
puter.ai.chat("Break down this task into steps: Build a REST API for a todo app",
{ model: "openrouter:minimax/minimax-m2.1" }
)
Get Started Now
Just add one script tag to your HTML:
<script src="https://js.puter.com/v2/"></script>
No API keys needed. Start building with MiniMax M2.1 immediately.
Learn more:
Free, Serverless AI and Cloud
Start creating powerful web applications with Puter.js in seconds!
Get Started Now