← All models
MiniMax: MiniMax M4
minimax/minimax-m4MiniMax M4 is a flagship open-weight multimodal reasoning model from MiniMax, with 66B active / 2.74T total parameters. It is suited for demanding agentic workloads, including complex software engineering, long-horizon autonomous task execution, computer use, and professional knowledge work, and is particularly strong at delivering end-to-end artifacts such as financial models, presentations, interactive websites, 3D scenes, games, and videos.
It understands images and video natively. Reasoning is always on and cannot be disabled.
Modalities
Price in / out
Cache, read / write
Released
Dec 3, 2026
Parameters
messagesrequiredreasoning_effortlow · medium · high · xhigh · maxmax_tokensoptional · alias max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI format)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · providerrouting: order · only · ignore · sortstream_options{"include_usage": true}image_urlimage (data: URL)Fine-tuning · 2
temperature0–2top_p0–1How to use via API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="minimax/minimax-m4",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="low", # low · medium · high · xhigh · max
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="minimax/minimax-m4",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)

