Nemotron 3 Nano 4B
NVIDIA · Nemotron 3 · open weights
- GQA
- Mamba (SSM)
- Hybrid
- RoPE
- Pre-norm
Facts and where they come from
| Released | 2026-03 | config.jsonconfig.jsonHugging Face repository creation date (api.createdAt) |
|---|---|---|
| Licence | other | config.jsonconfig.jsonREADME metadata: license |
| Total parameters | 4B | labmodel cardmodel name NVIDIA-Nemotron-3-Nano-4B |
| Active parameters | not disclosed | not disclosed |
| Context length | 256K tokens | config.jsonconfig.jsonmax_position_embeddings |
| Norm placement | pre | codemodelling codetransformers 5.18.0 nemotron_h: one norm before each mixer or MLP block |
| Norm type | RMSNorm | codemodelling codetransformers 5.18.0 nemotron_h: one norm before each mixer or MLP block |
| QK-norm | no | codemodelling codeno q/k normalisation in the attention block |
| Positional encoding | RoPE | codemodelling coderotary on the full head (default) |
| Parallel attention and MLP | no | codemodelling codetransformers 5.18.0 nemotron_h: one norm before each mixer or MLP block |
Architecture, drawn from the data
21× Mamba-2 + 4× GQA 40q/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) | 3.97B |
|---|---|
| Active per token (modelled) | 3.97B |
| Without embeddings and output head | 3.15B total, 3.15B active |
| Published weights (Hugging Face count) | 3.97B |
| KV cache per token, BF16 (layers that grow with context) | 16 KiB |
| KV cache + state at 256K tokens, BF16 | 4.04 GiB |
| Decode FLOPs per token at 4K context | 7.58 GFLOP |
| Prefill FLOPs for a 4K prompt | 27 TFLOP |
KV cache against context
Every architecture field
| Field | Value | Source |
|---|---|---|
| d_model | 3,136 | config.jsonconfig.jsonhidden_size |
| vocab | 131,072 | config.jsonconfig.jsonvocab_size |
| tied_embeddings | false | config.jsonconfig.jsontie_word_embeddings |
| mixers.full.type | attn | codemodelling codeattention block |
| mixers.full.heads | 40 | 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.mamba.type | mamba2 | codemodelling codeMamba-2 mixer |
| mixers.mamba.heads | 96 | config.jsonconfig.jsonmamba_num_heads |
| mixers.mamba.head_dim | 80 | config.jsonconfig.jsonmamba_head_dim |
| mixers.mamba.state | 128 | config.jsonconfig.jsonssm_state_size |
| mixers.mamba.groups | 8 | config.jsonconfig.jsonn_groups |
| mixers.mamba.conv_kernel | 4 | config.jsonconfig.jsonconv_kernel |
| ffns.dense.type | dense | codemodelling codeMLP block |
| ffns.dense.d_ff | 12,544 | config.jsonconfig.jsonintermediate_size |
| ffns.dense.gated | false | codemodelling codeMLP: two matrices, no gate |
| layout | 1× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 2× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× full/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× full/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× full/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 2× mamba/none · 1× full/none · 1× none/dense · 3× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense · 1× mamba/none · 1× none/dense | config.jsonconfig.jsonhybrid_override_pattern |
| norms_per_layer | 1 | codemodelling codetransformers 5.18.0 nemotron_h: one pre-norm per block (each block is a mixer or an MLP) |
Sources
- config.json @ dfaf35d
- model card
- announcement
- modelling code · transformers 5.18.0 modelling code, or the model repository's own modelling file at the pinned revision
Listed in the LLM Architecture Gallery checklist as “Nemotron 3 Nano (4B)” (name only; see about).