AI & LLMs · Nov 22, 2026
The Architecture of Modern LLM Serving
Pre-training is a one-time cost; serving compounds every day. A first-principles walk through why decoding is memory-bound, where the 128 KB-per-token KV cache comes from, and how PagedAttention, continuous batching and RadixAttention cut GPU bills by 6–7x.