Real-time voice inference starts at the carrier. Trace every hop in a caller’s wait and find the one to cut first.

Takeaways
Real-time voice inference streams a caller's audio through speech-to-text, a language model, and text-to-speech while the caller is still talking. On a phone call, the latency budget starts at the carrier.
A caller starts talking, and their voice leaves the handset in small audio frames, one every 20ms, while the sentence is still forming. Real-time voice inference means each model in your pipeline starts work on that partial input and streams its output onward before the caller has finished.
Should my voice agent be cascaded or speech-to-speech?
Request-response inference waits for the whole recording. A batch transcription API takes a finished file and returns a finished transcript, so every second of processing reaches the caller as dead air. Text chat can absorb that delay because the user is reading. A phone call can't, which is the main split between conversational vs voice AI.
Real-time pipelines come in two shapes, and the budget in the next section applies to both:
Either way, a phone call adds something a browser demo never shows: before any model sees the caller's audio, it has crossed a carrier network. On Telnyx, the language model runs as OpenAI-compatible chat completions on open-weight models hosted on GPUs Telnyx owns, and speech-to-text and text-to-speech run on the same platform.
Run your whole voice pipeline on one network

Telnyx runs OpenAI-compatible inference, speech-to-text, and text-to-speech on the same platform, so every model in your pipeline shares one network.
Measure the wait from the caller's side
Find the carrier legs and cross-cloud round trips that a faster model leaves in your voice latency budget.
Your caller's wait runs from the moment they stop talking to the first syllable of the reply. Six hops sit inside that window, and two of them belong to the phone network.
Walk the clock forward from the caller's last word and score your own agent against each row:
Six hops in one phone turn
| Hop | What it covers | What inflates it |
|---|---|---|
| Caller to media plane | Carrier leg in: the caller's last frame reaches the media plane | Distance and jitter |
| Turn detection | Deciding the caller has finished | A conservative silence threshold |
| Speech-to-text | The final transcript, after the first word | Waiting for endpointing to fire |
| LLM time to first token | The first token of the reply | Model size, queueing, a separate provider |
| TTS time to first audio byte | The first playable audio | A round trip to another cloud |
| Media plane back to caller | Carrier leg out: the reply reaches the caller's ear | Distance and jitter |
Teams fighting dead air usually start with the model. They swap in a faster one, rerun the benchmark, and watch it improve while live calls still feel slow, because the benchmark only covered rows three through five.
"We often obsess over LLM inference speeds, but in Voice AI, the network is often the silent killer." Ian Reither, COO at Telnyx |

