MiniMax-M4Compare MiniMax-M4 API pricing, supported endpoints, capabilities and access options on anyumodel.
Compare prices and service performance for this model across suppliers.
| Supplier | Discount | Input/M | Output/M | Cache Read/M | ||||
|---|---|---|---|---|---|---|---|---|
Oofficial 官方接口直连 | -15% | $0.68 | $2.635 | $0.0425 | ||||
MiniMax MiniMax 官方 | -15% | $0.68 | $2.635 | $0.0425 |
Scroll horizontally to compare all prices and performance metrics.
ABAB tokenizerScores on standardized evaluations. Higher percentages are better — and rank percentile shows
Metrics sourced fromArtificial Analysis 2026-09-30·MiniMax M4
This model is not included in the current benchmark snapshot.
Missing models or measurements are not zero scores.
Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.
MiniMax-M4 拥有 2.74 万亿参数,每个 token 激活 660 亿参数。模型支持 100 万 token 的上下文,可接收文本、图片和视频并生成文本,也支持工具调用。单次输出上限为 262,144 个 token,包含推理 token。推理始终开启,默认强度为 max。
调用 MiniMax 官方 API 时,将 model 设为 MiniMax-M4。如需调整推理强度,可在 Anthropic Messages 中设置 output_config.effort,在 OpenAI Chat Completions 中设置 reasoning_effort,或在 OpenAI Responses 中设置 reasoning.effort。可选 low、medium、high、xhigh 和 max。
/v1/chat/completions| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| official | Unlimited | Unlimited | Unlimited |
| MiniMax | Unlimited | Unlimited | Unlimited |
No restriction
Compare MiniMax-M4 API pricing, supported endpoints, capabilities and access options on anyumodel.
Create an API key with access to MiniMax-M4, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.
The model catalog lists a maximum output of 262144 tokens. Your request settings may set a lower limit.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
