> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Real-Time Voice AI on AWS Using State Space Models
- URL: https://www.stirup.si/real-time-voice-ai-on-aws-using-state-space-models-21dc542a/
- Published: 2026-11-03T17:08:18.000Z
- Updated: 2026-11-03T17:08:18.000Z
- Description: Cartesia, an AWS Partner, uses State Space Models (SSMs) and AWS infrastructure to deliver sub-100ms text-to-speech and speech-to-text at global scale.
- Author: Satish Das
- Tags: Cloud, News, Stirup Research

## Real-Time Voice AI Applications on AWS

Building ultra-low-latency voice AI applications on AWS requires leveraging specialized models and infrastructure. According to [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si), Cartesia, an AWS Partner, uses State Space Models (SSMs) and AWS infrastructure to deliver sub-100ms text-to-speech and speech-to-text at global scale. The rise of conversational AI has increased demand for real-time voice processing across industries, such as contact centers, where AI agents must handle millions of interactions with instantaneous speech generation to maintain natural dialogue ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si)). Similarly, telehealth applications require low-latency voice for accurate, empathetic communication ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si)). However, [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si) notes that higher quality often comes with higher latency, creating a challenge in real-time applications. SSMs are uniquely suited for these scenarios because they balance quality and latency ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si)). Cartesia’s application features two core models, Sonic for text-to-speech and Ink for speech-to-text, both optimized for sub-100ms first-byte latency while maintaining studio-quality output ([AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si)).

## Technical Implementation and Optimization

Building ultra-low-latency voice AI applications on AWS requires careful technical implementation and optimization. To minimize inter-node latency, inference nodes should be placed in a cluster placement group, with replicas kept within a single Availability Zone for the tightest network path. VPC endpoints should be used for ECR and S3 pulls to enhance security and reduce latency. At container start, models should be warmed and a health check exposed so that the load balancer only routes traffic to ready replicas. Higher batch sizes improve GPU utilization but may increase first-byte latency, so tuning is essential to meet sub-100ms targets. EC2 GPU instances offer full control and custom scaling policies, while SageMaker provides managed automatic scaling. These models are already in production within Amazon services, including live contact centers, where real-time voice performance is critical.

## AWS and Twilio Collaboration for Voice AI

AWS and Twilio have collaborated to build ultra-low-latency voice AI applications through the ConversationRelay architecture, which integrates Twilio’s Voice platform with AWS Fargate and Bedrock. This approach enables enterprises to develop agentic applications that deliver human-like latency and manage complex conversation flows, such as handling interruptions or tool calls, while maintaining an engaging user experience. According to Twilio contributors, key considerations for building production-scale agentic applications include the ability to scale, ease of development, the selection of appropriate speech-to-text (SST) and text-to-speech (TTS) providers, the choice of the right large language model (LLM), and acceptable latency. The reference design, as noted by Twilio, leverages Twilio’s Voice platform and ConversationRelay alongside a highly available Docker application hosted on AWS Fargate to achieve performance at human-level latency. However, as Twilio contributors emphasize, while the latest models may be attractive, factors such as cost and latency must also be carefully evaluated.

## Amazon Nova Sonic Model Capabilities

Amazon Nova Sonic Model Capabilities introduce a transformative approach to conversational AI through its unified speech understanding and generation architecture. Key features include state-of-the-art streaming speech understanding with bidirectional stream API capabilities, enabling real-time, low-latency multi-turn conversations. The model also supports adaptive speech response, dynamically adjusting delivery based on the prosody of the input speech. It gracefully handles user interruptions without dropping conversational context and incorporates knowledge grounding with enterprise data using Retrieval Augmented Generation (RAG). Additionally, the model is robust to background noise, making it suitable for real-world deployment scenarios.

## Training and Development Resources

Training and development resources on AWS provide a structured approach to building ultra-low-latency voice AI applications. Using AWS Bedrock's Nova Sonic model and Python's asyncio library, developers can create real-time voice assistants capable of streaming audio in both directions and managing low-latency event flows. These resources also enable the integration of tool calls that allow the agent to interact with real data, making the system more functional and practical for real-world applications. Whether you're interested in AI, backend development, or cloud-based applications, this course offers hands-on skills to prototype smart voice systems from scratch. Participants will leave with a working agent and a deep understanding of how the components fit together. Additionally, Bytes are shorter courses designed to help professionals upgrade their skills and knowledge in a single day, focusing on learning something awesome, interesting, and relevant to their career goals.

## Sources and reporting notes

- [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/building-ultra-low-latency-voice-ai-applications-on-aws/?ref=stirup.si)
- [twilio.com](https://www.twilio.com/en-us/blog/developers/tutorials/product/reference-architecture-aws-conversationrelay-voice-ai-app?ref=stirup.si)
- [zerotomastery.io](https://zerotomastery.io/courses/ai-voice-agents-with-aws/?ref=stirup.si)
- [docs.aws.amazon.com](https://docs.aws.amazon.com/nova/latest/userguide/speech.html?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.