Design a Transcription Service for Hour-Long Audio Uploads

Last updated: November 29, 2026

Quick Overview

Design an API service that accepts long audio files (meetings, podcasts up to a few hours), transcribes them with a speech model, and returns a timestamped transcript as quickly as possible.

OpenAI
System Design
Software Engineer
OpenAI
November 29, 2026
Software Engineer
Technical Screen
System Design
Easy

0

0

0 solved


Design an API service that accepts long audio files (meetings, podcasts up to a few hours), transcribes them with a speech model, and returns a timestamped transcript as quickly as possible.

OpenAI's speech-to-text models have fixed input windows, so long files have to be split and stitched. In a screen, the interviewer looks for a clean async job design, sensible chunking, and parallelism to cut end-to-end time.

What the Interviewer Expects
  • Accept uploads and process asynchronously with job status
  • Normalize audio and split at silence into windows the model accepts
  • Transcribe chunks in parallel on GPU workers
  • Stitch results with correct timestamp offsets and handle boundary words
  • Return segments with timestamps and support retries
Key Topics to Cover
async jobs
audio chunking
parallel processing
GPU workers
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you avoid cutting a word in half at a chunk boundary?
  • How would you add speaker labels?
  • How would you support live streaming transcription instead?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements
  • Upload audio up to a few hours (mp3, wav, m4a), get a job ID; poll or receive a webhook.
  • Output: text plus segments with start and end times, optionally word timestamps.
  • Target: a 1-hour file do...
High-Level Design
  • Upload API stores the file in object storage and creates job(id, status, duration).
  • Preprocessor decodes and resamples to 16 kHz mono, runs voice activity detection, and splits into chun...

Submit Your Answer
Markdown supported