Skip to main content

MiniMax/MiniMax-M4

MiniMax M4 is MiniMax's natively multimodal flagship model, with 2.74 trillion total parameters, 66 billion active parameters per token, and a 1-million-token context window. It targets complex tasks such as coding, domain expertise, chip design, finance and business, 3D modeling, game and video design, and computer use.

Inference Service Provider

The inference service provider for MiniMax/MiniMax-M4 is MiniMax.

Model Capabilities

  • China (Beijing)
CapabilitySupportCapabilitySupport
Input ModalityText Image VideoOutput ModalityText
Function CallingSupportedStructured OutputsSupported
Web SearchUnsupportedPrefix CompletionUnsupported
Context CachingSupportedBatch InferenceUnsupported

Context Limits

ParameterValue
Context length1048576
Maximum input length1048576

Pricing

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit Model Studio Console for promotional offers.
  • China (Beijing)
Billing ItemPrice (CNY)Unit
Input5Per 1M tokens
Output20Per 1M tokens
Input (Implicit Cache)0.3Per 1M tokens

Rate Limits

  • China (Beijing)
ParameterValue
RPM (Requests Per Minute)500
TPM (Tokens Per Minute)20,000,000
The service may also enforce per-second limits based on RPS (RPM/60) and TPS (TPM/60). For more information, see Rate limits.

Usage limitations

  • Thinking is always on and cannot be disabled: Passing thinking: {"type": "disabled"} or reasoning_effort: "none" returns a 400 error. Use reasoning_effort to set low, medium, high, xhigh, or max. The default is max. Lowering the thinking depth reduces thinking latency and token usage.
  • Thinking content is returned separately: Thinking content is always returned in the reasoning_content field, and content contains only the answer. Setting reasoning_split to false is not supported.
  • n supports only 1: Each request generates a single reply. Passing a value greater than 1 returns a 400 error.
  • stop is not supported: Passing it does not truncate the output at the specified stop sequence. The request may still succeed and return finish_reason: "stop", but this does not mean that the specified stop sequence took effect.
  • parallel_tool_calls does not control whether tool calls are parallel: Setting it to false does not guarantee sequential tool calls, and the model may still return multiple tool_calls in one turn.
  • tool_choice has no effect: none, required, or a named function does not guarantee that the model calls tools as specified. Handle the actual returned result.

Invocation

Call the model using the OpenAI-compatible API. For instructions and parameter differences from MiniMax-M3.1-Flash, see MiniMax.