productinterview.tools
MenuClose

Explain Batching and Why It Matters for Cost

The interviewer asksExplain to a product leader why batching requests makes serving cheaper, and what it costs in user experience.

AI Infrastructure PMAI Platform PM (secondary)AI TPM (secondary)CoreTechnical roundRepresentative5 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. Generating each token requires reading the model's weights from memory.
  2. Batching serves many users with one read: like a bus instead of a taxi per person.
  3. More users per GPU means lower cost per token.
  4. Cost: each user waits a little longer per token; very large batches feel slower.
  5. Continuous batching adds and removes requests as they come and go, keeping GPUs busy.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Explaining serving economics
  • Latency trade-off
  • Product implications

How to structure your answer

  1. Mechanism.
  2. Analogy.
  3. Trade-off.
  4. Continuous batching.
  5. Product link.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong move
  1. Interviewer
    Explain why batching makes serving cheaper, and what it costs users.
  2. Candidate
    To write each word, the model has to read all its weights from memory, which is the slow part. If we do that for one user at a time, it's like a taxi per passenger.
  3. Candidate
    Batching puts many users' requests through together, so one read of the weights serves all of them: a bus. More users per GPUGraphics processing unit. The chips most AI models are trained and served on. Read the full explanation, lower cost per word.
  4. Strong move
    A clear analogy that's technically correct.
  5. Candidate
    The cost: each passenger's trip is a bit slower; with very big batches, each user gets fewer words per second. So we pick batch sizes that keep speed acceptable.
  6. Candidate
    Modern servers use continuous batching: people get on and off the bus at every stop instead of waiting for a full trip, so the GPU stays busy.
  7. Interviewer
    Why does a product leader care?
  8. Candidate
    It's why we can offer cheaper tiers for slower or batch work, and why premium speed costs more.

The strong answer, distilled

  • Mechanism: each token needs weights read from memory.
  • Analogy: bus vs taxi.
  • Benefit: more users per GPU, lower cost.
  • Trade-off: slower per-user output at large batch sizes.
  • Continuous batching: join and leave at every step.
  • Product: tiers by speed and price.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Mechanism Wrong Roughly right Memory reads explained
Clarity Jargon Clear Analogy that holds
Product link None Cost Tiers and pricing

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. Clear analogy.
AssumptionsHidden or wrong.Stated.Stated, reasonable, and the sensitive ones identified.Strong. Stated the trade-off numerically.
Technical depthWeights only.Weights and throughput.Weights, KV cache, batching and latency targets.Strong. Explained memory bandwidth and continuous batching simply.
Product judgmentStops at the number.Mentions cost.Turns the estimate into a capacity and cost decision.Strong. Tied it to pricing and product tiers.

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 Explaining serving trade-offs
AI Platform PM Pricing tiers
AI TPMTechnical Program Manager. Owns plans, dependencies, risks and delivery for large cross-team programmes. Read the full explanation Capacity planning conversations

Common mistakes

  • Jargon-heavy explanation
  • Ignoring the latency cost
  • No link to product decisions

More follow-ups to practise

  • "What limits batch size?" Hint: KV cacheKey-value cache. Stored attention keys and values that let a model generate each new token without recomputing the whole context. Read the full explanation memory and latency targets.
  • "Does batching affect answer quality?" Hint: no; only speed and cost.

Go deeper

Sources

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