MiniMax M4 API
Text$0.40 / 1M tokens · $1.55 / 1M tokens

MiniMax M4 API

MiniMax M4 runs financial audits, Excel modeling, desktop GUI agents, and visual coding loops across a 1M context window—at $0.80 input, $3.10 output, and $0.05 cached input per 1M tokens.

Context window
1M
Input · per 1M tokens
$0.40 / 1M tokens
Output · per 1M tokens
$1.55 / 1M tokens
Cached input · per 1M tokens
$0.025 / 1M tokens

Playground

Chat with MiniMax M4 here. Every message is a real request, billed to your balance at the same price as the API.

MiniMax M4 Pricing

Flat per-million token rates across the entire 1M context window—no long-context surcharge. Pair high prompt-cache hit rates ($0.05/1M cached) with BeatAPI's unified balance across MiniMax, Claude, and Gemini.

Specifications and pricingbeatapi
MiniMax M4Input · per 1M tokens
$0.40
/ 1M tokens
MiniMax M4Cached input · per 1M tokens
$0.025
/ 1M tokens
MiniMax M4Output · per 1M tokens
$1.55
/ 1M tokens

Compare MiniMax text models

All three MiniMax text models share a 1M-token context window. Pick based on how much reasoning depth, multimodal input, and token budget your workload needs.

DimensionMiniMax M4MiniMax M3.1 FlashMiniMax M3
BeatAPI model IDminimax-m4MiniMax-M3.1-FlashMiniMax-M3
Parameters2.74T total / 66B active MoE (68L)Flash MoE~428B MoE
Native inputsText, image, videoText, imageText
ReasoningAlways-on adaptive (default max)ConfigurableReasoning
BeatAPI price (in / out / cache)$0.80 / $3.10 / $0.05$0.06 / $0.24 / $0.006$0.12 / $0.48 / $0.024
Best forFinancial audits, Excel modeling, desktop GUI agents, and visual self-checking codeHigh-volume daily coding, extraction, and budget-sensitive batch runsMaintaining existing M3 production pipelines without prompt changes

What MiniMax M4 does well

Early independent tests and launch benchmarks show MiniMax M4's strengths cluster in four concrete areas rather than generic chat.

Finance and Excel modeling that beats Western flagships

Scores 64.1% on Frontier Finance (ahead of Claude Opus 5.5 at 57.2% and GPT-6.2 Sol at 47.0%), 75.5% on Banker Tool Bench, and 72.8% on Excel Modeling.

Desktop GUI control close to Claude Opus 5.5

Reads screen states natively and executes multi-app desktop steps, reaching 80.0% on OSWorld v2.1 (within 1.8 points of Claude Opus 5.5).

Visual self-checking in long agent loops

Pairs native vision with headless browser or Blender tool calls so the agent can inspect rendered frames, catch layout or mesh defects, and fix them without human hand-holding.

Much tighter token discipline than M3.1 Flash

Fixes M3.1 Flash's slow, over-thinking habit: on Plotly's 43-question analytics exam, M4 used one-sixth the total tokens (29.8M vs 182.7M) and cut median wait time from 3 minutes to 50 seconds.

What people build with MiniMax M4

Financial due diligence and Excel audits

Feed filings, earnings tables, and exported formulas to reconcile numbers, catch broken assumptions, and draft a line-item discrepancy memo.

Multi-app desktop automation agents

Drive browsers, spreadsheets, and local tools from screenshots and GUI actions while verifying each state transition.

Fast SQL and Python data warehouse agents

Answer messy business questions, refuse impossible requests instead of hallucinating, and run data-quality checks in under a minute per query.

Interactive web, 3D, and CAD prototypes

Generate Three.js, WebGL, Blender, or C++ prototypes and iterate directly against rendered screenshots.

MiniMax M4 technical specifications

Published native specifications and BeatAPI execution parameters.

SpecificationMiniMax M4
Release dateDecember 3, 2026 (live on BeatAPI December 4, 2026)
ArchitectureMoE (2.74T total / 66B active, 384 routed experts top-4 + 1 shared, 68 layers)
Attention & KV cacheMSA2 sparse attention across all 68 layers with MFlashKV SSD offloading
Context & output1,000,000-token context window; up to 524,288 output tokens listed on OpenRouter
ModalitiesNative text, image, and video understanding; text and tool-call output
Reasoning behaviorAlways-on adaptive thinking (defaults to max effort; cannot be disabled)
BeatAPI & direct pricing$0.80 input / $3.10 output / $0.05 cached input per 1M tokens (flat across 1M context)
Weights & editionsOpen weights pending safety review; public model attenuates offensive cyber capabilities

MiniMax M4 vs Kimi K3.1 Pro, Claude Opus 5.5, and Gemini 4 Neon

How MiniMax M4 stacks up on parameters, context, reasoning controls, direct API list prices, and BeatAPI rates against peer frontier models.

