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
The 30-second version
- It's an offline batch job: no latency target, so use large batches for throughput.
- Assume an 8-GPU server does ~5,000 output tokens/s in batch mode (state it).
- 10⁹ ÷ 5,000 = 200,000 s ≈ 56 hours on one server.
- On 8 servers (64 GPUs) ≈ 7 hours.
- Add quality filtering: often half is discarded, so generate more.
What it's really testing
- Throughput estimation
- Batch vs interactive
- Planning trade-offs
How to structure your answer
- Clarify it's offline.
- Assume throughput.
- Compute time.
- Adjust for filtering.
The interview, played out
- InterviewerResearch 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?
- CandidateIt'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.
- Strong moveDistinguishes batch from interactive throughput.
- Candidate10⁹ ÷ 5,000 = 200,000 seconds, about 56 hours on one server. With 8 servers, 64 GPUs, about 7 hours.
- InterviewerAnything else?
- CandidateSynthetic data is usually filtered for quality; if half is discarded, generate 2 billion tokens, doubling the time.
- CandidateSo: 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
| Dimension | Weak | Passable | Strong | The mock candidate |
|---|---|---|---|---|
| Structure | Jumps to a number. | Some steps. | Formula first, steps said out loud. | Strong. Output tokens ÷ throughput, step by step. |
| Assumptions | Hidden or wrong. | Stated. | Stated, reasonable, and the sensitive ones identified. | Strong. Assumed higher throughput for offline batch work. |
| Technical depth | Weights only. | Weights and throughput. | Weights, KV cache, batching and latency targets. | Strong. Knew batch jobs can use large batches. |
| Product judgment | Stops 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
- Module: AI numbers: memory and compute
- Framework: Back-of-Envelope Method for AI Numbers
- Framework: Explain a Concept Framework
- Framework: Opening Any Interview Answer
- Lesson: A back-of-envelope method
- Lesson: The KV cache and batching
- Also tests: AI numbers: serving, cost and latency
- Also tests: AI programme management
Sources
Representative question: written to match technical rounds for AI product roles, not a specific reported interview.