Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Swiss AI · Architecture map

Apertus

A dense transformer with xIELU activations and query-key norms.

Apertus, September 2025 · Apertus release timeline

Inside Apertus

Size
Parameters
8B
Layers
32
Width
4,096
Mixer
Grouped-query
Select a component to explore it.
The complete Apertus architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8). Keys and values for 8 heads of size 128, per token per layer. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup131,0724,096Input token vectorsCL4,096Transformer layers 1–32Transformer layers 1–32 · 32 repetitions32 layers · one layer shown32RMSNorm before this operation.RMSNormGrouped-query attention: One dense network per layer (hidden size 21504) using the xIELU activation, with no gate.Grouped-queryattentionRotate query and key position components before attention scores; values are unchanged. One dense network per layer (hidden size 21504) using the xIELU activation, with no gate.RoPENormalise queries and keys before attention scores. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormxIELU feed-forward: One dense network per layer (hidden size 21504) using the xIELU activation, with no gate.xIELUfeed-forwardAdd the branch output to the original stream. +Residual streamLast columnCL4,096Final RMSNormA separate learned vocabulary projection.Output weights4,096131,072Vocabulary scoresSoftmax131,072Next-token probabilities
Inside grouped-query attention · Transformer layers 1–32
4 query heads per group × 8 K/V groups.

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

Apertus: Transformer layers 1–32 · grouped-query attention32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8). Keys and values for 8 heads of size 128, per token per layer.8 KV groups; the front face shows one representative.8 KV groups4 heads / group; the front face shows one representative.4 heads / groupAttention input. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input4,096CLWq. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Wq4,096128Wk. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Wk4,096128Wv. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Wv4,096128RMSNorm. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).RMSNormRoPE. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).RoPERMSNorm. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).RMSNormRoPE. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).RoPEK cache. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).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 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).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 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).CLCL×. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).×Joined heads. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).32Wo. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Wo4,0964,096Attention output. 32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output4,096CL
Model-specific details
Transformer layers 1–32 · 32 repetitions
One dense network per layer (hidden size 21504) using the xIELU activation, with no gate.
Attention and positions
32 query heads share 8 key/value heads. Queries and keys are normalised. Rotary positions with theta 12,000,000 and Llama 3 style scaling (factor 8).
Memory
Keys and values for 8 heads of size 128, per token per layer.

Distinctive choices

The picker also includes the 70B checkpoint from the September 2025 release.

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
Apertus 70B Instruct70B5Estimated by AAAA Index 4.3.2Published checkpoint
Apertus 8B Instruct8B5Estimated by AAAA Index 4.3.2Published checkpoint

Explore the components

Sources for this map