MiniMax M2 API parameters
These are the API parameters modelparams.dev tracks for MiniMax M2 on Chat Completions with an API key — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
This model is retired.
After the parameter count instead — how many weights MiniMax M2 has? That's a different number, and we don't track it. Here's the difference.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max completion tokens
max_completion_tokens
|
integer (1…+∞) | — | Maximum number of tokens to generate in the completion. | — |
Sampling
2 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
temperature
|
number (0.01…1 step 0.01) | 1 | Controls randomness. Lower values make outputs more focused; higher values make them more varied. Values must be greater than 0 and at most 1. | — |
|
Top P
top_p
|
number (0.01…1 step 0.01) | 0.95 | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
Reasoning
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Split reasoning
reasoning_split
|
boolean | false | Returns the model's reasoning in a separate reasoning_details field instead of inline with the response. | — |
MiniMax MiniMax M2 API parameters in brief
MiniMax MiniMax M2 on Chat Completions documents 4 API parameters, grouped by what they control:
-
Length:
max_completion_tokensminimum 1. -
Sampling:
temperaturedefaults to 1, range 0.01–1;top_pdefaults to 0.95, range 0.01–1. -
Reasoning:
reasoning_splitdefaults to false.
Frequently asked questions
- Which API parameters does MiniMax M2 support?
- MiniMax M2 accepts 4 API parameters in the request body: max_completion_tokens, temperature, top_p, reasoning_split.
- What is the default temperature for MiniMax M2?
- The default temperature for MiniMax M2 is 1, within a valid range of 0.01 to 1.
- What is the default top_p for MiniMax M2?
- The default top_p for MiniMax M2 is 0.95, within a valid range of 0.01 to 1.
Resources
Other MiniMax models
MiniMax M2
Subscription
3 params
View
MiniMax M2.1
4 params
View
MiniMax M2.1
Subscription
3 params
View
MiniMax M2.1 Highspeed
4 params
View
MiniMax M2.1 Highspeed
Subscription
3 params
View
MiniMax M2.5
4 params
View
MiniMax M2.5
Subscription
3 params
View
MiniMax M2.5 Highspeed
4 params
View
MiniMax M2.5 Highspeed
Subscription
3 params
View
MiniMax M2.7
4 params
View
MiniMax M2.7
Subscription
3 params
View
MiniMax M2.7 Highspeed
4 params
View
MiniMax M2.7 Highspeed
Subscription
3 params
View
MiniMax M3
4 params
View
MiniMax M3
Subscription
3 params
View