MODELS / MINIMAX

MiniMax M4

MiniMax M4 is MiniMax's 3T-parameter flagship model with a 1M-token context window, built for long-horizon coding across large codebases. It reasons on every request with adjustable reasoning effort, supports tool use, and accepts text and image input.

TEXTREASONINGIMPLICIT-CACHINGSTRUCTURED-OUTPUTTOOL-USEVISIONOPEN-WEIGHTS
1M
CONTEXT WINDOW
262.1K
MAX OUTPUT TOKENS
$0.8
INPUT PRICE / 1M TOKENS
$3.10
OUTPUT PRICE / 1M TOKENS
QUICKSTART
PROTOCOL:
OPENAI COMPATIBLE
STREAMING:
SUPPORTED

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/minimax/minimax-m4",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS
CONTEXT:
1M
PROVIDER:
MINIMAX
TYPE:
TEXT

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything MiniMax M4 supports, in one table.

MODEL ID
blackboxai/minimax/minimax-m4
DEVELOPED BY
MiniMax
MODEL TYPE
Text
RELEASED
Dec 3, 2026
CONTEXT WINDOW
1M
MAX OUTPUT TOKENS
262.1K
INPUT MODALITIES
text, image
OUTPUT MODALITIES
text
INPUT PRICE
$0.8 / 1M tokens
OUTPUT PRICE
$3.10 / 1M tokens
CACHE READ
$0.05 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Enterprise · single-tenant
SUPPORTED PARAMETERS
max_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoningresponse_formatstructured_outputs