Home

Inside a Language Model

Five zero-assumed-knowledge explainers on how a language model actually turns your prompt into words — how text becomes numbers, how attention decides what matters, how the model writes one word at a time, the memory trick (the KV cache) that keeps it fast, and why long chats get slower and pricier.