GPT Image 2.5 is live — OpenAI's newest image model, targeted edits that leave the rest of the frame alone

MiniMax M4 — 2.74T Multimodal MoE With 1M Context

MiniMax M4 pairs 2.74 trillion total parameters (66B active) with native image and video inputs, always-on adaptive thinking, and a flat 1-million-token window.

Highlights
2.74T MoE (66B active) · 1M context · adaptive thinking
Best for
Long-horizon coding, agents, and video analysis
Input
Text, images (URL), and video (URL)
Output
Text, reasoning trace, and tool calls

Pricing

Credit-based — 1 credit = $0.001 USD. Pay only for completed generations.

Pricing by group · MiniMax-M4

Pricing by group
minimax
MiniMax-M4
Default0.7×
minimax-official
MiniMax-M4:minimax-official
0.9×
Input$0.56$0.72
Output$2.17$2.79
Cache read$0.035$0.045
Cache write$0.56$0.72

USD per 1M tokens. Tool charges may apply.

What is MiniMax M4?

MiniMax M4 is MiniMax's flagship multimodal language model released on December 3, 2026 (not Apple's Mac mini M4 chip). Under the hood, it is a Mixture-of-Experts architecture with 2.74 trillion total parameters, 66 billion active per token, 68 attention layers using MiniMax Sparse Attention 2 (MSA2), and MFlashKV caching. Context runs to 1,000,000 tokens and output caps at a verified 262,144 tokens, built for long coding loops, multi-step tool agents, financial analysis, and direct image or video inspection.

What you can build with this model

Real-world workflows and production use cases you can build and ship with this model.

Workflow poster showing long-horizon coding, planning, and verification

Long-horizon engineering across large repos

Drop full module trees, failing CI logs, and migration specs into the 1-million-token window without slicing context into tiny fragments. Trained with reinforcement learning across 28 specialized domains, MiniMax M4 posts 33.0 on FrontierCode-AA 2.0 and 1725 on Code Arena in MiniMax's launch evaluation. Keep reasoning_effort on low or medium for quick edits, then bump to xhigh or max when chasing gnarly concurrency bugs.

See the request format
Workflow poster showing multimodal reasoning across images and video frames

Direct reasoning over images and video clips

Pass public HTTP or HTTPS image_url and video_url parts straight into a standard Chat Completions turn alongside your prompt. A single request accepts up to 200 images or 20 videos up to 30 minutes long, with tunable video sampling (0.2 to 5 fps) and detail levels for bug screen recordings, UI reviews, or frame-by-frame QA. Both image and video URLs passed live probes on reAPI; audio-only files are not supported.

Workflow poster showing chained tool calls passing through adaptive thinking

Multi-step tool loops with clean reasoning state

Adaptive thinking runs on every turn and splits its scratchpad into reasoning_content, keeping the visible reply and tool arguments clean. Echo the complete assistant message plus each tool result back on the next turn so the model keeps its thread and hits automatic prefix caching on repeated context. Your backend still executes every tool and verifies the final patch.

Why reAPI for MiniMax M4

Dial down overthinking on simple routes

MiniMax M4 keeps adaptive thinking always on and defaults to max effort, which burns extra tokens and adds latency if you forget to override it. Setting reasoning_effort to low or medium per route keeps routine extraction snappy while saving deep thinking for hard tasks.

One flat input rate across the full 1M window

There is no mid-context price cliff at 200K or 512K tokens. Uncached input stays flat up to 1,000,000 tokens, and repeated system prompts or repo snapshots drop onto the separate cache-read tier shown in the live pricing table above.

Exact official schema in the playground

Every control above maps 1:1 to the 10 active parameters in MiniMax's OpenAI-compatible schema and catches hard mistakes before you spend tokens—such as requesting over 262,144 output tokens or sending base64 media. Copy the working payload directly into Python, Node.js, Go, or cURL.

Up and running in three steps

  1. step 01

    Create a server-side API key

    Sign in to reAPI and generate a key in account settings. New accounts start with 100 starter credits for quick tests; ongoing calls bill pay-as-you-go with no subscription.

    Open
  2. step 02

    Send a verifiable prompt to MiniMax-M4

    Use the exact case-sensitive model ID MiniMax-M4, pass your messages or public media URLs, and set reasoning_effort explicitly (start at low or medium before testing xhigh).

    Open
  3. step 03

    Echo full turns back in agent loops

    Read reasoning_content separately from message.content and log total usage. Keep the unmodified assistant message when appending tool results so multi-turn caching and reasoning stay intact.

    Open

Capabilities

1,000,000-token context window

Holds full codebases, long transcripts, filings, and multimodal attachments in a single conversation backed by MSA2 sparse attention.

Verified 262,144-token output cap

Recommended ceiling is 131,072 tokens, with a live-verified hard cap at 262,144 output tokens enforced by both max_completion_tokens and max_tokens.

Five adaptive thinking tiers

Thinking is always enabled across low, medium, high, xhigh, and max effort. Attempts to pass none or disabled are rejected upstream.

Live-verified image and video URLs

Accepts public HTTP(S) image_url and video_url inputs with detail and fps controls. Both modalities passed live gateway probes on December 4, 2026.

Interleaved function calling

Emits structured tool_calls alongside reasoning_content. Your own code runs the tools and passes results back for the next step.

Automatic MFlashKV prefix caching

Keep static instructions and repo files at the start of messages. Live two-turn tool probes automatically hit cache and reported cached_tokens.

MiniMax M4 vs Kimi K3.1 Pro

