Set Latency Targets for Three AI Products
The interviewer asksYour inference platform serves a chat app, a coding assistant and an overnight document-processing job. Set latency targets for each.
AI Infrastructure PMAI Platform PM (secondary)CoreTechnical roundRepresentative7 min
On this page
The 30-second version
- Targets follow the user experience of each product.
- Chat: fast first token (e.g. under 1 s at 95th percentile), steady output speed.
- Coding assistant: very fast first token for inline suggestions (hundreds of milliseconds).
- Overnight processing: no latency target; throughput and cost per document matter.
- Measure at high percentiles; tighter targets cost more capacity.
What it's really testing
- Setting serving targets
- Percentiles
- Cost trade-offs
How to structure your answer
- User experience per product.
- Targets.
- Measurement.
- Cost.
The interview, played out
- InterviewerSet latency targets for a chat app, a coding assistant and an overnight document job.
- CandidateStart from what users feel. Chat: people wait for the answer to start, then read as it streams. So time to first token under about a second at the 95th percentile, and output faster than reading speed.
- CandidateCoding assistant: inline suggestions must appear almost instantly or developers ignore them: first token in a few hundred milliseconds, short outputs.
- CandidateOvernight processing: nobody is waiting. No latency target; the goal is throughput and cost per document, finishing by morning.
- Strong moveRecognises that one product needs no latency target at all.
- InterviewerWhy percentiles?
- CandidateAverages hide the slow requests people remember. And tighter targets mean smaller batches and more capacity, so they cost more; the coding target is the most expensive.
The strong answer, distilled
- Chat: first token < ~1 s at p95; output faster than reading.
- Coding: first token in a few hundred ms; short outputs.
- Overnight: no latency target; throughput, cost, deadline.
- Percentiles: p95 or p99, not averages.
- Cost: tighter targets need more capacity.
This is one strong answer, not the only one.
How it's scored
| Dimension | Weak (2) | Passable (3) | Strong (5) |
|---|---|---|---|
| Fit | Same target for all | Different targets | Derived from user experience |
| Metrics | Average latency | Percentiles | First token vs output speed |
| Cost | Ignored | Mentioned | Linked to capacity |
Round scorecard: AI Infrastructure PM: technical round, filled in for the mock candidate
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Structure | Jumps to a number. | Some steps. | Formula first, steps said out loud. | Strong. Started from what each user experiences. |
| Assumptions | Hidden or wrong. | Stated. | Stated, reasonable, and the sensitive ones identified. | Strong. Percentile targets with reasons. |
| Technical depth | Weights only. | Weights and throughput. | Weights, KV cache, batching and latency targets. | Strong. Separated time to first token from output speed. |
| Product judgment | Stops at the number. | Mentions cost. | Turns the estimate into a capacity and cost decision. | Strong. Linked targets to cost and capacity. |
How the answer changes by role
| Role | What to emphasise |
|---|---|
| AI Infrastructure PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation | Targets and capacity |
| AI Platform PM | Tiers offered to customers |
Common mistakes
- One target for all products
- Average latency
- Latency targets for batch work
More follow-ups to practise
- "Chat p99 is 6 seconds." Hint: find the slow cases: long prompts? queueing?
- "Coding suggestions are expensive." Hint: smaller model for completion.
Go deeper
- Module: Inference and serving
- Framework: Back-of-Envelope Method for AI Numbers
- Framework: Explain a Concept Framework
- Framework: Opening Any Interview Answer
- Lesson: Latency and availability targets
- Also tests: AI numbers: serving, cost and latency
Sources
Representative question: written to match technical rounds for AI product roles, not a specific reported interview.