minimax
MiniMax: MiniMax M1
MiniMax-M1 is a large-scale, open-weight reasoning model designed for extended context and high-efficiency inference. It leverages a hybrid Mixture-of-Experts (MoE) architecture paired with a custom "lightning attention" mechanism, allowing it...
Context
1M tokens
Input / 1M tokens
$0.40
Output / 1M tokens
$2.20
Benchmark
—
Pricing
Input tokens$0.40 per 1M tokens
Output tokens$2.20 per 1M tokens
Technical details
Model IDminimax/minimax-m1
Context window1M tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens40,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'minimax/minimax-m1',
messages: [{ role: 'user', content: 'Hello!' }],
})