ParameterMiniMax M4Kimi K3.1 ProClaude Opus 5.5Gemini 4 Neon
Scale / architecture2.74T total / 66B active MoE (68L)Open-weight Pro flagshipProprietary frontierProprietary multimodal reasoning
Attention & KV designMSA2 sparse attention + MFlashKV SSDKimi K3.1 architectureAnthropic proprietaryGoogle Gemini 4 architecture
Context window1,000,0001,000,0001,000,0001,048,576
Native inputsText, image, videoText, multimodalText, imageText, image, video, audio, PDF
Reasoning modeAlways-on adaptive (default max)Thinking modeAdaptive / extended thinking4 levels (low / med / high / xhigh)
Direct API price (in / out / cache)$0.80 / $3.10 / $0.05$2.00 / $10.00 / $0.20$4.00 / $20.00 / —$3.00 / $15.00 / $0.15
Open weightsAnnounced (post-safety review)AvailableClosedClosed
BeatAPI price (in / out)$0.80 / $3.10$0.80 / $4.00$1.40 / $7.00$0.90 / $4.50

Use-case input and deliverable matrix

Quick lookup of what goes in, what comes out, and the benchmark signal behind each workflow.

WorkloadInputsDeliverableVerified signal
Financial due diligence and Excel auditsFilings, earnings tables, exported Excel formulasLine-item discrepancy memo ready for analyst review64.1% Frontier Finance; 72.8% Excel Modeling
Multi-app desktop automation agentsDesktop screenshots + GUI click/type tool actionsVerified multi-app task completion80.0% OSWorld v2.1 (Full)
Fast SQL and Python data warehouse agentsWarehouse schema + SQL / Python execution toolsReproducible queries, ambiguity flags, and quality audits41/43 (95%) Plotly DataAnalyticsBench in 50s median
Interactive web, 3D, and CAD prototypesDesign specs, reference screenshots, headless browserVisually checked Three.js, WebGL, Blender, or C++ buildsNative image/video input + 1M cached context

MiniMax M4 benchmark comparison

At max thinking effort (December 3, 2026 launch table), MiniMax M4 leads open-weight peers on 27 of 30 rows and rivals proprietary flagships on finance and GUI control, while trailing Claude Opus 5.5 and GPT-6.2 Sol on long-horizon SWE marathons.

BenchmarkMiniMax M4Kimi K3.1 ProClaude Opus 5.5GPT-6.2 SolGemini 4 Neon
Frontier Finance64.1%—57.2%47.0%66.6%
Finance Agent v266.7%61.5%67.9%58.9%68.6%
OSWorld v2.1 (Full)80.0%79.6%81.8%——
Vals Index v2.261.7%60.9%68.7%65.1%69.2%
Terminal Bench 4.156.6%68.2%59.1%60.1%65.2%
FrontierCode-AA 2.033.0%25.5%46.9%44.4%44.4%
SWE-Marathon v1.244.0%39.2%72.5%69.2%58.3%

Independent data analytics benchmark

On Plotly's 43-question DataAnalyticsBench (December 3, 2026, default settings), MiniMax M4 tied MiniMax M3.1 Flash at 41/43 (95%) while cutting median time per question from 185s to 50s and total run cost from $4.09 to $3.52.

ModelScoreMedian / questionFull run cost
MiniMax M441 / 43 (95%)50s$3.52
MiniMax M3.1 Flash41 / 43 (95%)185s$4.09
Hunyuan HY442 / 43 (98%)117s$2.11
GPT-6.1 Sol43 / 43 (100%)18s$2.61

How to integrate MiniMax M4 API

Point any OpenAI SDK at https://api.beatapi.io/v1 with model ID minimax-m4 and your BeatAPI key.

Open the Dashboard

Sign up or sign in to open the Dashboard. Check your balance and open the credits page if you need to add funds.

Open Dashboard

Why choose MiniMax M4 API?

Based on launch benchmarks and early developer tests, here is where MiniMax M4 actually earns its spot in a stack.

Beats pricier flagships on finance and GUI work

Outscores Claude Opus 5.5 and GPT-6.2 Sol on Frontier Finance (64.1%) and matches Opus 5.5 closely on OSWorld v2.1 (80.0%) at a fraction of direct Western API rates.

3.7x faster than M3.1 Flash without losing accuracy

Cuts the rambling reasoning chains that slowed down M3.1 Flash, finishing the same 43-question analytics suite in 58 minutes instead of nearly three hours.

Skip 4x GB200 hardware—use 2.74T over API

Self-hosting a 2.74T MoE model takes multi-node enterprise clusters. Calling minimax-m4 on BeatAPI gives instant 1M-context access with $0.05/1M cached reads.

Pair M4 with Claude Opus 5.5 on one key

Send finance, desktop control, and cached agent loops to minimax-m4 and route long-horizon SWE marathons to Claude Opus 5.5 from the same BeatAPI balance.

MiniMax M4 API FAQ

MiniMax M4 is MiniMax's 2.74T-parameter (66B active) multimodal MoE reasoning model with a 1M-token context window. It stands out in three lanes: financial diligence and Excel modeling (64.1% Frontier Finance, 72.8% Excel Modeling), desktop GUI control (80.0% OSWorld v2.1), and cache-heavy data or visual coding loops. Call it on BeatAPI with model ID minimax-m4 at POST /v1/chat/completions.

Start calling MiniMax M4 on BeatAPI

Use one BeatAPI key to run minimax-m4 alongside MiniMax M3.1 Flash, Claude Opus 5.5, and Gemini 4 Neon from a single balance.