minimax logo
minimax

MiniMax: MiniMax M2

Source description (English)

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,...

Overview

Model specifications

Context
204,800 tokens
Maximum output
131,072 tokens
Architecture
text->text
Tokenizer
Other
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.255
per 1M tokens
Output
$1.02
per 1M tokens
API

Model configuration

Default parameters

temperature
1
top_p
0.95

Reasoning

Reasoning required
Yes
Default parameters
No
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"minimax/minimax-m2","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
text
Output
text
Reasoning

No

API

Supported API parameters

frequency_penaltyinclude_reasoninglogprobsmax_tokenspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

3 providers

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Minimax

fp8
Context
205K
Maximum output
131K
Input
$0.255
Output
$1.02
Cache read
Not provided
Cache write
Not provided

Google

Not provided
Context
197K
Maximum output
177K
Input
$0.3
Output
$1.2
Cache read
Not provided
Cache write
Not provided

Novita

fp8
Context
205K
Maximum output
131K
Input
$0.3
Output
$1.2
Cache read
$0.03
Cache write
Not provided
minimax

4 models

All models