2/30
Part 1 of 7 · Two clocksLearn

A streamed answer has two clocks

An outdoor shop sells tents, tarps and lanterns, and its website has a support assistant. A customer types a question, and the assistant answers from the shop's own instructions and catalog. Every request looks about the same:

One request to the shop's assistant, in tokens
010002000
what the model reads, then what it writes
instructions and catalogquestionanswer

The shop runs an open model, Qwen2.5-7B-Instruct, on one rented H100 GPU. This lesson times those requests, works out how many fit on the GPU at once, and sizes a fleet for far more traffic. Anthropic's inference roles optimize latency and throughput (1 source), and Netflix hires engineers who build high-traffic services for online inference (1 source).