01 · AI engineering
The life of an LLM request
Follow one chat message from the browser, through the gateway and retrieval, into the model, and back as a stream of tokens.
Beginner8 min7 stepsInteractive experiment
Learn
Short, animated lessons. Step through each request, switch the depth from beginner to advanced, and change the numbers yourself.
Follow one chat message from the browser, through the gateway and retrieval, into the model, and back as a stream of tokens.
Beginner8 min7 stepsInteractive experiment
Why serving more users at once makes the server faster overall but each user slower, and how to pick the balance.
Intermediate10 min6 stepsInteractive experiment
Answer repeated questions without calling the model, and learn why a cache that matches on meaning can return the wrong answer.
Intermediate9 min6 stepsInteractive experiment