productinterview.tools
MenuClose

Users Say the AI Assistant Feels Slow. Where Does the Time Go?

The interviewer asksUsers say your AI assistant feels slow: about 8 seconds before an answer appears. Where does the time go, and how would you cut it?

AI Infrastructure PMAI Product EngineerApplied AI PM (secondary)CoreTechnical roundRepresentative5–7 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. Break the 8 seconds down from traces: retrieval, queueing, prefill (time to first token), decode.
  2. What users feel most is the wait before anything appears; stream the answer.
  3. Long prompts slow prefill: trim context to what's needed.
  4. Long outputs slow decode: ask for shorter answers or use a faster model for simple questions.
  5. Check queueing at peak: capacity, not the model, may be the bottleneck.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Knowing where LLM latency comes from
  • Diagnosing from traces
  • Focusing on perceived latency
  • Matching fixes to causes

How to structure your answer

  1. Break the time down by stage.
  2. Find the biggest contributor.
  3. Fix what users feel first.
  4. Then the rest, stage by stage.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    Users say your AI assistant feels slow: about 8 seconds before an answer appears. Where does the time go, and how would you cut it?
  2. Candidate
    First, is the whole answer appearing at once after 8 seconds, or does text start sooner?
  3. Revealed when asked
    The whole answer appears at once. There's no streaming.
  4. Candidate
    That's the first fix: stream the answer so users see words within a second or two. Total time stays the same, but it feels much faster.
  5. Strong move
    Separates perceived latency from total latency.
  6. Candidate
    Then I'd break the 8 seconds down from traces: retrieval, waiting in a queue, prefill (reading the prompt, which sets time to first token) and decode (writing the answer token by token).
  7. Revealed when asked
    Retrieval 1s, prefill 2s, decode 5s. Prompts average 12,000 tokens; answers 400 tokens.
  8. Candidate
    Decode is the biggest share: 400 tokens at around 80 tokens a second. Options: shorter answers where users don't need length, or a smaller, faster model for simple questions via routing. Prefill at 2 seconds is driven by the 12,000-token prompt: what's in it?
  9. Revealed when asked
    The full text of the five retrieved documents.
  10. Candidate
    Then send only the relevant passages, not whole documents. That could cut the prompt by more than half and prefill with it. Retrieval at 1 second could run in parallel with other set-up work.
  11. Interviewer
    Anything else to check?
  12. Candidate
    Whether it's worse at peak. If so, requests are queueing, and that's a capacity problem, not a model one.
  13. Missed signal
    Peak-time queueing is a common cause and worth checking before optimising the model.

The strong answer, distilled

  • Stream first: the full answer currently appears at once; streaming shows text within a second or two.
  • Break down from traces: retrieval 1s, prefill 2s, decode 5s.
  • Decode (biggest): 400 tokens at ~80 tokens/s; shorter answers where possible; route simple questions to a faster model.
  • Prefill: 12,000-token prompts of whole documents; send relevant passages only.
  • Retrieval: parallelise with other set-up.
  • Queueing: compare peak and off-peak; if peak is worse, it's capacity.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Diagnosis "Use a faster model" Some stages Full breakdown from traces
Mechanism Unclear Input vs output Prefill vs decode, context length, queueing
Perceived latency Ignored Mentioned Streaming first
Fixes One Several Matched to each stage's cause

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. Broke the 8 seconds into stages before proposing fixes.
AssumptionsHidden or wrong.Stated.Stated, reasonable, and the sensitive ones identified.Passable. Asked for a trace breakdown but assumed streaming was on until told.
Technical depthWeights only.Weights and throughput.Weights, KV cache, batching and latency targets.Strong. Prefill vs decode, and context length driving time to first token.
Product judgmentStops at the number.Mentions cost.Turns the estimate into a capacity and cost decision.Strong. Prioritised what users feel: time to first token and streaming.

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 Serving capacity, queueing and model choice
AI Product Engineer Streaming, context trimming and routing in the app
Applied AI PM What users feel, and the trade-off with answer length

Common mistakes

  • Optimising before measuring the breakdown
  • Ignoring streaming
  • Sending whole documents as context
  • Missing queueing at peak times

More follow-ups to practise

  • "Streaming makes output safety checks harder." Hint: check in chunks, or hold the first sentence.
  • "Leadership wants under 1 second to first token." Hint: prompt size, model size, capacity.
  • "Why is decode slower than prefill per token?" Hint: memory bandwidth, one token at a time.

Go deeper

Sources

Representative question: written to match technical rounds for infrastructure PM and product engineer roles, not a specific reported interview. Figures are illustrative.