By Sagar Shankaran, Founder of CallSphere
A plain-English guide to AI voice technology — LLMs, STT, TTS, RAG, function calling, and latency budgets. Learn how modern voice agents actually work.
Key takeaways
If the last time you talked to an automated phone system was three years ago, your mental model of "voice AI" is probably a frustrating IVR tree that asked you to press 1, mangled your account number, and eventually transferred you to the wrong department. That technology — DTMF menus, grammar-based speech recognition, and hand-scripted dialogue trees — dominated the industry for twenty-five years because nothing better existed at production latency.
Everything changed between 2022 and 2025. The same large language models that powered ChatGPT started being wired into real-time voice pipelines, streaming speech recognition latencies dropped below 200 milliseconds, neural text-to-speech became genuinely indistinguishable from human voices in blind tests, and function-calling APIs let models take real actions against business systems. The result is a new generation of voice agents that can hold genuinely natural conversations, handle interruptions, pull live data from your CRM, and book appointments — all at under 800 milliseconds end-to-end response time.
This guide explains how those pieces fit together, in plain English, for business owners and technical evaluators who need to understand what they are buying. No PhD required. By the end, you will know the difference between an IVR and an LLM agent, what each of the technical components does, where the performance bottlenecks live, and what questions to ask a vendor before you sign anything.
Every modern AI voice agent is built from five core components working in sequence:
flowchart LR
Q(["User query"])
EMB["Embed query<br/>text-embedding-3"]
VEC[("Vector DB<br/>pgvector or Pinecone")]
RET["Top-k retrieval<br/>k = 8"]
PROMPT["Augmented prompt<br/>system plus context"]
LLM["LLM generation<br/>Claude or GPT"]
CITE["Inline citations<br/>and page anchors"]
OUT(["Grounded answer"])
Q --> EMB --> VEC --> RET --> PROMPT --> LLM --> CITE --> OUT
style EMB fill:#ede9fe,stroke:#7c3aed,color:#1e1b4b
style VEC fill:#ede9fe,stroke:#7c3aed,color:#1e1b4b
style LLM fill:#4f46e5,stroke:#4338ca,color:#fff
style OUT fill:#059669,stroke:#047857,color:#fff
Those five components run on every single conversational turn — typically 30-60 times in a normal 5-minute call. Each round trip has a latency budget, and the sum of those budgets determines whether the conversation feels natural or robotic. We will walk through each component and then look at the end-to-end latency math.
STT, also called automatic speech recognition (ASR), is where the caller's audio stream becomes text the LLM can reason about. Three capabilities separate modern STT from the legacy systems that shipped with old IVRs:
The dominant production STT engines in 2026 are OpenAI Whisper, Deepgram Nova-3, Google Speech-to-Text, and AssemblyAI. Word Error Rates (WER) on clean audio are now routinely under 5%, and the best engines stay under 10% on noisy phone audio. The practical STT latency budget for a voice agent is 100-250ms from "caller stops talking" to "final transcript available."
The LLM is the brain of the agent. It reads the conversation so far, decides what to say next, and — critically — decides whether it has enough information to answer or needs to look something up or take an action. In production voice agents, the LLM is typically one of: OpenAI GPT-4o or GPT-4.1, Anthropic Claude Sonnet or Haiku, Google Gemini Flash, or Meta Llama 3.3 on a self-hosted inference cluster.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
Three model characteristics matter for voice applications:
Most business voice agents run on a smaller, faster model (GPT-4o mini, Claude Haiku, Gemini Flash) for the bulk of conversation turns, and selectively upgrade to a larger model for complex queries. The smaller model gives you 150-300ms TTFT; the larger model gives you better reasoning when it matters.
An LLM out of the box knows about the world, but it does not know about your business. It does not know your hours, your prices, your cancellation policy, your doctors' specialties, or your specific property listings. RAG is the technique for injecting that business-specific knowledge into the conversation.
The architecture is straightforward: you index your business documents (website content, FAQs, policy PDFs, knowledge base articles, product catalogs) into a vector database. When the caller asks a question, the system embeds the query into the same vector space, retrieves the top 3-10 most similar chunks, and passes them to the LLM as context. The LLM then answers using that retrieved context instead of its general training data.
The practical implications for voice:
This is the piece that separates "fancy chatbot" from "real voice agent." Function calling lets the LLM take actions in the real world: check calendar availability, book an appointment, look up a customer record, create a CRM note, transfer the call to a human, send an SMS confirmation. Without function calling, the bot can only talk about things. With function calling, it can do things.
In practice, you define a set of tools — JSON schemas describing each function, its parameters, and when the model should use it — and the LLM decides during the conversation when to call them. A real estate voice agent's tool set might look like:
check_showing_availability(property_id, date_range)book_showing(property_id, buyer_contact, time_slot)lookup_buyer_by_phone(phone_number)create_crm_note(contact_id, note_text, tags)transfer_to_agent(agent_id, reason, context_summary)The LLM reads the conversation, decides a function call is appropriate, outputs a structured JSON invocation, your backend executes it against real systems (calendar, CRM, telephony), and the result gets fed back to the LLM for the next conversation turn. Round-trip latency for a typical function call is 100-500ms depending on the downstream system.
TTS is where the LLM's text response becomes audible speech. Modern neural TTS engines — ElevenLabs, OpenAI TTS, Amazon Polly Neural, Google Cloud TTS, and Cartesia Sonic — are genuinely good. Blind listening tests consistently show that naive listeners cannot reliably distinguish the top engines from human recordings in short clips.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
The important capabilities for voice agents:
Production TTS latency budget: 100-250ms to first audio chunk.
Stack those five components together and you get the end-to-end latency budget that determines whether your voice agent feels human or robotic. The research consensus — backed by ITU-T G.114 for telephony and more recent HCI work on conversational AI — is that humans perceive response delays under 500ms as "immediate," delays between 500-1000ms as "slight pause," and anything over 1 second as "awkward."
| Pipeline Stage | Budget (Fast) | Budget (Typical) | Notes |
|---|---|---|---|
| Endpoint detection | 50ms | 150ms | How long to decide the caller stopped talking |
| STT finalization | 80ms | 200ms | Stream the last chunk and finalize transcript |
| LLM time-to-first-token | 200ms | 400ms | Model reasoning and first token out |
| RAG retrieval (if needed) | 40ms | 120ms | Vector search + context assembly |
| Function call round trip (if needed) | 100ms | 400ms | Only on turns that take an action |
| TTS first audio | 100ms | 250ms | Neural synthesis warm-up |
| Network and telephony | 50ms | 150ms | WebRTC or SIP transport |
| Total (no function call) | 520ms | 1,170ms | |
| Total (with function call) | 620ms | 1,570ms |
Getting a voice agent under 800ms end-to-end is hard engineering work. It requires streaming at every stage, aggressive model quantization or smaller models for fast turns, carefully-tuned endpoint detection, geographically co-located infrastructure, and specifically-chosen components that do not block each other. CallSphere's production pipeline targets a median of 580ms end-to-end on non-function-calling turns — which is why conversations with the agent feel like talking to a person rather than issuing commands to a machine.
The legacy technology is not going away overnight, and there are still a small number of workflows where a traditional IVR is the right tool. Here is the honest side-by-side:
| Capability | Legacy IVR | LLM-Powered Voice Agent |
|---|---|---|
| Input method | DTMF keypad + rigid grammar | Open natural language |
| Handles misspeaks / rephrases | Rarely | Yes |
| Interruptions (barge-in) | Limited | Native |
| Multilingual | Per-tree duplication | Native, automatic detection |
| Script maintenance | Manual, brittle | Prompt + RAG, fast to update |
| Out-of-scope handling | Dead-ends or loops | Graceful escalation to human |
| Development effort | Weeks to months | Days to weeks |
| Per-minute cost | Lower ($0.02-$0.05) | Higher ($0.08-$0.25) |
| Caller satisfaction | Poor (avg CSAT 2.1-2.8/5) | Strong (avg CSAT 3.8-4.4/5) |
| Best for | Very high volume, truly fixed workflows (e.g. lost card reporting) | Anything with variability, nuance, or natural conversation |
The common mistake is to compare raw per-minute costs and conclude that IVR is cheaper. When you factor in the caller abandon rate on IVR (typically 30-40% for anything complicated), the IVR is actually the more expensive option — you just pay for it in lost business instead of in your telecom bill.
Now that you know what is under the hood, here is the shortlist of questions to ask any AI voice vendor before you sign:
For a full breakdown of CallSphere's pricing model, see the pricing page. For industry-specific product details, check healthcare or real estate.
AI voice technology in 2026 is not magic, but it is genuinely good. The five-component stack — STT, LLM, RAG, function calling, TTS — has matured to the point where you can deploy a production voice agent in days rather than months, get it under the 800ms latency threshold that humans perceive as natural, and trust it to handle real customer interactions without an army of engineers.
The companies that win with this technology are not the ones with the biggest models. They are the ones that understand the latency budget, invest in a clean knowledge base, write thoughtful system prompts, wire up real function calls to the systems that matter, and measure every conversation so they can iterate fast. Everything else is marketing.
If you want to hear everything in this article working together in a single live call, you can talk to a CallSphere voice agent right now. Ask it anything — about the product, about your industry, about the weather. It will pick up within one ring and respond in under a second. No script, no forms, no signup.
Talk to a live AI voice agent right now — no signup required.
Try the Live Demo →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 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 building a chatbot for answering questions on your website: RAG, voice, and how CallSphere ships one in 3-5 days.
Good messaging apps in 2026 ranked by a founder running 6 AI voice agents. Signal, iMessage, WhatsApp, Telegram, and where AI fits.
Group chat apps in 2026 ranked by a founder running a 14-tool AI platform. Slack, Discord, Teams, Telegram, and where AI voice chat fits.
Create a chat bot in 2026 means LLM-backed agents, not decision trees. Here is the working guide: platforms, build steps, and what actually matters.
Best chat software in 2026: a founder running 6 AI agents ranks website chat tools, live chat, and AI chat platforms. Real prices, real picks.
© 2026 CallSphere LLC. All rights reserved.
Made within New York
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI