The Open Model EcosystemLesson 68 of 71

Module 7 · Judging models and claims

Measuring latency properly

In this lesson

  • 8 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 7 of 10 in this chapter

This chapter’s goalSettle a model choice with evidence you produced yourself (a private held-out set, a pinned harness, a quantisation compared against its full-precision reference, latency measured at real concurrency and cost expressed per task rather than per token) and explain to a sceptical colleague which published claims about that model you believe and why.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Finding the knee: p95 latency against concurrency01020132Concurrent requestsp95 total latency, seconds—— 8k context limit, no prefix caching– – The same server with prefix cachingCapacity is the concurrency beyond which latency rises steeply for little extra throughput, and itsits well below the point at which the server stops working. Both things that move the knee (a shortercontext limit and prefix caching) are configuration rather than hardware.
Capacity is the concurrency beyond which latency rises steeply for little extra throughput, and it sits well below the point at which the server stops working. Both things that move the knee (a shorter context limit and prefix caching) are configuration rather than hardware.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

Three numbers, not one

Total response time is a sum of two very different things, and reporting only the sum hides which one you can fix.

Time to first token (TTFT) is prefill: reading the prompt. It scales with prompt length and, on a busy server, with queueing. This is what a user waiting for something to appear experiences.

Time per output token (TPOT) is decode. It is roughly constant per token and set by memory bandwidth, as the earlier arithmetic showed.

Total = TTFT + TPOT × output tokens.

Two systems with identical totals feel completely different: 200 ms to first token and then a steady stream reads as fast; 3 seconds of nothing followed by an instant block reads as broken. Measure and report both.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Maths You Actually Need exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Measuring latency properly’, in The Open Model Ecosystem. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/open-models/measuring-latency-properly (Accessed: 29 November 2026).