Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Liquid AI · Architecture map

Liquid d1

Single-pass decisions over text and media, with a causal 3B variant and a smaller bidirectional Omni variant.

d1-3B and d1-omni-600M, October 2026 · LFM release timeline

Inside Liquid d1

Size
Parameters
3.12B
Layers
30
Width
2,048
Mixer
Hybrid
Select a component to explore it. Layer colours match the execution-order strip.
The complete Liquid d1 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions. One pass over the state and question; vocabulary logits are read at the answer slot without generating tokens. A single forward pass produces calibrated probabilities over the supplied options, with zero generated tokens.Text becomes token IDs.Text → tokens → IDsstate…questionoptionsEmbedding lookup128,0002,048Input token vectorsCL2,04827 layers at width 1152, patch size 16; projected into the text stream.Vision / videoencoderExecution order · 30 layersLayer 1: Convolution layersLayer 2: Convolution layersLayer 3: GQA layersLayer 4: Convolution layersLayer 5: Convolution layersLayer 6: GQA layersLayer 7: Convolution layersLayer 8: Convolution layersLayer 9: Convolution layersLayer 10: GQA layersLayer 11: Convolution layersLayer 12: Convolution layersLayer 13: Convolution layersLayer 14: GQA layersLayer 15: Convolution layersLayer 16: Convolution layersLayer 17: Convolution layersLayer 18: GQA layersLayer 19: Convolution layersLayer 20: Convolution layersLayer 21: Convolution layersLayer 22: GQA layersLayer 23: Convolution layersLayer 24: Convolution layersLayer 25: GQA layersLayer 26: Convolution layersLayer 27: Convolution layersLayer 28: GQA layersLayer 29: Convolution layersLayer 30: Convolution layersConvolution layers · matches this colour in the execution-order barConvolution layersConvolution layers · 22 repetitions22 layers · one layer shown22RMSNorm before this operation.RMSNormGated short conv: Causal three-tap gated convolution and SwiGLU width 10752.Gated short convAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: Causal three-tap gated convolution and SwiGLU width 10752.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveGQA layers · matches this colour in the execution-order barGQA layersGQA layers · 8 repetitions8 layers · one layer shown8RMSNorm before this operation.RMSNormSoftmax attention: Causal GQA and SwiGLU width 10752.Softmax attentionRotate query and key position components before attention scores; values are unchanged. Causal GQA and SwiGLU width 10752.RoPENormalise queries and keys before attention scores. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: Causal GQA and SwiGLU width 10752.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveAfter all 30 layer executionsResidual streamAnswer slotCL2,048Final RMSNormThe vocabulary head scores answer tokens at the answer slot; selected token scores become calibrated option probabilities.Tied vocabulary weights2,048128,000Select answer-token scoresCalibrated softmax15%70%15%NOption probabilities · zero generated tokens
Inside grouped-query attention · GQA layers
4 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Liquid d1: GQA layers · grouped-query attention8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions. One pass over the state and question; vocabulary logits are read at the answer slot without generating tokens.8 KV groups; the front face shows one representative.8 KV groups4 heads / group; the front face shows one representative.4 heads / groupAttention input. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Wq2,04864Wk. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Wk2,04864Wv. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Wv2,04864RMSNorm. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.RMSNormRoPE. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.RoPERMSNorm. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.RMSNormRoPE. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.RoPEK cache. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache64CLV cache. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache64CLQ context. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Earlier context is dimmed; outlined columns are current.Current token computation.Q context64CLScaled query–key scores, masking and softmax. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.CLCL×. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.×Joined heads. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.32Wo. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Wo2,0482,048Attention output. 8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Model-specific details
Convolution layers · 22 repetitions
Causal three-tap gated convolution and SwiGLU width 10752.
GQA layers · 8 repetitions
Causal GQA and SwiGLU width 10752.
Attention and positions
8 GQA layers use 32 query heads and 8 KV heads of width 64. Per-head Q/K RMSNorm precedes RoPE. The other layers use causal gated short convolutions.
Memory
One pass over the state and question; vocabulary logits are read at the answer slot without generating tokens.

What changes between variants

How it scores

Developer reported

Checkpoint / sizeResultEvaluation
d1-3B (da1fe36)3B48.99Decision Index 0.3100% of requests answered; kit 62d2f51
d1-Omni-600M (414f8d6)Omni 600M14.64Decision Index 0.373.5% of requests answered; kit 62d2f51

Explore the components

Sources for this map