MiniMax
MiniMax M2.1
M2.1 follows multi-step development instructions across programming languages, with particular strengths in web and Android projects.
minimax/minimax-m2.1- Input
- Chat messages
- Output
- Text
- Endpoint
POST /v1/chat/completions
Best for
- Implement a feature across a web app and its backend
- Port a screen design to an Android interface
Technical details
Read the model documentation- API model ID
minimax/minimax-m2.1- Provider
- MiniMax
- Modality
- Text
- Input
- Chat messages
- Output
- Text
- Endpoint
POST /v1/chat/completions
Request parameters
messagesobject[] · RequiredThe conversation, in OpenAI's format.
OpenAI chat messages (system, user, assistant, tool)
max_completion_tokensinteger · Optional · Default: the model'sThinking tokens count toward it: too small a cap ends with finish_reason: length and an empty answer.
1 up to the model's output limit
streamboolean · Optional · Default: falseServer-sent events, as in OpenAI's API.
- true
- false
temperaturenumber · Optional · Default: 1MiniMax documents it as having no effect on M3 (fixed at 1).
(0, 1]
toolsobject[] · OptionalFunction calling, in OpenAI's format.
OpenAI function tools
Additional parameters
max_tokensinteger · OptionalThe older name for the same cap; MiniMax marks it deprecated.
as above
reasoning_splitboolean · Optional · Default: the vendor'strue returns the reasoning in reasoning_content; false leaves it inside the answer between think tags.
- true
- false
stream_optionsobject · OptionalAdds a final chunk with token usage.
{"include_usage": true}
thinkingobject · Optional · Default: onThese models always reason before answering; reasoning cannot be turned off.
{"type": "adaptive"}
top_pnumber · Optional · Default: 0.95MiniMax documents it as having no effect on M3 (fixed at 0.95).
(0, 1]
Pricing
| Billable unit and options | Rate (USD) |
|---|---|
| Per 1M input tokens | $0.36 |
| Per 1M output tokens | $1.44 |
| Per 1M cached input tokens | $0.036 |
| Per 1M cache-write tokens | $0.45 |
Catalogue rates on 21 Nov 2026. Prices exclude VAT.
View in pricing catalogue