minimax

MiniMax: MiniMax M2.1

MiniMax-M2.1 is a lightweight, state-of-the-art large language model optimized for coding, agentic workflows, and modern application development. With only 10 billion activated parameters, it delivers a major jump in real-world...

Context
205k tokens
Input / 1M tokens
$0.29
Output / 1M tokens
$0.95
Benchmark

Pricing

Input tokens$0.29 per 1M tokens
Output tokens$0.95 per 1M tokens
Cache read$0.03 per 1M tokens

Technical details

Model IDminimax/minimax-m2.1
Context window205k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens196,608

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-m2.1',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use MiniMax: MiniMax M2.1?

Get an API key and start making requests in minutes.

Get an API key