- In short
- p95 latency, not median latency, is the number that predicts SLA breaches under real concurrent load. Median latency reflects the typical request, but SLA violations are driven by the slower tail of requests. Latency targets must therefore be set and tested against p95 under realistic concurrency, not against a single-request demo that never exercises the tail.
Why the tail sets the SLA, not the middle
Latency has the same tail problem that cost does. When you promise a latency SLA, "responses within three seconds," you are promising it for essentially all traffic, not for the average request. The exam's applied point is that the number which predicts whether you keep that promise is p95, the latency below which 95% of requests complete, not the median. The median describes the typical request and looks reassuring; the SLA is broken by the slowest 5%, and only a tail percentile like p95 sees them.
This is an apply-level skill because it changes how you set and test targets. You design against p95, you measure p95, and you treat the median as a description of the easy case rather than as evidence the SLA holds. Report the median and you are answering a question nobody's SLA asked.
- p95 latency as the design target
- The practice of setting and testing latency SLAs against the 95th-percentile latency under realistic concurrent load, rather than against median or single-request latency. p95 captures the slow tail of requests that actually drives SLA breaches.
Median hides the breaches
Consider why the median misleads. In a skewed latency distribution, most requests are quick, so the median sits comfortably under the SLA. But a meaningful minority run long, and those are the requests that blow past the SLA line. Because the median is defined by the middle request, it is blind to the tail by construction, an entire band of slow requests can violate the SLA while the median never moves. A team watching median latency sees green while users on the tail are timing out.
p95 is chosen precisely because it lifts the measurement into that tail. Setting the target at p95 says "95% of requests must meet this," which is close to the SLA's actual promise, and testing p95 surfaces the slow band the median concealed. The percentile is not a technicality; it is the difference between measuring the case that matters and the case that flatters.
Concurrency is where the tail grows
The second half of the knowledge point is load. Latency measured one request at a time is not the latency users see in production, because production runs many requests concurrently, and concurrency stretches the tail. Queuing, contention, and shared-resource pressure all push the slow requests slower under load, so a system that is comfortably fast for a single request can miss its SLA badly under realistic concurrency. This is why a single-request demo proves almost nothing about SLA compliance: it never creates the conditions, concurrent load, that produce the breaching tail.
The rule that follows is to test p95 under realistic concurrency, load that resembles production traffic, not a one-at-a-time bench test. Only that combination, tail percentile plus concurrent load, exercises the failure mode the SLA is exposed to.
What the exam trips candidates on
Two traps. The first is reporting median latency from a low-volume demo as evidence the system will meet a production SLA, which measures the easy case and ignores the tail. The second is assuming a system that is fast for one request at a time remains fast under concurrent production load, ignoring how concurrency stretches the tail. The credited answer sets and tests the target at p95 under realistic concurrency.
Worked example
A team must meet a 3-second latency SLA. In a demo they send requests one at a time and report a median latency of 1.4 seconds, concluding the SLA is comfortably met. The system will run at high concurrency in production. What is wrong with this evidence, and what should they measure?
The evidence is wrong on both axes this knowledge point warns about. First, they reported the median, which describes the typical request and is blind to the tail by construction. The 3-second SLA is broken by the slowest requests, not the middle one, so a 1.4-second median says nothing about whether the slow 5% stay under three seconds. They should be reporting p95, the percentile that actually sees the tail the SLA is exposed to. Second, they measured one request at a time, but production runs at high concurrency, and concurrency stretches the tail through queuing and contention, so the single-request numbers understate the latency users will actually experience.
Put together, a 1.4-second single-request median is fully compatible with a p95 that exceeds three seconds under load, which would mean routine SLA breaches even though the demo looked comfortable. The correct measurement is to generate load that resembles production concurrency and report p95 latency under that load, then set the design target so p95 sits under the 3-second SLA with margin. If p95-under-load exceeds the SLA, the configuration needs a lever, a faster tier, caching to cut per-request time, or reduced output length, rather than a re-report of the flattering median.
Common misreadings to avoid
Misconception
A low median latency in a demo shows the system will meet its production SLA.
What's actually true
Misconception
If the system is fast for a single request, it will be fast under production load too.
What's actually true
How this shows up on the exam
Expect a latency claim backed by a median and/or a single-request demo, against a concurrent-production SLA. The reliable reading is that p95 under realistic concurrency is the design and test target, and that median or single-request numbers do not predict SLA compliance. This knowledge point builds on the cost and latency levers, shares its tail-versus-average logic with aggregate metrics vs per-request decomposition, and feeds the dual-constraint justification capstone where a latency target must be met alongside a cost ceiling.
A team reports a 1.4-second median latency from a single-request demo as proof it meets a 3-second SLA for a high-concurrency production system. What should they measure instead?
People also ask
Why use p95 latency instead of median?
Should latency be tested under concurrent load?
Is a fast single-request demo enough for an SLA?
Watch and learn
Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.
No videos curated for this concept yet
We are still curating the best official and community videos for this topic.
Official prep for this domain
Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.
References & primary sources
Master this concept with Archie
Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.