Minimax

MiniMax M4

MiniMaxToken-based
Alias:MiniMax-M4
Create API Key

Compare MiniMax-M4 API pricing, supported endpoints, capabilities and access options on anyumodel.

reasoningvisionmultimodalfunction_callingstreamingcachingnew
Starting price
Input / Output · 1M
Context
1M
Maximum input window
Max output
262.1K
Maximum tokens per response
Modalities
→
Released
Dec 2026

Pricing by Supplier

Compare prices and service performance for this model across suppliers.

Suppliers2
USD · Per 1M tokensPerformance · Last 24 hours
SupplierDiscountInput/MOutput/MCache Read/M
official

官方接口直连

-15%
$0.68$0.8
$2.635$3.1
$0.0425$0.05
MiniMax

MiniMax 官方

-15%
$0.68$0.8
$2.635$3.1
$0.0425$0.05
Crossed-out amounts are standard prices.Performance over the last 24 hours; actual results vary by request.

Scroll horizontally to compare all prices and performance metrics.

Capabilities / Supported modalities

ReasoningVisionFunction callingStreamingPrompt caching
Input
Output

Provider & data privacy

Provider
MiniMaxDocs
Tokenizer
ABAB tokenizer
License
Proprietary (commercial)Proprietary
Data retention73 daysNot used for upstream training by default

Performance

Benchmarks

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

About MiniMax M4

MiniMax-M4 拥有 2.74 万亿参数,每个 token 激活 660 亿参数。模型支持 100 万 token 的上下文,可接收文本、图片和视频并生成文本,也支持工具调用。单次输出上限为 262,144 个 token,包含推理 token。推理始终开启,默认强度为 max。

Use cases and prompting

调用 MiniMax 官方 API 时,将 model 设为 MiniMax-M4。如需调整推理强度,可在 Anthropic Messages 中设置 output_config.effort,在 OpenAI Chat Completions 中设置 reasoning_effort,或在 OpenAI Responses 中设置 reasoning.effort。可选 low、medium、high、xhigh 和 max。

MiniMax 官方调用指南 · OpenAI Responses 接口文档

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum 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
integer0 ~ 20Number 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.

Authentication

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.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum 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
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
officialUnlimitedUnlimitedUnlimited
MiniMaxUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about MiniMax-M4

What is MiniMax-M4?

Compare MiniMax-M4 API pricing, supported endpoints, capabilities and access options on anyumodel.

How do I call MiniMax-M4?

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.

How is MiniMax-M4 priced?

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.

What is the context window of MiniMax-M4?

The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.

What is the maximum output of MiniMax-M4?

The model catalog lists a maximum output of 262144 tokens. Your request settings may set a lower limit.

How should I evaluate MiniMax-M4 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.