MiniMax M4

by MiniMax · Released , 45 days after MiniMax M3.1 Flash · Announcement · All MiniMax releases

MiniMax M4 is the flagship of MiniMax's M-series and the company's most capable model to date: a Mixture-of-Experts model with 2.74 trillion total parameters, of which 66 billion are active per token. It is natively multimodal, reading text, images and video in the same conversation, and works with a context window of up to 1M tokens and up to 256K tokens of output per response. MiniMax built M4 for long-horizon coding and agentic work, and places it at the front of open models on most of its own evaluations, spanning coding, domain expertise, computer use, finance and business tasks, chip design, and design work in 3D modeling, games and video production. Tool calls interleave with its reasoning, so the model can plan, call a tool, read the result and keep thinking within a single turn. M4 always thinks before it answers. Thinking cannot be switched off; its depth is set with an effort level from low to max, and it runs at max when no level is given. Lower levels cut latency and output tokens on simpler tasks, while max suits multi-step engineering problems.

Sign up without a credit card · OpenAI SDK compatible
Input
$0.80 / 1M
Output
$3.10 / 1M
Cache read
$0.05 / 1M
Context
1M tokens
Max output
262K tokens
Routes
1 Multi

Available routes

MiniMax M4 runs on 1 route through the Opper gateway.

ProviderRegionZero data retentionTrainingInputOutputCache read
MultiNo$0.80$3.10$0.05

Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

Live routes and prices as JSON: api.opper.ai/v3/models?q=minimax%2Fm4

Key info

Input
Output
Features
Context window
1M
Max output
262K
Input price
$0.80 /1M$0.05 cache read
Output price
$3.10 /1M
Released
Web search
  • Zero data retention with abuse monitoring
  • No training by default

Uptime and availability

MiniMax M4 runs on a single route through the Opper gateway today, so its availability is that provider's availability.

99.33%route uptime, last 30 days
Single route, no failover target within this model.

Name a second model in the same request and the gateway tries it on retriable errors, so a busy hour never has to reach your users. Set up a fallback chain.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting MiniMax M4 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

MiniMax — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content
Caching
Prompt cache
Transfer mechanism
SCCs

Best for

Where MiniMax M4 ranks among the models on Opper with a score for each use case.

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#15 of 531 LLMs
TierStrong
Output speed139 tok/s
Intelligence Index47.0
Coding
FrontierCode 2.0
33%
Agentic & knowledge work
AutomationBench
71%
GDP.pdf
27%
Briefcase (Elo)1629
Science & reasoning
Terminal-Bench Science
43%
CritPt (hard)
49%
HLE Diamond
44%
Knowledge
Omniscience16.0
MMMU-Pro
81%
By domain
Finance & accounting
53.0
Legal
46.0
Engineering
51.0
Economics
50.0
Strategy & operations
55.0

Get started

Call MiniMax M4 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

MiniMax M4 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "minimax/m4",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use MiniMax M4 in your apps

Pick your tool, then choose MiniMax M4 to see how to run it through Opper.

Use MiniMax M4 with tools

The tools MiniMax M4 can use through Opper. Pick one to see how to set it up.

Compare MiniMax M4 with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from MiniMax