Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Aleph Alpha · Architecture map

Kolibri-1

Four local-attention layers for every global layer, with six routed experts and one shared expert per token.

Kolibri-1, 2026-10 · Kolibri release timeline

Inside Kolibri-1

Parameters
78.1B · 3.46B active
Layers
50
Width
2,560
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete Kolibri-1 architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys. 40 local layers keep at most 513 tokens; ten global layers retain the full context, with four KV heads of width 128. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup128,0002,560Input token vectorsCL2,560Execution order · 50 layersLayer 1: Local expert layersLayer 2: Local expert layersLayer 3: Local expert layersLayer 4: Local expert layersLayer 5: Global expert layersLayer 6: Local 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: Local expert layersLayer 15: Global expert layersLayer 16: Local expert layersLayer 17: Local expert layersLayer 18: Local expert layersLayer 19: Local expert layersLayer 20: Global expert layersLayer 21: Local expert layersLayer 22: Local expert layersLayer 23: Local expert layersLayer 24: Local expert layersLayer 25: Global expert layersLayer 26: Local 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: Local expert layersLayer 35: Global expert layersLayer 36: Local expert layersLayer 37: Local expert layersLayer 38: Local expert layersLayer 39: Local expert layersLayer 40: Global expert layersLayer 41: Local expert layersLayer 42: Local expert layersLayer 43: Local expert layersLayer 44: Local expert layersLayer 45: Global expert layersLayer 46: Local expert layersLayer 47: Local expert layersLayer 48: Local expert layersLayer 49: Local expert layersLayer 50: Global expert layersLocal expert layers · matches this colour in the execution-order barLocal expert layersLocal expert layers · 40 repetitions40 layers · one layer shown40RMSNorm before this operation.RMSNormGrouped-query attention: Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.RoPESliding-window attention over 513 tokens.513Add the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.MoE6 of 384 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 384 experts + 1sharedLayer type · execution order aboveGlobal expert layers · matches this colour in the execution-order barGlobal expert layersGlobal expert layers · 10 repetitions10 layers · one layer shown10RMSNorm before this operation.RMSNormGrouped-query attention: Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.MoE6 of 384 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 384 experts + 1sharedLayer type · execution order aboveAfter all 50 layer executionsResidual streamLast columnCL2,560Final RMSNormA separate learned vocabulary projection.Output weights2,560128,000Vocabulary scoresSoftmax128,000Next-token probabilities
Inside grouped-query attention · Local expert layers
12 query heads per group × 4 K/V groups.

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

Kolibri-1: Local expert layers · grouped-query attention48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys. 40 local layers keep at most 513 tokens; ten global layers retain the full context, with four KV heads of width 128.4 KV groups; the front face shows one representative.4 KV groups12 heads / group; the front face shows one representative.12 heads / groupAttention input. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,560CLWq. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wq2,560128Wk. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wk2,560128Wv. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wv2,560128RoPE. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.RoPERoPE. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.RoPEK cache. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128≤ 513V cache. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 513Q context. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Window 513CLCL×. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.×Joined heads. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.48Wo. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wo6,1442,560Attention output. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,560CL
Inside grouped-query attention · Global expert layers
12 query heads per group × 4 K/V groups.

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

Kolibri-1: Global expert layers · grouped-query attention48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys. 40 local layers keep at most 513 tokens; ten global layers retain the full context, with four KV heads of width 128.4 KV groups; the front face shows one representative.4 KV groups12 heads / group; the front face shows one representative.12 heads / groupAttention input. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,560CLWq. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wq2,560128Wk. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wk2,560128Wv. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wv2,560128RoPE. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.RoPERoPE. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.RoPEK cache. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.CLCL×. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.×Joined heads. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.48Wo. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Wo6,1442,560Attention output. 48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,560CL
Model-specific details
Local expert layers · 40 repetitions
Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.
Global expert layers · 10 repetitions
Six of 384 routed SwiGLU experts of width 512, plus one shared expert of width 512. Exact Quantile Balancing balances expert load during training.
Attention and positions
48 query heads share four KV heads, each width 128. Four 513-token sliding-window layers precede each full-attention layer. RoPE is applied to queries and keys.
Memory
40 local layers keep at most 513 tokens; ten global layers retain the full context, with four KV heads of width 128.

What to notice

How it scores

Developer reported

Checkpoint / sizeResultEvaluation
Kolibri-184.3%GPQA Diamond English; developer evaluation

Explore the components

Sources for this map