Back to News
ProductAI Understanding briefing

MiniMax adds pricing, new attention tech and extensive demos to M4 launch

MiniMax announced API pricing, a novel sparse attention mechanism and a suite of code-generated demos for its 2.74-trillion-parameter M4 model, which runs on domestic Huawei and T-Head chips.

4 min readRead the linked source
Source-provided image accompanying MiniMax adds pricing, new attention tech and extensive demos to M4 launch
Source referenceSource recorded
Publisher
minimax.io
Source type
Linked source — primary-source status has not been established.
Also cited

Story last revised

ContextUnderstand this in 60 seconds

Key terms

API (Application Programming Interface)
A structured way for one software system to send requests to and receive responses from another system.
Attention Mechanism
A model component that dynamically focuses on relevant parts of an input when producing an output.
Open-Source Model
A model released with public weights or code for inspection, adaptation, and reuse.

What changed since publication

  1. First published
  2. MiniMax added API pricing, introduced the MSA2 sparse attention and MFlashKV KV-offload systems, and showcased extensive code-generated demos, expanding on the original M4 launch announcement.
Source video from minimax.io · shown with attribution.

What happened

MiniMax released its flagship M4 model with a 1-million-token context window, detailing new sparse attention (MSA2) and KV-offload (MFlashKV) techniques that cut per-token memory use by four-fold and boost decoding speed. The company disclosed pricing ($0.80 per M input token, $3.10 per M output token, $0.05 per M cached input token) and promotional usage plans for developers. It also showcased extensive multimodal demos—building a full-featured web browser in Rust, generating 3-D assets, creating a short film, and developing Unreal Engine games—demonstrating the model’s code-generation and graphics capabilities. The announcement notes plans to weights after safety reviews.

MiniMax introduced M4, a 2.74-trillion-parameter multimodal model with a 1-million-token context window, running on Huawei’s Ascend 950DT and T-Head’s Zhenwu M890 SuperNode chips.

The company unveiled a new sparse called MSA2, which combines KV-sharing multi-query attention, block-sparse patterns, compressed multi-head indexing, and a two-layer look-ahead index predictor. This reduces per-token KV cache memory by four times compared with earlier versions and improves prefilling and decoding throughput by 4.48× and 8× respectively.

MFlashKV, a complementary system, offloads most KV cache data to SSDs while keeping hot blocks in HBM, using a look-ahead strategy to hide SSD latency. This further cuts HBM usage during decoding without added overhead.

MiniMax disclosed pricing: $0.80 per million input tokens, $3.10 per million output tokens, and $0.05 per million cached input tokens, with a developer-focused “M Plan” offering multiple-times usage and a 2× off-peak night bonus for code generation.

The blog post highlighted a series of multimodal demos: a 24-hour engineering challenge where M4 wrote a full desktop web browser in Rust (120,000 lines of code) that passed the Acid3 test; generation of 3-D assets, animations, and full-length short films entirely in code; creation of a complete Unreal Engine 5 shooter using C++, Python and Blender; and reconstruction of Dublin’s Long Room as an interactive 3-D browser experience.

Source details: minimax.io

Why it matters

MiniMax’s pricing puts its ultra-large M4 model in a competitive tier for developers seeking high-capacity context windows without the cost of Western cloud providers. The MSA2 attention and MFlashKV memory-offload innovations address a key bottleneck—HBM capacity—that has limited the deployment of trillion-parameter models on domestic chips. By achieving 3× higher throughput on Huawei’s 950DT versus a leading NVIDIA GPU, MiniMax shows that Chinese hardware can support frontier-scale inference, potentially reshaping the AI hardware market and reducing reliance on foreign GPUs. The extensive code-generation demos illustrate practical, end-to-end AI-assisted development pipelines, hinting at new productivity tools for software, game, and media creators. Open-sourcing the weights could accelerate research and ecosystem growth within China and the broader open-source community.

Pricing makes a trillion-parameter model accessible to a broader developer base, potentially expanding the market for high-context AI services beyond large enterprises.

The MSA2 and MFlashKV innovations directly address the memory bottleneck that has limited the deployment of ultra-large models on chips with limited HBM, demonstrating a viable path for domestic hardware to compete with NVIDIA-dominant GPUs.

Throughput gains (3× over a leading NVIDIA GPU on a less capable chip) suggest that software-level efficiency can offset hardware disadvantages, influencing future model-hardware co-design strategies.

The extensive code-generation demos provide concrete evidence of end-to-end AI-assisted creation pipelines, which could lower barriers for small studios, indie developers, and enterprises to produce complex software and media content.

Open-sourcing the model weights after safety reviews could accelerate research collaboration within China and the global open-source community, fostering faster iteration on large-scale models.

Interactive Mechanism

Interactive Mechanism: How It Actually Works

Explore the underlying technology behind this development interactively.

Document Size:128K tokens
Needle Placement Depth (Location in document):50% into text
Attention Context Buffer Map:
Target Fact (50%)
Equivalent Pages~320Standard book pages
Retrieval Accuracy99.9%Needle recall score
RAM / KV Cache5.1 GBMemory overhead
Prompt CachingActive~80% discount on reuse
Core takeaway: Million-token context windows allow querying whole codebases or legal archives in one prompt. However, KV cache memory scales with context length, making prompt caching crucial for real-time production.
Interactive Concept Check+10 Points
Why a Prompt Works in One Model but Not Another Quiz

Why might the same prompt behave differently across two models?

What to watch next

Future updates on the open-source release schedule, adoption rates of the pricing tiers, and performance benchmarks on other domestic chips will indicate how quickly M4 gains market traction. Monitoring competitor responses—especially from overseas large-model providers—will reveal whether MiniMax’s hardware-efficient architecture influences broader model design trends. Finally, any regulatory or export-control developments affecting domestic chip usage could impact M4’s scalability.

Timeline and conditions for the open-source release of M4 weights, which will affect community adoption and third-party tooling.

Uptake of the announced pricing tiers and any subsequent adjustments based on market feedback or cost-recovery needs.

Performance benchmarks of M4 on other domestic chipsets, which will indicate the generality of the memory-efficiency gains.

Responses from competing model providers, especially regarding context-window size and pricing strategies.

Potential regulatory changes affecting the use of domestic AI chips for large-scale training and inference.

Related guides & quizzes

Updates and corrections

This canonical story is updated in place when the developing event materially changes. Its URL and original publication date never change.

  • MiniMax added API pricing, introduced the MSA2 sparse attention and MFlashKV KV-offload systems, and showcased extensive code-generated demos, expanding on the original M4 launch announcement.
See the public corrections log
Found this useful?