archdb

LLM architectures and pretraining recipes, with sources.

MiniMax-M3

MiniMax · reasoning checkpoint

No base checkpoint is public; facts describe the released post-trained checkpoint.

Open in the comparison table Hugging Face ↗ Paper ↗

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-06-11

Source: paper · p.1 abstract; arXiv stamp
arXiv:2606.13392v1 [cs.AI] 11 Jun 2026

Technical report linked from the model card; its abstract says M3 has been publicly released on Hugging Face. The Hugging Face repository was created 2026-06-02, but its commit history starts 2026-06-12.

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 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; Highlights
enabling deeper semantic fusion across text, image, and video

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; intro
It has ~428B parameters and ~23B activated parameters.

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; intro
It has ~428B parameters and ~23B activated parameters.

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@f0e1c1e 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@f0e1c1e 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@f0e1c1e 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@f0e1c1e 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.69B parameters

Calculated: non-expert weights + routed experts × 4/128, excluding embedding and output head, MiniMaxAI/MiniMax-M3@f0e1c1e 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 is included is not stated.

Source: model-card · README.md; intro
MiniMax-M3 is a native multimodal model with 1M context. It has ~428B parameters and ~23B activated parameters.

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

GQA, MSA

Source: model-card · README.md; MiniMax Sparse Attention (MSA)
M3 introduces MiniMax Sparse Attention (MSA) to improve long context efficiency.

Token-mixing layer types in the backbone, e.g. GQA, MLA, SWA, Gated DeltaNet, Mamba-2, DSA (DeepSeek sparse attention).

Layer layout

3 GQA + 57 MSA

Inferred from the source; see the explanation below.

Source: config · config.json; /text_config/sparse_attention_config/sparse_attention_freq
"sparse_attention_freq": [ 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]

sparse_attention_freq has 3 zeros (layers 0–2) and 57 ones. sparse_attention_freq selects MSA at 1 and dense GQA at 0; backbone only.

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/num_hidden_layers

3 dense GQA + 57 MSA layers; MSA is block-sparse global attention.

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

5,000,000

Source: config · /text_config/rope_theta

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: 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 sparse layers (sparse_disable_index_value); use_sparse_attention true.

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)

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 only in the 57 MSA 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.

Shared experts

1

Source: config · /text_config/n_shared_experts

Always-on experts per MoE layer.

Expert dim

3,072

Source: config · /text_config/intermediate_size

Intermediate width of one routed expert.

Shared expert dim

3,072

Source: config · /text_config/shared_intermediate_size

Total intermediate width of the shared expert(s).

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 num_mtp_modules=7 and num_nextn_predict_layers=1; the checkpoint has no mtp.* tensors.

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: "native multimodal model with 1M context".

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 size

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.

Extra objectives

native multimodal: mixed text, image and video training from the first step

Source: model-card · README.md; Highlights
M3 undergoes mixed-modality training from the very first step, enabling deeper semantic fusion across text, image, and video.

Objectives beyond next-token prediction and MTP (fill-in-the-middle rate, distillation, multimodal tokens from the start).

Scaling & HP transfer

Scaling ladder

MSA ablations: 109B-A6B MoE (41 layers, d_model 3072) at 3T tokens; 10.53B-A1.47B pilot (16 layers, d_model 2048)

Source: paper · MSA report p.8 §5.1; App. B.1
All models use the same 41-layer MoE backbone, with approximately 109B total parameters and 6B activated parameters per token.

Smaller models trained to choose the architecture or recipe (sizes, token budgets), as disclosed.

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

29

Source: leaderboard · Artificial Analysis model page /models/minimax-m3, Wayback snapshot 2026-10-19
MiniMax-M3 scores 29 on the Artificial Analysis Intelligence Index

Variant: MiniMax-M3. 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).

All models · Link to this model