MiniMax-Text-01
MiniMax · MiniMax-01 · open weights
- GQA
- Linear attention
- Hybrid
- RoPE
- Partial RoPE
- Pre-norm
- MoE
Facts and where they come from
| Released | 2025-01 | config.jsonconfig.jsonHugging Face repository creation date (api.createdAt) |
|---|---|---|
| Licence | not disclosed | not disclosed |
| Total parameters | 456B | labmodel cardREADME: 456 billion total parameters, of which 45.9 billion are activated |
| Active parameters | 45.9B | labmodel cardREADME: 45.9 billion activated |
| Context length | 10000K tokens | config.jsonconfig.jsonmax_position_embeddings |
| Norm placement | pre | codemodelling codetransformers 5.18.0 / repo modelling code for minimax_text_01: input_layernorm before attention, post_attention_layernorm before the MLP |
| Norm type | RMSNorm | codemodelling codetransformers 5.18.0 / repo modelling code for minimax_text_01: input_layernorm before attention, post_attention_layernorm before the MLP |
| QK-norm | no | codemodelling codeno q/k normalisation in the attention block |
| Positional encoding | RoPE on 50% of each head | config.jsonconfig.jsonrotary_dim / head_dim |
| Parallel attention and MLP | no | codemodelling codetransformers 5.18.0 / repo modelling code for minimax_text_01: input_layernorm before attention, post_attention_layernorm before the MLP |
Architecture, drawn from the data
70× Linear attention + 10× GQA 64q/8kv. Each column is one layer: its token mixer above, its feed-forward block below. Paler columns reuse another layer’s keys and values.
Modelled costs
From the cost model, batch size 1. Totals the lab states are in the table above; differences come from rounding, from what a lab counts, or from parts the model does not describe (listed on the about page).
| Parameters (modelled) | 456B |
|---|---|
| Active per token (modelled) | 48.4B |
| Without embeddings and output head | 454B total, 45.9B active |
| Published weights (Hugging Face count) | 456B |
| KV cache per token, BF16 (layers that grow with context) | 40 KiB |
| KV cache + state at 10000K tokens, BF16 | 391 GiB |
| Decode FLOPs per token at 4K context | 96 GFLOP |
| Prefill FLOPs for a 4K prompt | 380 TFLOP |
KV cache against context
Every architecture field
| Field | Value | Source |
|---|---|---|
| d_model | 6,144 | config.jsonconfig.jsonhidden_size |
| vocab | 200,064 | config.jsonconfig.jsonvocab_size |
| tied_embeddings | false | config.jsonconfig.jsontie_word_embeddings |
| mixers.full.type | attn | codemodelling codeattention block |
| mixers.full.heads | 64 | config.jsonconfig.jsonnum_attention_heads |
| mixers.full.kv_heads | 8 | config.jsonconfig.jsonnum_key_value_heads |
| mixers.full.head_dim | 128 | config.jsonconfig.jsonhead_dim |
| mixers.linear.type | linear | codemodelling codeLightning attention (linear) |
| mixers.linear.heads | 64 | config.jsonconfig.jsonnum_attention_heads |
| mixers.linear.head_dim | 128 | config.jsonconfig.jsonhead_dim |
| ffns.moe.type | moe | codemodelling codeMoE block |
| ffns.moe.experts | 32 | config.jsonconfig.jsonnum_local_experts |
| ffns.moe.active | 2 | config.jsonconfig.jsonnum_experts_per_tok |
| ffns.moe.d_expert | 9,216 | config.jsonconfig.jsonintermediate_size |
| ffns.moe.gated | true | codemodelling codeexperts are gated MLPs |
| layout | 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe · 7× linear/moe · 1× full/moe | config.jsonconfig.jsonattn_type_list |
Sources
- config.json @ a7351bf
- model card
- arXiv 2501.08313
- modelling code · transformers 5.18.0 modelling code, or the model repository's own modelling file at the pinned revision