Published vendor latency budgets start at the microphone and leave out both carrier legs. ITU-T G.114 recommends keeping one-way mouth-to-ear delay to 150ms for most applications, and every phone turn pays one-way delay twice: once on the way in and once on the way out. Those legs can use up a large share of a natural-feeling turn before a single model runs, which is why end-to-end measurement belongs among your voice AI production principles.
Before any model hears a phone caller, a carrier has routed, packetized, and terminated their audio. That path decides how much budget is left and how clear the audio is when it arrives.
A call travels over the public switched telephone network (PSTN) or a SIP trunk to the carrier, whose media plane terminates the Real-time Transport Protocol (RTP) stream. Only then can the audio reach a speech-to-text model, and the reply makes the same trip in reverse. WebRTC clients skip the phone network, but a server still has to terminate their media.
If your telephony provider, speech-to-text vendor, and language model sit with three different companies, the audio crosses the public internet between each of them, adding distance and jitter every time. Telnyx runs text-to-speech, voice AI, and telephony on the same infrastructure, with one API key and one bill. Calls arrive through the Voice API on a carrier-grade network Telnyx owns, so the carrier leg and the inference leg share one path.
Most phone audio arrives as G.711, sampled at 8 kHz in 20ms frames. Many speech-to-text models expect 16 kHz PCM, and upsampling can't restore the frequencies the narrowband line already discarded. Accuracy on names and numbers is partly settled before inference begins, so when you compare engines from a voice to text software roundup, test them on recorded 8 kHz phone audio.
Judge every hosting option by one question: how many network crossings sit between your caller's carrier and the GPU running your model?
A fallback provider in another cloud follows the same arithmetic: it adds a crossing, so it can raise turn latency even when its model answers faster. The penalty applies one component at a time, too.
"When you call their API from a voice pipeline, you're adding an internet round-trip to a separate cloud. That's fine for generating a podcast. It's a latency penalty in a live conversation." Dr. Sonam Gupta, Developer Advocate at Telnyx |
Telnyx runs models on GPUs colocated with its network, in-region across the Americas, Europe, MENA, and APAC. No inter-provider hops sit between the media plane and the GPU. Capacity autoscales with no cold starts, so a traffic spike doesn't leave callers waiting for a GPU to warm up. If your agent runs on LiveKit, the LiveKit integration docs show how to point it at Telnyx.
Which hop should you cut first?
Your caller hears nothing until the first byte of synthesized audio, and that byte waits on the model's first sentence. The number to optimize is time to first token, and the technique is streaming.
Send the first complete sentence to TTS while generation continues. Waiting for the full reply adds the entire generation time to the caller's wait. Context grows too: a ten-minute call carries a much longer prompt than its first turn, so summarize or trim history between turns.
A smaller model on fast capacity usually beats a larger model that queues. Telnyx hosts a curated inference model library, and each request can set a service_tier, with rates on the inference pricing page:
Because the API is OpenAI-compatible, moving an agent from another provider means changing the base URL. Per-tier latency figures aren't published, so compare Priority against Default on your own calls.
This translation bridge sample connects two callers who speak different languages, using Voice Call Control and AI Inference. The transcript enters the model in translate(), and the call.gather.ended handler speaks the output to the other caller:
The sample uses a two-second silence timeout, which suits translation but is far too slow for an agent. That is where sentence streaming and a tighter endpoint come in.
The caller pauses to think, the agent starts answering, the caller resumes, and now both are talking. That overlap is a timing problem, and a faster model rarely fixes it.
Turn detection decided the pause ended the turn. A short silence threshold makes that mistake often, and a long one trades talk-over for dead air. Jitter on the carrier leg stretches and compresses the very gaps the detector measures, so the same threshold behaves differently from call to call. The start speaking plan guide covers the timing controls.
"Most 'end-to-end Voice AI' claims fall apart when you measure what actually matters: the end customer experience in real time. Turn latency, jitter, interruption handling. Not benchmarks on a slide, but behavior on a live call. That only happens when you control the full stack. Network, media plane, orchestration, and inference paths, not a fragile chain of third-party services over the public internet. This is the bar Voice AI should be held to." Ian Reither, COO at Telnyx |
Keyword matching on wait or actually misses most interruptions, and skipping step four leaves the model believing the caller heard a reply they never heard.
Before a healthcare or finance agent goes live, compliance will ask where the audio terminates, where the model runs, and what is kept. Telnyx runs inference in-region across the Americas, Europe, MENA, and APAC, with LATAM coming soon, and there is no cross-border routing. Requests run with zero data retention and no training on your data.
The voice agents for healthcare guide and the healthcare voice AI page cover patient calls. Recording consent rules vary by jurisdiction, and the Australia data sovereignty breakdown walks through one market.
The clock starts when the caller stops speaking and stops when the first reply audio reaches them. Only a measurement on the call path captures both carrier legs, so time to first token is one input.
Report turn latency at p50 and p95, since an average hides the slow turns callers remember:
Run these alongside your production checklist, and watch hang-ups on calls that route to a person, where the AI to human handoff adds a wait of its own.
This dashboard sample turns a Telnyx call into a stream of transcription events. Stamp each with its arrival time, and you can line up caller speech against when your agent starts playing audio:
Subtract logged model time from measured turn latency, and what remains is network and handoff time. Across a fleet, that split shows whether a slow week came from the network or the model, which matters most for high-volume contact center solutions.
Real-time voice inference FAQ

Why does my voice agent talk over callers, and is it latency or turn detection?
Usually turn detection. The agent starts speaking when its endpointing decides a pause ended the caller's turn, and jitter on the carrier leg makes those pauses look longer or shorter than they were. Latency makes it worse, since a slow reply lands after the caller has resumed. Tune the silence threshold and handle barge-in before you swap models.
Can I use a second inference provider as a fallback for my voice agent without rewriting it?
Yes, if both providers expose an OpenAI-compatible API. Telnyx inference is OpenAI-compatible, so pointing an agent at it means changing the base URL. Check where the fallback runs, though. A provider in another cloud adds a network crossing to every turn it serves, so it can raise latency even when its model is faster.
What latency makes a voice conversation feel natural?
There is no single agreed number, and published vendor thresholds disagree. ITU-T G.114 recommends keeping one-way mouth-to-ear delay to 150ms for most applications, and a phone turn pays one-way delay in each direction plus model time. Set your target as turn latency at p95 measured on live calls, and track talk-over and dead air alongside it.
Why can't standard request-response inference do real-time transcription?
Request-response inference needs the complete recording before it starts, so a transcript only exists after the caller stops talking. Real-time transcription streams audio frames into the model as they arrive and returns partial and final transcripts during speech. On a call, waiting for the whole recording turns every pause into dead air.
Should I use WebSockets or WebRTC for voice AI?
Use each where it fits. WebRTC suits browser and mobile clients, since it carries media over UDP with jitter buffering and echo cancellation built in. WebSockets suit server-to-server audio streaming, such as forwarding call audio to a model. For phone callers, the leg that reaches you is the carrier's RTP stream, so this choice only affects the hops after the media plane.
You can now place every millisecond of a caller's wait on a named hop. Run inference on GPUs colocated with the carrier network: OpenAI-compatible, a base URL change to switch, and the Priority tier for voice.
Try Telnyx InferenceRelated articles
GLM 5.3 Flash benchmark: Telnyx vs Modal

Edge inference: where to run AI models for low latency

Open Source vs Frontier Models: Which Should Your Agents Run On?

The best Vapi alternatives for low latency voice AI in 2026
What are softphones? A complete guide for teams

What Is VoIP and How Does It Work
