AWS has published an account of how AssemblyAI runs speech-to-text inference at scale. Each audio file triggers a pipeline of acoustic models, language models and post-processing stages on NVIDIA GPUs, which at scale means thousands of GPU instances running continuously. The architecture uses Amazon ECS with capacity providers that mix EC2 Spot and On-Demand capacity across several NVIDIA GPU instance families, running a single inference model per GPU. A queue-based retry mechanism built on Amazon SQS absorbs Spot interruptions: EC2 gives a two-minute warning before reclaiming capacity, tasks poll the queue for work, a Lambda function returns interrupted jobs to the queue, and CloudWatch monitors the fleet. AssemblyAI says diversifying across the g4dn, g5 and g6 families is the most effective lever for lowering interruption rates, because those families draw on independent capacity pools. The reported result is 70 percent cost savings on inference compute versus On-Demand pricing while compute demand grew nearly fourfold year over year, with audio kept inside European AWS Regions for customers with data residency requirements.
Our takeThe transferable lesson is treating GPU work as an idempotent queue item rather than a long-lived server, which is what makes a two-minute reclaim warning survivable. It applies narrowly to short, independently retriable jobs; for streaming or long-context inference a reclaim still discards partial work. The 70 percent figure is vendor-reported, with no baseline instance mix or measured interruption rate.