Inside the model
What actually happens to your text inside a transformer.
A visual, hands-on guide to LLM inference and serving. It follows a prompt through tokenization, attention, KV caches and GPU kernels, then through batching, schedulers, parallelism and the production stack that streams the answer back.
The animation runs in slow motion. Click any stage to open the chapter that explains it.
Experiment first and read later, or the other way round.
Read it in order or jump around. Every chapter has live diagrams and ends with interview-style questions.
What actually happens to your text inside a transformer.
Where time and memory go when a single prompt runs.
How serving engines juggle hundreds of users at once.
Tricks that buy speed, memory and features.
When one GPU is not enough.
Measuring, routing, scaling and paying for it.
Reasoning, agents, images and embeddings stress the engine differently.
Getting GPUs, weights and visibility into a cluster.
Every diagram on the site uses the same colour for the same concept, so you can read a new chart at a glance.