Loading...
Multimodal successor to M3 with clear gains on complex agent tasks, coding and cybersecurity, at Flash pricing with a 1M context
Take MiniMax M3.1 Flash apart, layer by layer. The 3D teardown below shows its 60 layers (3 dense + 57 MoE), GQA attention, and expert routing, with values from the public model config.
Founded in early 2022 and headquartered in Shanghai, MiniMax develops foundation models for text (the M series), video (Hailuo and H3), speech and music; it listed on the Hong Kong Stock Exchange in January 2026 with Alibaba and Tencent among its investors. MiniMax M3 (June 2026) is a 428B open-weight MoE with a 1M-token context, and MiniMax H3 (July 2026) is an open multimodal video model. Its consumer products include the Hailuo video app and the Talkie character app.
more about MiniMax โ6144-dim vectors over the same 200K-token vocabulary as M3. Image and video tokens from the vision encoder join this stream (not drawn).
M3 kept 3 full-attention layers; M3.1 Flash makes all 60 sparse. The first 3 layers still use a dense 12,288-dim FFN and the remaining 57 are MoE.
GQA (64 query / 4 KV heads) with per-head QK-Norm, wrapped in a block-sparse scheme: a lightning indexer with 4 heads scores 128-token blocks and each query reads only the top 16 plus its local block. The KV cache is about 120 KiB per token at bf16. (Rendered as the GQA block.)
A sigmoid router with a learned bias picks 4 of 128 experts per token, plus 1 shared expert, each 3072 dims wide. About 23B of 428B parameters fire per token.
Final RMSNorm then an untied projection to 200,064 logits. A DSpark draft head speeds up decoding by proposing tokens ahead; it is not drawn.