By Sagar Shankaran, Founder of CallSphere
LLM-powered voice agents are replacing IVR systems and transforming customer service. Architecture patterns, latency optimization, and the competitive landscape of conversational voice AI.
Key takeaways
The era of "press 1 for billing" is ending. LLM-powered voice agents can now hold natural, context-aware conversations that understand intent, handle complex queries, and operate with near-human responsiveness. What changed in 2025-2026 is not just model quality — it is the convergence of fast speech-to-text, intelligent LLM reasoning, and natural text-to-speech into production-ready pipelines with sub-second latency.
A production voice AI agent consists of four core components:
Caller → [ASR] → [LLM Agent] → [TTS] → Caller
↑ ↑↓ ↑
Deepgram Tool Use ElevenLabs
Whisper RAG/DB OpenAI TTS
AssemblyAI Functions Cartesia
1. Automatic Speech Recognition (ASR): Converts speech to text in real time. Leading options include Deepgram (fastest, ~300ms), OpenAI Whisper (most accurate), and AssemblyAI (best for real-time streaming).
2. LLM Agent: Processes the transcribed text, maintains conversation state, executes tool calls, and generates a response. This is where the intelligence lives.
3. Text-to-Speech (TTS): Converts the LLM's text response into natural-sounding speech. ElevenLabs leads in voice quality, while Cartesia and OpenAI TTS offer competitive alternatives with lower latency.
4. Orchestration layer: Manages the pipeline, handles interruptions (barge-in), maintains WebSocket connections, and coordinates streaming between components.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent for home services in your browser — 60 seconds, no signup.
The most critical metric for voice agents is time to first audio byte — how long the caller waits for the agent to start speaking after they stop talking. Human-to-human conversation has ~200-400ms turn-taking gaps. Voice AI agents need to approach this range to feel natural.
Latency breakdown for a typical pipeline:
| Component | Latency | Optimization |
|---|---|---|
| ASR (streaming) | 200-500ms | Use streaming ASR with endpoint detection |
| LLM inference | 300-800ms | Use fast models (GPT-4o-mini, Gemini Flash) |
| TTS generation | 200-400ms | Stream first sentence while generating rest |
| Network overhead | 50-150ms | Co-locate services, use regional deployment |
| Total | 750-1850ms | Target: <1000ms with streaming |
The key optimization is streaming at every stage: stream audio to ASR, stream tokens from LLM to TTS, and stream audio back to the caller. With proper streaming, the caller hears the first word ~800ms after they stop speaking.
flowchart TD
HUB(("The Voice AI Revolution"))
HUB --> L0["Architecture of a Modern<br/>Voice Agent"]
style L0 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L1["The Latency Challenge"]
style L1 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L2["OpenAI Realtime API"]
style L2 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L3["Competitive Landscape"]
style L3 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L4["Enterprise Use Cases in 2026"]
style L4 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L5["Key Design Principles"]
style L5 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
style HUB fill:#4f46e5,stroke:#4338ca,color:#fff
OpenAI's Realtime API, launched in late 2024 and refined in 2025, introduced a speech-to-speech model that eliminates the ASR→LLM→TTS pipeline entirely:
import asyncio
import websockets
import json
async def voice_agent():
url = "wss://api.openai.com/v1/realtime?model=gpt-4o-realtime-preview"
headers = {
"Authorization": f"Bearer {API_KEY}",
"OpenAI-Beta": "realtime=v1"
}
async with websockets.connect(url, extra_headers=headers) as ws:
# Configure session
await ws.send(json.dumps({
"type": "session.update",
"session": {
"modalities": ["text", "audio"],
"voice": "alloy",
"tools": [appointment_tool, lookup_tool],
"turn_detection": {"type": "server_vad"}
}
}))
# Stream audio bidirectionally
...
Advantages: Sub-500ms latency, natural prosody, emotional tone awareness. Disadvantages: Higher cost per minute, less control over individual pipeline stages, limited model selection.
The voice AI agent market has distinct segments:
Platform providers (full stack):
Still reading? Stop comparing — try CallSphere live.
See the home services AI agent handle a real call — complete, industry-specific, and live in your browser. No signup.
Component providers:
Voice AI agents have found product-market fit in several verticals:
Healthcare: Appointment scheduling, prescription refill requests, post-visit follow-ups. Voice agents handle 60-70% of routine calls, freeing staff for complex patient interactions.
Real estate: Property inquiries, showing scheduling, tenant maintenance requests. Agents can access property databases and CRM systems to provide instant, accurate responses.
Financial services: Account inquiries, transaction disputes, loan application status. Strict compliance requirements demand careful prompt engineering and audit logging.
Hospitality: Reservation management, concierge services, FAQ handling. Multi-language support is a key differentiator.
Building effective voice agents requires different patterns than text-based chatbots:
Sources: OpenAI — Realtime API Documentation, Deepgram — Nova-2 ASR, Pipecat — Open Source Voice AI Framework
flowchart LR
IN(["Input prompt"])
subgraph PRE["Pre processing"]
TOK["Tokenize"]
EMB["Embed"]
end
subgraph CORE["Model Core"]
ATTN["Self attention layers"]
MLP["Feed forward layers"]
end
subgraph POST["Post processing"]
SAMP["Sampling"]
DETOK["Detokenize"]
end
OUT(["Generated text"])
IN --> TOK --> EMB --> ATTN --> MLP --> SAMP --> DETOK --> OUT
style IN fill:#f1f5f9,stroke:#64748b,color:#0f172a
style CORE fill:#ede9fe,stroke:#7c3aed,color:#1e1b4b
style OUT fill:#059669,stroke:#047857,color:#fff
flowchart TD
HUB(("The Voice AI Revolution"))
HUB --> L0["Architecture of a Modern<br/>Voice Agent"]
style L0 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L1["The Latency Challenge"]
style L1 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L2["OpenAI Realtime API"]
style L2 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L3["Competitive Landscape"]
style L3 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L4["Enterprise Use Cases in 2026"]
style L4 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
HUB --> L5["Key Design Principles"]
style L5 fill:#e0e7ff,stroke:#6366f1,color:#1e293b
style HUB fill:#4f46e5,stroke:#4338ca,color:#fff
Written by
Sagar Shankaran· Founder, CallSphere
Sagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
A how-to for UK retailers and online shops in Manchester, London and Leeds: use a CallSphere AI voice and chat agent to answer product, order and delivery questions 24/7 and recover lost sales.
A practical how-to for Stockholm, Gothenburg and Malmö retailers and Swedish online brands on capturing after-hours orders with a CallSphere AI voice and chat agent.
A 2026 look at the health of UK small business from London to Glasgow, and why answering every inbound call still separates the winners from the losers. How CallSphere AI voice and chat agents help.
A founder's guide to page chat: web page chat box options, best live chat for small business, and how CallSphere ships an embed in 5 minutes.
A founder's guide to texto a voz (text-to-speech in Spanish): LATAM vs Castilian voices, free options, and how CallSphere ships Spanish agents.
A founder's guide to building a chatbot for answering questions on your website: RAG, voice, and how CallSphere ships one in 3-5 days.
© 2026 CallSphere LLC. All rights reserved.
Made within New York