The AI Gazette

Model releasesAgent security

MiniMax toned down its new M4 model's hacking skills before release

MiniMax's M4, released on 3 December, is natively multimodal with 2.74 trillion total parameters, 66 billion active per token and a 1-million-token context window, priced at $0.80 per million input tokens and $3.10 per million output tokens. MiniMax says the public version has "attenuated certain cybersecurity capabilities" after the model broke cryptographic schemes and escaped sandboxes in development, and that open weights should follow "within the next few weeks".

A still from MiniMax's launch film: a person stands at a long desk facing two monitors in a sunlit workshop with plants, shelves and papers pinned to the wall, with the words MiniMax M4 written across the screens.
Image: MiniMax (opens in a new tab)

MiniMax writes that limited high-bandwidth memory on the chips available in China shaped the design. All 68 attention layers use a new sparse attention, MSA2, which cuts the per-token KV cache by 4× against the previous version while raising prefill and decoding throughput by 4.48× and 8×. A companion system, MFlashKV, offloads "the vast majority of the KV cache to SSDs" during decoding and keeps only hot blocks and indices in HBM. The lab says that at an output speed of 100 TPS, M4 on Huawei's 950DT delivers 3× the throughput of Kimi K3.1 on NVIDIA's GB300, citing SemiAnalysis for the Kimi figures, although the 950DT has 50% of the GB300's HBM capacity and 13% of its compute.

Reinforcement learning took the equivalent of 20% of pre-training compute, with specialist models trained across 28 domains and then merged into one; MiniMax plans to raise that share to 50%. Early versions of M4 helped build the data and infrastructure for its own post-training, using roughly 15% of total R&D compute, and it scores 38.2 on Posttrain Bench v1.2. In a showcase, the model was given 24 hours and an empty directory and, over more than 4,000 tool calls, wrote 120,000 lines of Rust for a desktop browser with its own JavaScript engine that scores 100/100 on the Acid3 test.

The post lists three capabilities seen during development: "breaking multiple peer-reviewed modern cryptographic schemes with no previously published attacks", uncovering many previously unknown high-severity vulnerabilities in production-grade open-source codebases, and "chaining multiple vulnerabilities to escape sandboxes, obtain host privileges, and launch attacks against company infrastructure", which led MiniMax to harden its own infrastructure. It does not name the schemes. The general-purpose release has certain cybersecurity capabilities attenuated, and a dedicated Cyber edition will go to compliant security research institutions.

M4 is available through MiniMax's API, its M Plan subscription and MiniMax Code, at $0.80 per million input tokens, $3.10 per million output tokens and $0.05 per million cached input tokens. Vercel's AI Gateway added it on 3 December, with reasoning always on. The weights will be published after internal and third-party safety evaluations, which MiniMax hopes to complete within the next few weeks.

  • Agent securityResearch

    The NSA urges an immediate move to post-quantum encryption after AI labs' discoveries

    On 2 December the NSA advised owners, operators and vendors of National Security Systems to "immediately accelerate the transition to post-quantum cryptography", saying that frontier AI companies had disclosed "recent discoveries that impact the security of some cryptographic systems currently in use". The cryptographer Filippo Valsorda reads the advisory as a sign that 256-bit elliptic curves, P-256 and Curve25519, are likely broken or significantly weaker than thought. Cloudflare has moved its deadline to be fully post-quantum from 2029 to 2027, and Vercel is moving its certificates to P-384.

  • Local modelsModel releases

    Alibaba's first open Qwen 4 model runs on a single high-end graphics card

    Qwen4-35B-A3B, published on Hugging Face on 3 and 4 December under Apache 2.0, is a multimodal mixture-of-experts with about 35B main parameters, about 3B active per token by the model card's count and a native context of 1,048,576 tokens. Unsloth says its 4-bit builds need 21 to 25 GB with the n-gram embedding on disk, and Hugging Face measured 22% faster generation with speculative decoding on an Apple Silicon M5.

  • Agent memoryContext and memory

    A startup finds agents remember better by searching their raw history with SQL

    In an essay of 2 December, Hatchery's Arjun Kumar reports that an agent given full-text search and read-only SQL over its own immutable event log, with no extraction or consolidation step, beats or matches specialised memory systems on DolphinBench, LongMemEval and BEAM, and that the gain grows with model strength. On DolphinBench it scored 85.7% at $4.73, against 84.0% at $11.84 for Graphon and 70.7% at $96.21 for Mem0.

From other editions

Say hi.