Both models target long-context coding and multi-step agent loops on reAPI. Compare their verified contracts side by side before running your own acceptance benchmark.

Decision point
MiniMax M4
Kimi K3.1 Pro
Architecture & context
2.74T total / 66B active MoE; 1,000,000-token context; MSA2 + MFlashKV
1,048,576-token shared context; further-trained Kimi K3 line
Adaptive thinking tiers
Always on; 5 levels (low, medium, high, xhigh, max); default max
Always on; 3 levels (low, high, max); default max
Verified output cap
262,144 hard ceiling (131,072 recommended); both cap fields enforced
131,072 default; max_tokens enforced, max_completion_tokens exceeded cap in probe
Multimodal inputs (verified)
Public image_url and video_url both live-verified; no audio
Public image_url verified; video_url returned unsupported in probe
Published coding & agent scores
FrontierCode-AA 2.0: 33.0 · Code Arena: 1725 · Agent Arena: 1194
FrontierCode-AA 2.0: 25.5 · Code Arena: 1682 · Agent Arena: 1146
Open-weight availability
Announced open-weight; API-first while safety checks finish (Dec 4, 2026)
Open-weight release track; verify current checkpoint license before self-hosting

Benchmark scores come from MiniMax's December 2026 launch chart (github.com/MiniMax-AI/MiniMax-M4); third-party suites may differ. Capability checks reflect live reAPI probes on December 4, 2026 (MiniMax M4) and October 24, 2026 (Kimi K3.1 Pro).

Frequently asked questions

Common questions about this model.

It is a paid model on reAPI, metered per token across input, output (including reasoning tokens), cache reads, and cache writes. New accounts get 100 starter credits for initial smoke tests—an onboarding credit, not an ongoing free tier. Check the live pricing table above before sizing a production workload.

No. Requests on reAPI run strictly pay-as-you-go against your account balance. MiniMax's consumer M Plan and MiniMax Code subscriptions are separate products and do not work with reAPI keys.

Sign in to reAPI and create a key at /settings/apikeys. Point any OpenAI-compatible client at POST https://api.reapi.ai/v1/chat/completions with the exact case-sensitive model ID MiniMax-M4. Full cURL, Python, Node.js, and Go snippets are in /docs/minimax-m4.

Not yet. MiniMax announced M4 as an open-weight release, but as of December 4, 2026 it is API-first while internal and third-party safety evaluations finish. MiniMax's blog and GitHub repo say weights should follow within the next few weeks.

No. Adaptive thinking is mandatory on every request. Our December 4 live probes confirmed that reasoning_effort set to none, thinking set to disabled, and reasoning_split set to false all fail upstream with base_resp status code 2013. Use low or medium effort on lightweight routes instead.

Because omitting reasoning_effort falls back to max. At low, medium, or high, adaptive thinking can skip deliberation on trivial prompts, whereas max pushes longer reasoning chains that bill as output tokens. Pass an explicit effort level per route.

Text, images, and video yes; audio no. You can send up to 200 images (JPEG, PNG, GIF, WebP up to 10 MB each) and up to 20 videos (MP4, AVI, MOV, MKV up to 50 MB via URL and 30 minutes) per request. Both public image_url and video_url passed live probes on reAPI; base64 data URIs are rejected.

Context is 1,000,000 tokens. Recommended output is 131,072 tokens, and the live-verified hard ceiling is 262,144 tokens—anything above 262,144 returns a 2013 parameter error. Both max_completion_tokens and max_tokens strictly capped generation in our tests.

M4 jumps to 2.74 trillion total parameters (66B active), introduces MSA2 sparse attention and MFlashKV caching, adds native video input alongside images, expands to five adaptive thinking tiers, and flattens input pricing across the entire 1M window instead of splitting at 512K.

Both are 1M-context reasoning models live on reAPI. On MiniMax's December 2026 benchmark chart, M4 outscores Kimi K3.1 Pro on FrontierCode-AA 2.0 (33.0 vs 25.5), Code Arena (1725 vs 1682), Agent Arena (1194 vs 1146), and Finance Agent v2.1 (66.7 vs 61.5), and adds live-verified video URL support. Still, run both against your own test suite before switching defaults.

MiniMax locks internal sampling on M4 and leaves temperature, top_p, seed, penalties, and stop out of its active schema. In our December 4 probes, temperature and top_p returned HTTP 200 without error, stop was silently ignored in output, and n > 1 was rejected. The playground only exposes the 10 active official controls plus raw JSON passthrough.

No. The endpoint returns tool_calls inside the assistant message. Your application runs each function locally, appends a tool message matching tool_call_id, and sends the preserved turn back. The playground shows requested tool calls without executing code.
docs/api/minimax-m4

API reference

Drop-in code and the full parameter table.

curl https://api.reapi.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MiniMax-M4","messages":[{"role":"user","content":"Audit this retry loop for race conditions."}],"reasoning_effort":"low"}'

Parameter validation failed

Rejected synchronously with the failing field named. Check enum values, ranges, and URL fields — nothing is charged.

Authentication or balance issue

401 means a missing or invalid Bearer key; 402 means the reserve exceeds your balance. Manage keys and credits in the console.

Content or material rejected

Reference material and outputs pass automated moderation. Rejected tasks fail with a clear error and a full refund.

Task failed or timed out

A task that reaches a failed state is never charged — the reserve refunds automatically. Keep the task id and retry when ready.

start building

Ready to ship?

Try it in the playground or grab an API key to integrate now.