AI Cloud Architect

Cost-optimizing AssemblyAI speech-to-text inference on AWS with Amazon EC2 Spot

AWSHow-to by Belair Albahagwi, Mimi Chiang and Sandeep KampaAWS Artificial Intelligence Blog

Learn how AssemblyAI runs cost-optimized speech-to-text inference at scale on AWS, using Amazon ECS, Amazon EC2 Spot GPU instances, and an Amazon SQS-based retry architecture to achieve 70% cost savings while maintaining SLA commitments across European Regions.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

AssemblyAI runs speech-to-text inference on ECS with Spot GPU instances, using SQS retries to recover from Spot interruptions, and reports 70% inference cost savings versus On-Demand.

Who it is for

Teams running batch or near real-time GPU inference on AWS that want to cut cost with Spot instances and keep SLAs.

Key points

  • Spot interruptions get a 2-minute notice; unfinished jobs are returned to SQS for another worker.
  • Fleet spans g4dn, g5 and g6 GPU families, with an On-Demand baseline and Spot capacity provider.
  • Regions named are us-west-2 and eu-west-2, each with an independent copy for data residency.
  • The 70% savings figure is AssemblyAI's own claim, not independently verified.

The same at other vendors