What Is MiniMax M4? GitHub Release, Weights and License
MiniMax M4 has 2.74T total and 66B active parameters with 1M context. See what the GitHub repo includes, weight and license status, and M3 differences.

Contents8 sections
- What the MiniMax M4 GitHub release includes
- MiniMax M4 vs M3: size, architecture, and price
- Weights and license: what is confirmed and what is not
- Trying M4 through the API first
- Hardware and risks to check before running it locally
- Bottom line: a pre-adoption checklist
- Frequently asked questions
- Sources and references
Key takeaways
- MiniMax M4 is a Mixture-of-Experts model with 2.74T total parameters, 66B active per token, a 1M-token context window, and native multimodal input, according to MiniMax.
- As of December 4, 2026, the GitHub repo has only a README, a technical report, and figures. No weights or LICENSE file yet; MiniMax targets release within weeks.
- Compared with MiniMax M3 (about 428B total, about 23B active), M4 is roughly 6.4x larger in total parameters and 2.9x larger in active parameters.
- API pricing is $0.80 per million input tokens and $3.10 per million output tokens, more than 2.5x the discounted M3 rate of $0.30 / $1.20.
- Thinking cannot be turned off on M4 and the effort level defaults to max, so output tokens and latency can grow unless you set effort lower.
MiniMax M4 is the new flagship model from Chinese AI lab MiniMax, announced on December 3, 2026 alongside a public GitHub repository. According to MiniMax, it is a natively multimodal Mixture-of-Experts (MoE) model with 2.74 trillion total parameters, 66 billion active parameters per token, and a 1-million-token context window. The short answer to what the release actually contains: as of December 4, 2026, the GitHub repo holds a README, a technical report PDF, and benchmark figures, but no model weights and no license file. You can use M4 today through the MiniMax API, M Plan, and MiniMax Code; local deployment and commercial redistribution depend on a license that has not been published yet.
This guide walks through what the repo and the official MiniMax blog post say, how M4 differs from the previous flagship MiniMax M3, and what to verify on hardware, licensing, and API cost before you build on it. Most performance figures below are self-reported by MiniMax, so read them as company claims until independent evaluations appear.
What the MiniMax M4 GitHub release includes
The MiniMax-AI/MiniMax-M4 repository, which reached the top of Hacker News, works more like an announcement page than a code release. When checked, it had three items: a docs folder with the technical report, a figures folder with charts, and README.md.
- Published: a model overview, the MiniMax-M4 Technical Report (PDF), and charts for agentic benchmarks and decoding throughput
- Missing: model weights, a LICENSE file, inference code, and setup instructions
- Official status line: the Release Status section reads 'We will release the weights soon'
The blog post adds that weights will follow after internal and third-party safety evaluations, and that MiniMax hopes to finish this 'within the next few weeks'. That is a goal rather than a committed date. For context, MiniMax promised M3 weights within 10 days of its June 2026 launch, and those weights are now live on Hugging Face.
Architecture highlights from the technical report
- Scale: 2.74T total parameters, 66B active per token, 1M-token context
- MSA2 (MiniMax Sparse Attention 2): sparse attention used in all 68 attention layers. MiniMax says it cuts per-token KV cache by 4x versus the previous version and raises prefill and decode throughput by 4.48x and 8x
- MFlashKV: during decoding, most of the KV cache is offloaded to SSDs, with only hot blocks and indices kept in high-bandwidth memory (HBM). The goal is long-context serving on chips with limited HBM
- Reinforcement learning: RL used compute equal to 20% of pre-training. MiniMax trained specialist models in 28 domains and merged them into one model through multi-teacher on-policy distillation (MOPD)
MiniMax also stresses that M4 runs efficiently on Chinese accelerators such as Huawei's 950DT. The blog claims that at 100 tokens per second of output speed, M4 on the 950DT delivers 3x the throughput of Kimi K3.1 on NVIDIA's GB300. The Kimi figure is cited from SemiAnalysis, and the two setups use different models and measurement sources, so treat this as a design claim rather than a like-for-like benchmark.
A public version with reduced cyber capabilities
MiniMax writes that during development it saw M4 break peer-reviewed cryptographic schemes, find previously unknown high-severity bugs in open-source code, and chain exploits to escape sandboxes. As a result, it says it weakened some cybersecurity capabilities in the general public version and plans a separate Cyber edition for qualified security research institutions. If you are evaluating M4 for security work, the public model may not match the blog's internal observations.
MiniMax M4 vs M3: size, architecture, and price

