MiniMax-M3.1-Flash
MiniMax · reasoning checkpoint
No base checkpoint is public; facts describe the released post-trained checkpoint. The card says M3.1-Flash builds on MiniMax-M3 and keeps its MoE architecture, with three changes: MSA in all layers, quantization-aware training of the routed experts and attention paths, and a DSpark draft head replacing MTP for speculative decoding. Whether the backbone was trained from scratch or continued from M3 is not stated.
Open in the comparison table Hugging Face ↗
KV calculations use one sequence at 131,072 tokens and 16-bit cache elements. They include bounded sliding-window caches. This is retained cache payload, not peak prefill memory. The comparison table also offers sourced mixed-precision layouts, including quantization scales.
Release
- Released
2026-10-23
Source: api · Hugging Face commit history; 'Init MiniMaxAI/MiniMax-M3.1-Flash' 54e4e69
"date":"2026-10-23T03:37:20.000Z"
Date of the first commit with weights. The launch blog (2026-10-19, https://web.archive.org/web/20261019132650/https://www.minimax.io/blog/minimax-m31f) made the model available through the API only and says "Model weights will be released later." The repository was created 2026-10-17, before any commit; when it became public is not recorded.
Date the weights (or, if earlier, the technical report) were first made public, YYYY-MM-DD, as dated by the publisher. A Hugging Face repository creation date is used only when no dated publisher page exists, with a note.
- License
other (minimax-community)
Source: model-card · README.md; YAML front matter
license_name: minimax-community
LICENSE (MINIMAX COMMUNITY LICENSE) grants use for non-commercial purposes; commercial use requires a "Built with MiniMax M3.1-Flash" notice and a one-time notice to MiniMax, or prior written authorization above US$20M yearly revenue.
License of the released weights as declared by the publisher (model card metadata or license file), e.g. apache-2.0, mit, or the name of a custom license.
- Input modalities
text + image + video
Source: model-card · README.md; Model at a Glance
Text, image, and video inputs; text output
Input modalities of the released checkpoint as the publisher states them, from: text, image, video, audio, joined with ' + ' in that order ("text", "text + image + video").
Parameters
- Total params
428B parameters
Source: model-card · README.md; Model at a Glance
Approximately 428B total; 23B activated per token
Total parameter count as reported by the publisher. See params.note for whether embeddings, MTP heads or vision towers are included.
- Active params
23B parameters
Source: model-card · README.md; Model at a Glance
Approximately 428B total; 23B activated per token
Parameters used per token in the forward pass, as reported by the publisher.
- Active non-embedding (stated)
Not disclosed
Active parameters excluding the input embedding and the output head (unembedding). Stated by the publisher, or computed from params.active by subtracting vocab × d_model for each of the embedding and output head that params.active is stated to include (basis inferred, note with the arithmetic). Not disclosed when the scope of params.active is not stated.
- Counted total params
426.4B parameters
Calculated: embedding + output head + all experts + other weights, MiniMaxAI/MiniMax-M3.1-Flash@2f33a8b safetensors headers; reproduces stated total (other modalities) and active (non-embedding)
Parameters of the text backbone counted from the released checkpoint's safetensors headers (embedding, output head, all experts and other weights; excluding MTP modules, vision/audio towers and n-gram lookup tables). Shown only when the counts reproduce the publisher's stated total and active parameters within 5% under some scope.
- Counted embedding + head
2.458B parameters
Calculated: input embedding + output head, MiniMaxAI/MiniMax-M3.1-Flash@2f33a8b safetensors headers
Input embedding plus output head (once if tied), counted from the checkpoint.
- Non-emb. params (counted)
423.9B parameters
Calculated: dense + routed backbone weights; excludes input embedding, output head, lookup tables, MTP and other modalities, MiniMaxAI/MiniMax-M3.1-Flash@2f33a8b safetensors headers; reproduces stated total (other modalities) and active (non-embedding)
Language backbone weights excluding input embeddings, output head, lookup/Engram tables, MTP modules and vision/audio towers. Equals params.counted_total minus params.counted_embedding. Same validation as params.counted_total.
- Largest layer (counted)
7.416B parameters
Calculated: max(sum of dense and routed weights sharing a full layers.<index> tensor path), all experts included, MiniMaxAI/MiniMax-M3.1-Flash@2f33a8b safetensors headers
Largest group of language-backbone weights sharing a full layers.<index> tensor path, including every routed expert. Excludes lookup/Engram tables, embeddings, output head, MTP and other modalities. Hybrid checkpoints may store mixers and FFNs as separate layers. All-gather volume also depends on wrapping, sharding and dtype.
- Active non-emb. (counted)
23.7B parameters
Calculated: non-expert weights + routed experts × 4/128, excluding embedding and output head, MiniMaxAI/MiniMax-M3.1-Flash@2f33a8b safetensors headers; reproduces stated total (other modalities) and active (non-embedding)
Active parameters per token excluding the input embedding and output head, counted from the checkpoint as all non-expert weights plus routed-expert weights × top_k / experts. Same validation as params.counted_total.
- Counting scope
Approximate publisher figures for a native multimodal model; whether the vision encoder or the DSpark draft head is included is not stated. Same figures as MiniMax-M3.
Source: model-card · README.md; Model at a Glance
Approximately 428B total; 23B activated per token
What the publisher's counts include or exclude (MTP modules, embeddings, vision encoder, n-gram tables).
Shape
- Layers
60
Source: config · /text_config/num_hidden_layers
Number of transformer blocks in the main backbone (attention or token mixer plus FFN), excluding MTP modules.
- d_model
6,144
Source: config · /text_config/hidden_size
Residual stream width.
- Vocab
200,064
Source: config · /text_config/vocab_size
Embedding table rows (vocab_size in config, may include padding).
- Tied embeddings
No
Source: config · /text_config/tie_word_embeddings
Input embedding and output head share weights.
- d_model / layers
102.4
Calculated: d_model / layers
Width-to-depth ratio, d_model divided by the number of blocks.
Attention
- Token mixers
MSA (block-sparse over GQA)
Source: model-card · README.md; What’s New in M3.1-Flash
Sparse attention throughout: the first three full-attention layers are replaced with sparse attention.
Card, Model at a Glance: MiniMax Sparse Attention (MSA) throughout the model. Main attention keeps 64 query / 4 KV heads; the indexer selects key blocks per KV group.
Token-mixing layer types in the backbone, e.g. GQA, MLA, SWA, Gated DeltaNet, Mamba-2, DSA (DeepSeek sparse attention).
- Layer layout
60 MSA
Source: model-card · README.md; What’s New in M3.1-Flash
Sparse attention throughout: the first three full-attention layers are replaced with sparse attention.
Uniform: /text_config/sparse_attention_config/sparse_attention_freq | count 1 = 60 = /text_config/num_hidden_layers. MiniMax-M3 ran dense GQA in its first three layers.
Token-mixer order, summarized as a pattern or layer positions. The fact's optional sequence lists each mixer in order; a ratio alone does not establish the order. Auxiliary prediction modules and standalone FFNs are excluded.
- Global-attention layers
60
Source: config · /text_config/sparse_attention_config/sparse_attention_freq | count 1
All 60 layers run MSA (block-sparse global attention over GQA heads); M3's three leading dense GQA layers are replaced. sparse_attention_freq maps to layer_types minimax_m3_sparse in the Transformers config.
Layers whose KV cache grows with full context (dense or sparse global attention, MLA). Excludes sliding-window and linear/recurrent layers.
- Query heads
64
Source: config · /text_config/num_attention_heads
Query heads in the global-attention layers.
- KV heads
4
Source: config · /text_config/num_key_value_heads
Key/value heads in the global-attention layers. Not applicable to MLA, whose cache is a shared latent.
- Heads × head dim
8,192
Calculated: heads × head_dim
attn.heads × attn.head_dim, the query projection width of global layers.
- Q heads / KV head
16
Calculated: heads / kv_heads
attn.heads divided by attn.kv_heads in global layers.
- QK head dim
128
Source: config · /text_config/head_dim
Query/key dimension per head in global-attention layers (for MLA, nope + rope dims).
- Positional encoding
partial RoPE (64 of 128 dims)
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLAttention docstring
M3 attention: per-head Gemma QK-norm + partial RoPE
/text_config/rotary_dim 64 of /text_config/head_dim 128.
Positional scheme in global layers: RoPE, partial RoPE, NoPE, or mixed per layer type.
- RoPE base
10,000,000
Source: config · /text_config/rope_theta
MiniMax-M3 uses 5,000,000.
RoPE base frequency of the global layers at release.
- Rotary fraction
0.5
Source: config · /text_config/partial_rotary_factor
Fraction of each head's QK dimensions that are rotated.
- QK norm
Yes
Source: config · /text_config/use_qk_norm
Per head (/text_config/qk_norm_type per_head; MiniMaxM3VLAttention q_norm/k_norm over head_dim).
Queries and keys are normalized per head before the dot product.
- Sparse attention
MSA in all 60 layers: indexer picks 16 key blocks of 128 tokens per query and KV group, the query's own block always among them; 4 index heads × 128 dims
Source: config · config.json text_config.sparse_attention_config
"sparse_topk_blocks": 16, "sparse_block_size": 128,
Max-pooled block scores (sparse_score_type max); local-block boost and per-KV-group selection in MiniMaxM3VLIndexer.forward (sparse_local_block 1 forces block position_id // 128); index-value path disabled on all 60 layers (sparse_disable_index_value); use_sparse_attention true. Blog: inference efficiency improved "through more aggressive sparsity".
Token-selection mechanism inside global layers, e.g. DSA lightning indexer with top-k.
- QKV bias
No
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLAttention.__init__
self.q_proj = nn.Linear(config.hidden_size, config.num_attention_heads * self.head_dim, bias=False)
Transformers implementation of model_type minimax_m3_vl (the type this config declares); the card lists Transformers support as in progress.
Query/key/value projections have bias terms.
- Indexer key dim
128
Source: config · /text_config/sparse_attention_config/sparse_index_dim
One index key head shared across KV groups (MiniMaxM3VLIndexer.k_proj outputs index_head_dim); 4 index query heads (sparse_num_index_heads); cached in all 60 layers.
Width of the sparse-attention indexer key cached per token in each global layer (DSA lightning indexer), counted in the KV cache.
Feed-forward
- Activation
SwiGLU (swigluoai: gate·σ(1.702·gate)·(up + 1))
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLDenseMLP.forward
glu = gate * torch.sigmoid(gate * self.swiglu_alpha)
Config hidden_act = swigluoai, swiglu_alpha = 1.702; output (up + 1.0) * glu; inputs clamped (see ffn.clamp).
FFN activation (SwiGLU, GeGLU, ...).
- Dense FFN dim
12,288
Source: config · /text_config/dense_intermediate_size
Intermediate width of the dense FFN layers that are actually executed.
- Activation clamp
gate clamped at max 7, up clamped to [−7, 7] before the GLU; all dense, shared and routed FFNs
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLDenseMLP.forward, MiniMaxM3VLExperts._apply_gate
up = up.clamp(min=-self.swiglu_limit, max=self.swiglu_limit)
/text_config/swiglu_limit = 7.0.
Clamping of GLU gate / up activations (e.g. SwiGLU limit 7), with the layers it applies to.
- FFN bias
No
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLDenseMLP.__init__
self.gate_up_proj = nn.Linear(config.hidden_size, 2 * inter, bias=False)
FFN projections have bias terms.
- Dense FFN / d_model
2
Calculated: ffn.dim / d_model
ffn.dim divided by shape.d_model.
Mixture of experts
- Routed experts
128
Source: config · /text_config/num_local_experts
Routed experts per MoE layer.
- Experts per token
4
Source: config · /text_config/num_experts_per_tok
Routed experts selected per token.
- Expert dim
3,072
Source: config · /text_config/intermediate_size
Intermediate width of one routed expert.
- Leading dense layers
3
Source: config · /text_config/moe_layer_freq | count 0
Number of initial blocks that use a dense FFN instead of MoE.
- Router score
sigmoid
Source: config · /text_config/scoring_func
Gating function over expert logits (softmax, sigmoid).
- Load balancing
score-correction bias added to sigmoid scores for top-k selection only
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLTopKRouter.forward
scores_for_choice = routing_weights + self.e_score_correction_bias
Inference routing code (config /text_config/use_routing_bias true); the training-time bias update and any auxiliary loss are not disclosed.
Load-balancing method, with coefficients where disclosed.
- Routed scaling factor
2
Source: config · /text_config/routed_scaling_factor
Multiplies the routed-expert output before the shared expert is added (MiniMaxM3VLSparseMoeBlock.forward).
Multiplier applied to the combined routed-expert output (routed_scaling_factor).
- Renormalize top-k
Yes
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLTopKRouter.forward
top_k_weights /= top_k_weights.sum(dim=-1, keepdim=True)
Selected expert weights are renormalized to sum to 1.
- Expert dim / d_model
0.5
Calculated: moe.expert_dim / d_model
moe.expert_dim divided by shape.d_model.
- Sparsity (experts / top-k)
32
Calculated: experts / top_k
Routed experts divided by experts selected per token.
- Active / total
0.0537383
Calculated: params.active / params.total
params.active divided by params.total.
Multi-token prediction
- MTP depth
Not disclosed
Additional future tokens predicted during pretraining (0 when the model was trained without MTP).
- MTP weights released
No
Source: config · /weight_map | has mtp.
Config declares no MTP modules (M3's num_mtp_modules / num_nextn_predict_layers are absent) and the checkpoint has no mtp.* tensors. The repository's dspark/ folder is a separately configured 5-layer DSpark draft model (DSparkMiniMaxDraftModel) for speculative decoding, which the card says replaces M3's EAGLE-like MTP approach; it is not an MTP head.
The released checkpoint contains the MTP module weights.
Normalization and stability
- Norm
RMSNorm (1+w gain)
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLRMSNorm
Gemma-style RMSNorm: normalizes in fp32 and scales by `weight + 1`.
Config /text_config/use_gemma_norm true.
Normalization layer type in the blocks.
- Norm placement
pre
Source: code · modeling_minimax_m3_vl.py; MiniMaxM3VLDecoderLayer.forward
hidden_states = self.input_layernorm(hidden_states)
Pre-norm, post-norm, or sandwich (pre and post).
- Norm epsilon
1e-06
Source: config · /text_config/rms_norm_eps
Epsilon of the block normalization layers.
Context length
- Pretraining context
Not disclosed
Sequence length of the main pretraining stage.
- Trained context
Not disclosed
Longest sequence length trained on after context extension.
- Advertised context
1.049M tokens
Source: config · /text_config/max_position_embeddings
Card, Model at a Glance: "Context window: Up to 1,000,000 tokens".
Longest context the publisher says the model supports, possibly beyond trained length via RoPE scaling.
Pretraining recipe
- Pretraining tokens
Not disclosed
Tokens seen in pretraining including annealing and context extension, as reported.
- Optimizer
Not disclosed
Optimizer used for the bulk of parameters.
- Peak LR
Not disclosed
Peak learning rate of the main pretraining stage.
- Final LR
Not disclosed
Learning rate at the end of the decay.
- LR schedule
Not disclosed
Learning-rate schedule shape with phase boundaries.
- Warmup
Not disclosed
Warmup length in steps or tokens.
- Batch schedule / notes
Not disclosed
Global batch size, including any batch-size ramp: sequences × sequence length (token total), or the token total alone when only that is stated.
- Weight decay
Not disclosed
Decoupled weight decay coefficient.
- Adam betas
Not disclosed
(beta1, beta2) of the Adam-family optimizer or its AdamW fallback.
- Grad clip
Not disclosed
Global gradient-norm clipping threshold.
- Training precision
Not disclosed
Matmul precision of pretraining (BF16, FP8 recipe, NVFP4 recipe) with the scaling granularity where disclosed. Never inferred from the released checkpoint dtype.
- Data cutoff
January 2026
Source: code · chat_template.jinja; build_system_message default system prompt
Knowledge cutoff: January 2026.
Stated in the default system prompt of the released chat template, not in a pretraining description.
Pretraining data cutoff date.
KV cache
- KV bytes / token
138,240 bytes
Calculated: kv.bytes_at_context / 131072 tokens; uniform BF16, payload only; quantization overhead excluded. Global KV: 60 × (1152 × 16/8) B/entry
Retained KV cache divided by context length, including bounded SWA caches and indexer keys. Exports use uniform BF16 at 131,072 tokens. The website can select uniform payload precision (no quantization overhead) or sourced component formats (including scales and documented padding). This is cache payload, not peak prefill memory or persistent prefix storage.
- Global KV bytes / token
138,240 bytes
Calculated: 138240 B / 1 tokens (Global KV); uniform BF16, payload only; quantization overhead excluded. Global KV: 60 × (1152 × 16/8) B/entry
Long-context global KV bytes per token, including indexer keys; excludes bounded SWA caches. Compression rates and cross-layer cache reuse are included. Exports use uniform BF16; the website's storage selector also applies here. This is the field to compare with global-KV figures in reports, using the matching storage recipe.
- KV bytes / token / B active
6,010 bytes
Calculated: kv.bytes_per_token (131072 tokens) / (params.active / 1e9); uniform BF16, payload only; quantization overhead excluded. Global KV: 60 × (1152 × 16/8) B/entry
kv.bytes_per_token divided by active parameters in billions (131,072 tokens in exports).
- KV at context / B active
787,799,708 bytes
Calculated: kv.bytes_at_context (131072 tokens) / (params.active / 1e9); uniform BF16, payload only; quantization overhead excluded. Global KV: 60 × (1152 × 16/8) B/entry
kv.bytes_at_context divided by active parameters in billions (131,072 tokens in exports).
- KV at context
18,119,393,280 bytes
Calculated: 138240 B × 131072 (Global KV); uniform BF16, payload only; quantization overhead excluded. Global KV: 60 × (1152 × 16/8) B/entry
Retained KV cache for one sequence at the selected context, including SWA windows and indexer keys. Exports use uniform BF16 at 131,072 tokens. Excludes recurrent state, compressor tail state, draft/MTP caches, temporary prefill tensors, allocator metadata and persistent prefix snapshots. Does not estimate peak prefill or total serving memory.
Evaluations
- AA Intelligence Index
43
Source: leaderboard · Artificial Analysis model page /models/minimax-m3-1-flash, Wayback snapshot 2026-10-25
MiniMax-M3.1-Flash scores 43 on the Artificial Analysis Intelligence Index
Variant: MiniMax-M3.1-Flash. Index v4.3.2.
Artificial Analysis Intelligence Index v4.3.2 of the post-trained model, from a dated Wayback snapshot of its Artificial Analysis page. The note names the variant (reasoning setting).