ai

Modal and Pipecat Achieve One-Second Voice AI Latency with Open Models

November 13, 2025 · 2 min read

Modal and Pipecat Achieve One-Second Voice AI Latency with Open Models

In a significant leap for voice AI, Modal and the Pipecat framework have collaborated to develop a chatbot that responds in under one second, enabling fluid, human-like conversations. This innovation leverages Modal's scalable GPU services and Pipecat's low-latency orchestration, combined with open-weight models for speech-to-text, language processing, and text-to-speech. The result is a system that minimizes delays, making interactions feel natural and responsive.

Pipecat, an open-source project maintained by Daily with community support, serves as the backbone for coordinating real-time audio and text processing. It integrates components like Silero for voice activity detection and SmartTurn for managing conversational turns, ensuring the bot yields appropriately during interruptions. Modal's infrastructure allows independent autoscaling of GPU-intensive tasks, optimizing costs and performance by separating CPU-based bot processes from GPU-driven inference services.

Key to this achievement is the use of specific AI models: NVIDIA's Parakeet for fast speech-to-text, Qwen2.5-4B-Instruct for efficient language model inference via vLLM, and Kokoro for streaming text-to-speech. These models were chosen for their speed and accuracy, with vLLM reducing time-to-first-token and Kokoro enabling immediate audio output. Retrieval-augmented generation (RAG) with ChromaDB and all-MiniLM-L6-v2 embeddings adds contextual knowledge without significant latency.

Network optimizations play a crucial role. Modal Tunnels bypass the standard input plane to establish direct WebSocket connections, cutting down on transmission delays. Geographic pinning of services to regions like us-west or us-east further reduces latency by minimizing physical distance. Testing with Pyannote for diarization confirmed voice-to-voice latencies averaging under one second, a benchmark for conversational AI.

This approach not only benefits voice applications but also sets a precedent for real-time AI systems in general. By open-sourcing the code, Modal and Pipecat empower developers to build similar low-latency solutions, fostering innovation in AI-driven interactions. The integration of animated avatars and dual-voice pipelines in demos showcases the framework's versatility for engaging user experiences.

Looking ahead, these advancements could reshape customer service, virtual assistants, and interactive entertainment. As AI models evolve, combining open frameworks with scalable cloud infrastructure will likely push latency even lower, making seamless human-AI dialogue the norm rather than the exception.