M4's predecessor is MiniMax M3, released on June 1, 2026. Putting the M3 model card and the current price list next to the M4 materials shows the main differences.
Release
- MiniMax M3
- June 1, 2026
- MiniMax M4
- Repo published December 3, 2026
Total parameters
- MiniMax M3
- About 428B
- MiniMax M4
- 2.74T
Active parameters per token
- MiniMax M3
- About 23B
- MiniMax M4
- 66B
Context window
- MiniMax M3
- 1M tokens
- MiniMax M4
- 1M tokens
Attention
- MiniMax M3
- MSA
- MiniMax M4
- MSA2 + MFlashKV (SSD offload)
Weights
- MiniMax M3
- On Hugging Face
- MiniMax M4
- Not yet released
License
- MiniMax M3
- MiniMax Community License
- MiniMax M4
- Not announced
Reasoning control
- MiniMax M3
- thinking enabled, adaptive, or disabled
- MiniMax M4
- effort in 5 levels, cannot be disabled
API price per 1M tokens (input / output)
- MiniMax M3
- $0.30 / $1.20 (inputs up to 512K, permanent 50% discount)
- MiniMax M4
- $0.80 / $3.10
In plain numbers, M4 is about 6.4x larger in total parameters and about 2.9x larger in active parameters. Active parameters drive the compute needed per generated token, so on the same hardware M4 should be heavier to serve than M3. MiniMax credits MSA2 and MFlashKV for keeping that cost in check, which may explain why the API price rose by roughly 2.5x rather than tracking the jump in model size.
Differences that matter if you are switching from M3
- Thinking is always on: per the API docs, sending thinking disabled or effort 'none' to M4 returns a 400 error. For latency-sensitive tasks like autocomplete, set effort to low or consider MiniMax-M3.1-Flash ($0.15 input / $0.60 output per million tokens)
- Effort defaults to max: the levels are low, medium, high, xhigh, and max. Leaving it unset means max, which produces more output tokens and higher latency
- M3 is still available: it moved to the legacy section of the price list, but the docs confirm M3 and M3.1-Flash remain callable. Compare both on your own tasks before migrating
Weights and license: what is confirmed and what is not
MiniMax calls M4 an open-weight model, but at the time of checking there were no downloadable weights and no license defining how they may be used. Open-weight only means the weight files are published; commercial use, redistribution, and fine-tuning rights vary widely from license to license.
The closest reference point is M3's MiniMax Community License. It allows free non-commercial use, modification, and distribution, but adds conditions for commercial use:
- Commercial products must prominently display 'Built with MiniMax M3' on a website, UI, or documentation
- Products or services with more than $20 million in yearly revenue need prior written authorization from MiniMax; smaller ones send a one-time notice by email
- Deploying or serving fine-tuned or otherwise modified derivatives for commercial purposes also counts as commercial use
- Military use, harming minors, and spreading harmful misinformation are listed as prohibited uses
Do not assume M4 will reuse M3's terms. It may not be a permissive license like MIT or Apache 2.0, and revenue thresholds, attribution rules, or prohibited uses could change. If you plan to ship a product on M4 weights, wait for the actual LICENSE text.
What to check once weights are published
- Whether the LICENSE file matches the license named on the model card
- How commercial use is defined, plus any revenue threshold, approval or notice process, and attribution rule
- Terms for distributing or serving fine-tuned and distilled derivatives
- The prohibited-use list and any regional or sector restrictions
- Whether the open weights are the same checkpoint served by the API, including the reduced cyber capabilities
- Recommended inference engines, release precision (BF16, FP8, and so on), and GPU count
Trying M4 through the API first
Until the weights ship, the API is the most direct way to test M4. The Model Invocation guide supports both Anthropic-compatible and OpenAI-compatible requests, so existing SDKs work with a base URL change.
- 1
Pick an endpoint and model ID
Use
https://api.minimax.io/anthropicfor the recommended Anthropic-compatible path orhttps://api.minimax.io/v1for OpenAI-compatible calls, and set the model toMiniMax-M4. - 2
Choose a thinking depth
Send
output_config.effort(Anthropic-compatible) orreasoning_effort(OpenAI-compatible) with low, medium, high, xhigh, or max. If omitted, max is used. - 3
Handle reasoning output separately
On the OpenAI-compatible protocol, reasoning arrives in
reasoning_contentand the final answer incontent. Remove any code that tries to disable thinking, because it will fail with a 400 error. - 4
Measure before scaling
Pricing is $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens. Run a small batch at each effort level, log output token counts, and check usage in the console before increasing volume.
As a worked example, a job with 1 million input tokens and 200,000 output tokens costs about $0.80 + $0.62 = $1.42 on M4, versus about $0.30 + $0.24 = $0.54 on M3 at the discounted rate for inputs up to 512K. If you resend the same long prompt, check whether the cached-input rate applies. Also remember that API traffic is processed on MiniMax's servers, so review its data handling terms before sending proprietary code or personal data.
Release timelines, prices, and third-party hosting options tend to shift quickly after a launch like this. The theddari AI Telegram trends page tracks how the conversation around new models develops.
Hardware and risks to check before running it locally
Even after the weights are released, M4 is a data-center model. A simple parameters-times-bytes estimate gives roughly 5.5 TB of weight memory at BF16 (2 bytes per parameter), about 2.7 TB at 8-bit, and about 1.4 TB at 4-bit, before adding KV cache and activations. MiniMax has not stated the release precision, so actual sizes may differ. The 66B active figure describes compute per token; it does not mean only 66B parameters need to be loaded.
Offloading KV cache to SSDs, as MFlashKV does, could ease long-context memory pressure, but it is not yet clear when or how open-source engines such as vLLM and SGLang will support it. M3's model card lists deployment guides for vLLM, SGLang, KTransformers, and others; check whether M4 ships with the same level of support.
Risks worth flagging
- Self-reported results: the benchmark charts, the Posttrain Bench score, and the from-scratch browser demo all come from MiniMax. Test on your own workload
- Mismatched comparisons: the 950DT versus GB300 throughput claim pairs different models and data sources
- Fake repos and weights: unofficial uploads often appear around launches. Confirm the MiniMax-AI GitHub or MiniMaxAI Hugging Face organization, and do not run unknown loader code
- Procurement rules: some companies and public agencies restrict models from certain vendors or jurisdictions, so check internal policy first
To see how AI model launches are being covered across blogs, the theddari blog trends dashboard is another useful reference.
Bottom line: a pre-adoption checklist
- You can use M4 now through the API, M Plan, and MiniMax Code; weights were not public as of December 4, 2026
- M4 is about 6.4x M3 in total parameters and 2.9x in active parameters, and its API price is more than 2.5x higher
- Thinking cannot be disabled, so measure output tokens and latency at each effort level first
- Do not assume commercial or redistribution rights until the license is published
- Local serving needs terabytes of memory; for hands-on experiments, M3 or smaller models are more practical
- Treat performance claims as self-reported and run a small comparison on your own data before committing
Frequently asked questions
Can I download the MiniMax M4 weights?
Is MiniMax M4 free for commercial use?
How much hardware would it take to run MiniMax M4 locally?
Is MiniMax M4 better than M3 for coding?
Sources and references
- 1MiniMax-AI/MiniMax-M4 GitHub repository(opens in a new tab)github.com
- 2MiniMax M4: The Intelligence Frontier Under Compute Constraints (MiniMax blog)(opens in a new tab)www.minimax.io
- 3MiniMax API docs: Model Invocation(opens in a new tab)platform.minimax.io
- 4MiniMax API Pricing Overview(opens in a new tab)platform.minimax.io
- 5MiniMax M3 launch blog(opens in a new tab)www.minimax.io
- 6MiniMaxAI/MiniMax-M3 model card on Hugging Face(opens in a new tab)huggingface.co
- 7MiniMax-M3 LICENSE (MiniMax Community License)(opens in a new tab)huggingface.co
Related articles
AIHugging Face Hack: What OpenAI Did and What to Check
A sourced recap of the July 2026 Hugging Face breach caused by OpenAI evaluation agents: what each company disclosed, what OpenAI changed, and a practical checklist for Hugging Face tokens, downloaded models and OpenAI API keys.
AILLM uncertainty: do AI models know when they're wrong?
New research suggests language models react to doubt you inject from outside but fail to notice their own mistakes while generating. Here is what the study measured, where it stops, and a practical routine for verifying confident AI answers.
AILinux Kernel Patch Check After OpenAI's 948 Root Exploits
OpenAI's 948 figure counts distinct local privilege escalation bugs, not remote hacks, and most fixes are still landing. Here is how admins confirm the running kernel is actually patched.