Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Recursive · Architecture map

Recursive Flint

A compact MoE with 35 sliding-window layers and 14 global NoPE layers.

Recursive Flint, 2026-10 · Flint release timeline

Inside Recursive Flint

Parameters
39.8B · 2.5B active
Layers
49
Width
2,048
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete Recursive Flint architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE. Four KV heads of width 128 per layer. Only the 14 global layers retain the full sequence; local layers retain at most 513 tokens. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup150,1442,048Input token vectorsCL2,048Execution order · 49 layersLayer 1: Initial global dense layersLayer 2: Initial global dense layersLayer 3: Local expert layersLayer 4: Local expert layersLayer 5: Local expert layersLayer 6: Global expert layersLayer 7: Local expert layersLayer 8: Local expert layersLayer 9: Local expert layersLayer 10: Global expert layersLayer 11: Local expert layersLayer 12: Local expert layersLayer 13: Local expert layersLayer 14: Global expert layersLayer 15: Local expert layersLayer 16: Local expert layersLayer 17: Local expert layersLayer 18: Global expert layersLayer 19: Local expert layersLayer 20: Local expert layersLayer 21: Local expert layersLayer 22: Global expert layersLayer 23: Local expert layersLayer 24: Local expert layersLayer 25: Local expert layersLayer 26: Global expert layersLayer 27: Local expert layersLayer 28: Local expert layersLayer 29: Local expert layersLayer 30: Global expert layersLayer 31: Local expert layersLayer 32: Local expert layersLayer 33: Local expert layersLayer 34: Global expert layersLayer 35: Local expert layersLayer 36: Local expert layersLayer 37: Local expert layersLayer 38: Global expert layersLayer 39: Local expert layersLayer 40: Local expert layersLayer 41: Local expert layersLayer 42: Global expert layersLayer 43: Local expert layersLayer 44: Local expert layersLayer 45: Local expert layersLayer 46: Global expert layersLayer 47: Local expert layersLayer 48: Local expert layersLayer 49: Global expert layersInitial global dense layers · matches this colour in the execution-order barInitial global dense layersInitial global dense layers · 2 repetitions2 layers · one layer shown2RMSNorm before this operation.RMSNormGQA: Dense SwiGLU intermediate width 6144.GQANo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPENormalise queries and keys before attention scores. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.QK-norm32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Attention sinkAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormSwiGLU: Dense SwiGLU intermediate width 6144.SwiGLUAdd the branch output to the original stream. +Layer type · execution order aboveLocal expert layers · matches this colour in the execution-order barLocal expert layersLocal expert layers · 35 repetitions35 layers · one layer shown35RMSNorm before this operation.RMSNormGQA: Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.GQARotate query and key position components before attention scores; values are unchanged. Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.RoPENormalise queries and keys before attention scores. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.QK-normSliding-window attention over 513 tokens.51332 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Attention sinkAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.MoE6 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +6 of 256 experts + 1sharedLayer type · execution order aboveGlobal expert layers · matches this colour in the execution-order barGlobal expert layersGlobal expert layers · 12 repetitions12 layers · one layer shown12RMSNorm before this operation.RMSNormGQA: Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.GQANo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPENormalise queries and keys before attention scores. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.QK-norm32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Attention sinkAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.MoE6 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +6 of 256 experts + 1sharedLayer type · execution order aboveAfter all 49 layer executionsResidual streamLast columnCL2,048Final RMSNormA separate learned vocabulary projection.Output weights2,048150,144Vocabulary scoresSoftmax150,144Next-token probabilities
Inside grouped-query attention · Initial global dense layers
8 query heads per group × 4 K/V groups.

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

Recursive Flint: Initial global dense layers · grouped-query attention32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE. Four KV heads of width 128 per layer. Only the 14 global layers retain the full sequence; local layers retain at most 513 tokens.4 KV groups; the front face shows one representative.4 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wq2,048128Wk. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wk2,048128Wv. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wv2,048128RMSNorm. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RMSNormRMSNorm. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RMSNormK cache. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Sink32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.NoPECLCL×. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.×Joined heads. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.32Wo. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wo4,0962,048Attention output. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Inside grouped-query attention · Local expert layers
8 query heads per group × 4 K/V groups.

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

Recursive Flint: Local expert layers · grouped-query attention32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE. Four KV heads of width 128 per layer. Only the 14 global layers retain the full sequence; local layers retain at most 513 tokens.4 KV groups; the front face shows one representative.4 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wq2,048128Wk. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wk2,048128Wv. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wv2,048128RMSNorm. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RMSNormRoPE. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RoPERMSNorm. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RMSNormRoPE. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.RoPEK cache. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128≤ 513V cache. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 513Q context. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Window 51332 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.SinkCLCL×. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.×Joined heads. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.32Wo. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Wo4,0962,048Attention output. 32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Model-specific details
Initial global dense layers · 2 repetitions
Dense SwiGLU intermediate width 6144.
Local expert layers · 35 repetitions
Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.
Global expert layers · 12 repetitions
Six of 256 routed SwiGLU experts of width 512, plus one shared expert of width 1024.
Attention and positions
32 query heads share four KV heads of width 128. Per-head Q/K RMSNorm and learned attention sinks appear throughout. The 35 local layers use RoPE and a 513-token window; 14 global layers use NoPE.
Memory
Four KV heads of width 128 per layer. Only the 14 global layers retain the full sequence; local layers retain at most 513 tokens.

What to notice

How it scores

Developer reported

Checkpoint / sizeResultEvaluation
Flint74.2%SWE-bench Verified Release evaluation
Flint54.9%Terminal-Bench 2.1Release evaluation
Flint89.7%SWE-bench Pro v2Release evaluation

Explore the components

Sources for this map