MiniMax · 2025-10 · Sparse MoE

MiniMax-M2

MiniMax-M2 is a grouped-query attention (GQA) transformer released by MiniMax in 2025-10, with 62 layers, hidden size 3072 and a context window of 196,608 tokens.

Layer stack

Attention ×62 · Layers 62

Key facts

FamilyMiniMax
Released2025-10
Params228.3 B
Active10.6 B
Context196,608 tokens
AttentionGQA (48:8)
Layers62
Hidden3,072
Heads48
Vocab200,064
PositionRoPE
NormRMSNorm
Activationsilu
Dtypefp8
Architecture classMiniMaxM2ForCausalLM

Architecture overview

t₁ t₂ t₃ t₄ input tokens Embedding · Vocab 200,064 → Hidden 3,072 Q1 Q2 Q3 Qn KV1 KV2 KV3 KVn Heads 48 KV heads 8 head dim 128 · RoPE Router E1 E2 E3 E4 E5 E6 E7 E8 +248… top-8 of 256 experts · ≈ 10.6B params active per token × 62 transformer block Attention Feed-forward / MoE RMSNorm pre-norm Final norm · RMSNorm LM head → Vocab 200,064 p p p → next token MTP ×3 → +3 future tokens Position RoPE Dtype FP8 Context 192K tok
Drawn from the shipped config.json · 62 layers / width 3,072 / context 196,608. Original diagram by this atlas.

Attention

grouped-query attention (GQA) — 48 q-heads / 8 kv-heads. RoPE θ=5,000,000.

Feed-forward / MoE

It is a sparse mixture-of-experts with 256 routed experts and top-8 routing; about 10.6B parameters are active per token.

The configuration ships 3 extra multi-token-prediction (MTP) layers used to accelerate decoding.

Field-level comparison

Compared against the previous model of the same lab; where none exists, against the structurally closest model. The ratio column is this model divided by the comparison model.

Full-field comparison vs predecessor MiniMax-M1
ModelMiniMax-M2MiniMax-M1Ratio
model_typeminimax_m2minimax
architecturesMiniMaxM2ForCausalLMMiniMaxForCausalLM
hidden_size30726144×0.500
num_hidden_layers6280×0.775
num_attention_heads4864×0.750
num_key_value_heads88≈1
head_dim128128≈1
intermediate_size15369216×0.167
hidden_actsilusilu
num_experts_per_tok82×4.00
rope_theta500000010000000×0.500
max_position_embeddings19660810240000×0.019
rms_norm_eps0.0000010.00001×0.100
vocab_size200064200064≈1
attention_dropout00
attn_type_list1×62
initializer_range0.020.02≈1
layernorm_full_attention_beta1
layernorm_linear_attention_beta1
layernorm_mlp_beta1
mlp_intermediate_size8192
mtp_transformer_layers1
num_local_experts25632×8.00
num_mtp_modules3
output_router_logitsfalsefalse
qk_norm_typeper_layer

Most similar architectures

Similarity values range from 0 (no shared categorical features) to 1 (identical profiles).

Raw config fields

38 fields
architecturesMiniMaxM2ForCausalLM
attention_dropout0
attn_type_list1×62
head_dim128
hidden_actsilu
hidden_size3072
initializer_range0.02
intermediate_size1536
layernorm_full_attention_beta1
layernorm_linear_attention_beta1
layernorm_mlp_beta1
max_position_embeddings196608
mlp_intermediate_size8192
model_typeminimax_m2
mtp_transformer_layers1
num_attention_heads48
num_experts_per_tok8
num_hidden_layers62
num_key_value_heads8
num_local_experts256
num_mtp_modules3
output_router_logitsfalse
qk_norm_typeper_layer
rms_norm_eps0.000001
rope_theta5000000
rotary_dim64
router_aux_loss_coef0.001
router_jitter_noise0
scoring_funcsigmoid
shared_intermediate_size0
shared_moe_modesigmoid
tie_word_embeddingsfalse
transformers_version4.57.1
use_cachetrue
use_mtptrue
use_qk_normtrue
use_routing_biastrue
vocab_size200064