productinterview.tools
MenuClose

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
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. Targets follow the user experience of each product.
  2. Chat: fast first token (e.g. under 1 s at 95th percentile), steady output speed.
  3. Coding assistant: very fast first token for inline suggestions (hundreds of milliseconds).
  4. Overnight processing: no latency target; throughput and cost per document matter.
  5. Measure at high percentiles; tighter targets cost more capacity.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Setting serving targets
  • Percentiles
  • Cost trade-offs

How to structure your answer

  1. User experience per product.
  2. Targets.
  3. Measurement.
  4. Cost.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong move
  1. Interviewer
    Set latency targets for a chat app, a coding assistant and an overnight document job.
  2. Candidate
    Start 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.
  3. Candidate
    Coding assistant: inline suggestions must appear almost instantly or developers ignore them: first token in a few hundred milliseconds, short outputs.
  4. Candidate
    Overnight processing: nobody is waiting. No latency target; the goal is throughput and cost per document, finishing by morning.
  5. Strong move
    Recognises that one product needs no latency target at all.
  6. Interviewer
    Why percentiles?
  7. Candidate
    Averages 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

DimensionWeakPassableStrongThe mock candidate
StructureJumps to a number.Some steps.Formula first, steps said out loud.Strong. Started from what each user experiences.
AssumptionsHidden or wrong.Stated.Stated, reasonable, and the sensitive ones identified.Strong. Percentile targets with reasons.
Technical depthWeights only.Weights and throughput.Weights, KV cache, batching and latency targets.Strong. Separated time to first token from output speed.
Product judgmentStops 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

Sources

Representative question: written to match technical rounds for AI product roles, not a specific reported interview.