productinterview.tools
MenuClose

How Long to Generate a Billion Tokens of Synthetic Data?

The interviewer asksResearch wants 1 billion tokens of synthetic training data generated by a 70B model. How long will it take, and on how many GPUs?

AI TPMAI Infrastructure PMCoreTechnical 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. It's an offline batch job: no latency target, so use large batches for throughput.
  2. Assume an 8-GPU server does ~5,000 output tokens/s in batch mode (state it).
  3. 10⁹ ÷ 5,000 = 200,000 s ≈ 56 hours on one server.
  4. On 8 servers (64 GPUs) ≈ 7 hours.
  5. Add quality filtering: often half is discarded, so generate more.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Throughput estimation
  • Batch vs interactive
  • Planning trade-offs

How to structure your answer

  1. Clarify it's offline.
  2. Assume throughput.
  3. Compute time.
  4. Adjust for filtering.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong move
  1. Interviewer
    Research wants 1 billion tokens of synthetic data from a 70B model. How long, on how many GPUsGraphics processing unit. The chips most AI models are trained and served on. Read the full explanation?
  2. Candidate
    It's offline, so no latency target: we can use big batches and get much more throughput than interactive serving. I'll assume an 8-GPU server produces about 5,000 output tokens per second in batch mode; I'd confirm that with a quick benchmark.
  3. Strong move
    Distinguishes batch from interactive throughput.
  4. Candidate
    10⁹ ÷ 5,000 = 200,000 seconds, about 56 hours on one server. With 8 servers, 64 GPUs, about 7 hours.
  5. Interviewer
    Anything else?
  6. Candidate
    Synthetic data is usually filtered for quality; if half is discarded, generate 2 billion tokens, doubling the time.
  7. Candidate
    So: about 14 hours on 64 GPUs, or a couple of days on 16; the choice depends on what else needs those GPUs.

The strong answer, distilled

  • Offline batch: big batches, high throughput.
  • Assumption: ~5,000 output tokens/s per 8-GPU server (benchmark it).
  • Time: ~56 h on one server; ~7 h on 8 servers.
  • Filtering: double it if half is discarded.
  • Trade-off: GPUs vs wall-clock, against other demand.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Framing Interactive numbers Batch noted Batch throughput assumed and checked
Calculation Wrong Right Right with clear steps
Planning Single number Adds filtering Time vs GPUs trade-off

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. Output tokens ÷ throughput, step by step.
AssumptionsHidden or wrong.Stated.Stated, reasonable, and the sensitive ones identified.Strong. Assumed higher throughput for offline batch work.
Technical depthWeights only.Weights and throughput.Weights, KV cache, batching and latency targets.Strong. Knew batch jobs can use large batches.
Product judgmentStops at the number.Mentions cost.Turns the estimate into a capacity and cost decision.Strong. Offered time vs GPUs trade-off.

How the answer changes by role

Role What to emphasise
AI TPMTechnical Program Manager. Owns plans, dependencies, risks and delivery for large cross-team programmes. Read the full explanation Scheduling against other GPU demand
AI Infrastructure PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation Batch throughput and cost

Common mistakes

  • Using interactive throughput
  • Forgetting filtering losses
  • No GPU-time trade-off

More follow-ups to practise

  • "What would it cost?" Hint: GPU-hours × price.
  • "Could a smaller model generate it?" Hint: quality vs cost; test a sample.

Go deeper

Sources

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