Skip to content

KV Cache Research Support

From "what is a vector?" to designing your own KV cache experiment. Every page has a toy to play with and checks that teach you when you get them wrong.

Part 1 · Foundations

Vectors, neural networks, tokens and next-token prediction. No ML background needed.

Part 2 · Transformers

Attention, masking, multi-head, the transformer block and positions.

Part 3 · The KV cache

Why we cache, prefill vs decode, memory math, GQA, and what limits speed.

Coming next

Serving systems, cache reuse across requests and models, and our own research.