Now live New models for transcription and text-to-speech. AssemblyAI-STT-3.7 AssemblyAI-TTS-1
Insights & Use Cases

How to build the lowest latency voice agent in Vapi

Set up AssemblyAI in Vapi for low latency: the transcriber block, the mode preset, end-of-turn settings, barge-in, and where the milliseconds go in each turn.

Abstract green cylinder illustration

Written by

Daniel Ince

Published on

19 November 2026

Every voice agent conversation is a race against a number most people never measure: how long the other person will sit in silence before they think the line dropped.

That number is roughly 800 milliseconds. Past it, people start talking over your agent, repeating themselves, or hanging up. Under it, the conversation feels like a conversation.

Vapi gives you the orchestration to hit that. What it doesn't give you is a good default stack for a voice agent. You pick the transcriber, the LLM and the voice, and those three choices decide whether your agent feels alive or feels like a bad conference call. Out of the box, Vapi's AssemblyAI transcriber even defaults to universal-streaming-english, a model several generations old. This post is about making those choices well, and about the settings that quietly add dead air to most Vapi agents.

We're going to be stingy with numbers here. There's a lot of latency marketing in this space, and most of it compares one vendor's best-case partial-transcript timing against another vendor's worst-case final. We'll tell you what we can stand behind and what you have to measure yourself.

Where the milliseconds go

A Vapi agent is a relay race with four legs. Someone stops speaking. Your transcriber decides they're done and hands over a final transcript. Your LLM starts generating. Your TTS starts speaking. Audio reaches the caller's ear.

Every leg has a handoff cost, and the handoffs are where naive latency budgets fall apart. The number that matters is how long after the user's last syllable the first audio of the reply arrives. That's a different measurement from "how fast is your STT," and only one of them is what your caller experiences.

Here's the honest budget:

Leg What to measure What we can ground
End-of-turn detection Time from the user's last syllable to the transcriber declaring the turn over Set by the mode preset: an end-of-turn check after 128 ms of silence on balanced, a forced end at 1280 ms. The model judges from what has been said whether the turn is complete.
Final transcript Time from turn end to a complete, formatted transcript your LLM can act on 172 ms for Universal-3.6 Pro Realtime (the model Vapi offers) and 86 ms for AssemblyAI-STT-3.7-Realtime-Agent, measured on the same day in AssemblyAI's research post
VAD hold Extra wait while Vapi's own VAD confirms the caller stopped On by default in Vapi. Turn it off with vadAssistedEndpointingEnabled: false.
LLM time-to-first-token Time from prompt submission to the first streamed token Provider- and prompt-dependent. Measure it on your own traffic.
TTS time-to-first-byte Time from the first token to the first audio frame Provider- and voice-dependent. Measure it on your own traffic.
Network Round trips between Vapi, your transcriber, your LLM, your TTS and the caller Depends on your regions and whether you're on the phone or the web

Notice what's not in that table: a total. We won't publish a composite end-to-end figure for a stack we don't control end to end, because the moment you swap the voice or add a tool call, the number is fiction.

What we will stand behind is the speech layer at both ends: AssemblyAI speech-to-text in and AssemblyAI's Text-to-Speech API out, so two of the legs come from one vendor on one bill. More on that at the end, because for a meaningful number of teams, fewer vendors is the right answer.

If you're building on Vapi, and there are good reasons to, the rest of this is how you get the transcriber legs as tight as they go.

Step 1: Configure the transcriber

In Vapi, create or edit an assistant and select AssemblyAI as the transcriber with universal-3-6-pro as the model. If you add your own AssemblyAI key under Integrations, transcription runs on your AssemblyAI account and Vapi stops charging for it. Without a key, Vapi provides AssemblyAI through its own account and bills transcription on your Vapi invoice. You can get a key by signing up for a free AssemblyAI account.

If you'd rather work in JSON, and for anything you intend to version-control you should, this is the transcriber block AssemblyAI's Vapi guide recommends as a starting point:

{
  "firstMessage": "Hi, thanks for calling Acme. What is the email on your account?",
  "transcriber": {
    "provider": "assembly-ai",
    "speechModel": "universal-3-6-pro",
    "mode": "balanced",
    "vadAssistedEndpointingEnabled": false,
    "keytermsPrompt": ["Acme Fiber", "Xiomara", "PCI compliance"],
    "agentContext": "Hi, thanks for calling Acme. What is the email on your account?",
    "agentContextAutoUpdateEnabled": true
  }
}

Here's what each transcriber field does for your latency budget.

speechModel: "universal-3-6-pro" selects Universal-3.6 Pro Realtime, the newest AssemblyAI model in Vapi's transcriber list. Our current voice-agent model, AssemblyAI-STT-3.7-Realtime-Agent, isn't in Vapi's list yet. Set the model explicitly: Vapi defaults to universal-streaming-english, and a PATCH that leaves speechModel out drops you back to that default, because PATCH replaces the whole transcriber object. Always send the complete configuration.

If you're migrating an older Vapi assistant, this is the field to change first. universal-streaming-english is several generations back, and universal-3-5-pro is retiring, so don't pin it.

mode is the whole latency tuning story for this model. We'll cover it in the next section.

vadAssistedEndpointingEnabled: false is the cheapest latency win in this post. With Vapi's default (true), Vapi holds AssemblyAI's end-of-turn signal until its own VAD also agrees the caller stopped, which adds time to every turn. With false, Vapi acts on the end of turn as soon as it arrives.

keytermsPrompt boosts recognition of names, brands and domain terms. Up to 100 terms, 50 characters each, included at no extra cost. Put in your product names, the names your callers say, and any term a general-purpose model has never seen.

agentContext and agentContextAutoUpdateEnabled are the ones people skip and shouldn't. agentContext passes what your agent just said, and the model uses it to resolve the reply. When your agent asks "what's your account number," the model knows a string of digits is coming. Seed it with your firstMessage, and turn on agentContextAutoUpdateEnabled so Vapi sends each later reply automatically. It's off by default on Vapi, unlike the LiveKit and Pipecat integrations. Across 20,000 voice-agent files, passing agent context to Universal-3.6 Pro Realtime cut word error rate by 10.2%, with fabrications down 18.3%.

languageCodes (optional) steers the model toward the languages you expect. Universal-3.6 Pro Realtime code-switches natively across 32 languages with no configuration, so omit it for a multilingual agent. If you know your callers speak English, ["en"] helps on short or ambiguous turns. If it's English and Spanish, pass both and keep the code-switching.

The model also keeps the caller's earlier turns in context on its own, so it carries what was already said in the call without you managing it.

Drop This Transcriber Into Your Vapi Agent

Universal-3.6 Pro Realtime is $0.45/hr base with agent context and keyterms included. Get an API key and add it to Vapi in about two minutes.

Sign up free

Step 2: Pick a mode instead of tuning flags

Older versions of this advice told you to reach into low-level flags: turn off formatting, drop confidence thresholds, shave silence timers. That approach produced agents that were fast at being wrong. On Universal-3.6 Pro, Vapi's legacy fields such as endOfTurnConfidenceThreshold and formatTurns have no effect at all.

Universal-3.6 Pro Realtime exposes three presets instead:

Mode End-of-turn check Forced end Use it when
balanced (default) 128 ms 1280 ms Most assistants. Fast replies to complete sentences, with room for short mid-thought pauses. Start here.
min_latency 128 ms 640 ms Callers answer in short, complete phrases: IVR replacement, order confirmation, yes/no qualification.
max_accuracy 512 ms 2560 ms Accuracy matters more than speed. Turns rarely split, but any turn that needs the forced end waits up to 2560 ms.

The end-of-turn check is how long the model waits in silence before it asks whether the turn reads as finished. The forced end is the hard fallback, the point where the turn ends regardless. In Vapi, these map to minEndOfTurnSilenceWhenConfident and maxTurnSilence. Leave both unset and the preset's values apply. Set them and they override the preset, so if you change mode later, remove or update them.

min_latency doesn't make transcription faster. It makes the model less patient, trading tolerance for mid-thought pauses for a snappier turn. For a bot confirming a pizza order, that's a great trade. For a bot taking a callback number, it's a bad one.

The model protects entities on its own. Entity-aware endpointing is on by default in every mode: when a turn ends in something that may continue, like part of a phone number or an email address, the turn is held open until maxTurnSilence instead of ending at the first pause. On AssemblyAI's voice-agent benchmark, that cut the phone-number entity error rate on Universal-3.6 Pro from 7.0% to 2.2% with the median end-of-turn latency unchanged.

That's also why maxTurnSilence is the main value to tune in Vapi. Dictated entities and short, unpunctuated replies like a bare "yes" both end at the forced end, so it sets the response time for those turns. If your assistant collects a lot of alphanumeric input, raise maxTurnSilence (for example, to 2000 to 3000 ms) for that assistant, or split entity collection into a dedicated assistant with a longer window. AssemblyAI's Vapi guide documents transcriber settings per assistant and per call (through assistantOverrides at call start), not mid-call updates, so per-step tuning means per-assistant configuration.

If you drive AssemblyAI's streaming WebSocket directly instead of through Vapi, you can use AssemblyAI-STT-3.7-Realtime-Agent and change turn detection mid-stream, without reconnecting. Connect with the preset:

CONNECTION_PARAMS = {
    "sample_rate": 16000,
    "speech_model": "assemblyai-stt-3-7-realtime-agent",
    "mode": "balanced",  # min_latency | max_accuracy | manual
}

Then, when your agent has just asked for a callback number, raise min_turn_silence and restore the preset afterward:

# Before capturing the entity
websocket.send('{"type": "UpdateConfiguration", "min_turn_silence": 1000}')

# After the response, re-apply your mode to restore its defaults
websocket.send('{"type": "UpdateConfiguration", "mode": "balanced"}')

One thing you won't find here: an instruction to disable formatting. Formatting is always on in Universal-3.6 Pro Realtime. It was never worth turning off anyway. Handing your LLM "my number is five five five oh one three four" instead of "My number is 555-0134." doesn't save time; it moves the parsing problem downstream, where it costs more.

Step 3: Choose an LLM that streams fast, not one that scores well

Vapi lets you point at almost any model. The instinct is to pick the smartest one you can afford. For a voice agent, that's usually the wrong instinct.

What matters is time-to-first-token, because Vapi can start feeding TTS as soon as the first tokens arrive. A model that finishes generating in 400 ms but doesn't emit its first token for 350 ms will feel slower than a model that takes 900 ms total but starts streaming at 120 ms. Total generation time barely matters; first-token time is what the caller hears.

Three things to get right regardless of which model you pick:

  1. Cap the output. Set a max token limit low enough that the model can't monologue. Voice replies should be one or two sentences. If the model wants to give you five, that's five sentences of TTS your caller sits through before they can respond.
  2. Write the system prompt for speech, not for text. "Answer in one or two sentences. Never use bullet points or lists." It costs you nothing and saves you seconds.
  3. Measure tool-call latency separately. A tool call is a full extra round trip that your latency budget probably doesn't account for. If your agent calls a slow internal API mid-conversation, no amount of STT tuning saves you.

We're deliberately not naming a model here. Benchmark two or three candidates against your own prompts and tools. How to evaluate speech recognition models covers the methodology, and most of it transfers directly to evaluating the LLM leg.

Step 4: Pick a voice that starts fast

Same logic, different leg. What you care about in TTS is time-to-first-byte, how quickly the first audio frame arrives, because Vapi streams the rest.

A few things reliably cost you time-to-first-byte and are worth checking before you blame your provider: heavy prosody or style-exaggeration settings, very long input strings that force the model to plan the whole utterance, and voices built for expressive narration instead of conversation. Conversational voices are usually faster and, for an agent, usually better anyway.

Our rundown of current text-to-speech APIs goes deeper on the tradeoffs. Whichever you choose, test it with your actual reply lengths. A voice that's fast on "Sure, one moment" can be considerably slower on a three-clause sentence.

Step 5: Let the transcriber own turn detection

This is the section that matters most, and it's where the old advice has aged worst.

Vapi has a startSpeakingPlan with a set of timers: waitSeconds, and under transcriptionEndpointingPlan, values like onPunctuationSeconds, onNoPunctuationSeconds and onNumberSeconds. For years the standard advice, including in an earlier version of this post, was to hand-tune those numbers down.

Don't do that with AssemblyAI. Leave startSpeakingPlan.smartEndpointingPlan unset, and Vapi acts on the end_of_turn flag AssemblyAI sends with each final transcript. In that mode, transcriptionEndpointingPlan isn't used at all; it applies only to transcribers without built-in end-of-turn detection. Setting a smartEndpointingPlan (Vapi's vapi, livekit or custom-endpointing-model providers) hands turn-taking back to Vapi, and AssemblyAI's silence settings and vadAssistedEndpointingEnabled are then ignored.

Letting the model decide is a different architecture from timer-tuning. Universal-3.6 Pro Realtime doesn't endpoint on silence alone. When the caller pauses, it judges from what has been said whether they finished a thought or just took a breath. A human pausing to think mid-sentence leaves a different transcript from a human who's done talking, and the model can read the difference. A timer can't. That's why hand-tuned timers always land in the same trap: tight enough to feel responsive means you interrupt people, and loose enough to stop interrupting people means you feel slow.

startSpeakingPlan.waitSeconds (default 0.4 s) still adds a pause before the assistant speaks. With AssemblyAI's end-of-turn detection, it has less effect on response time than the mode, maxTurnSilence and the VAD hold. Tune those first. We went deep on why in how intelligent turn detection solves the awkward-pause problem.

The other half of the equation is barge-in, which Vapi handles in its stopSpeakingPlan. The default (numWords: 0) interrupts on Vapi's voice activity detection, which is the fastest option, but background noise and backchannels like "mhm" can stop the assistant. Raise voiceSeconds (up to 0.5) if that happens too often, or switch to word-count interruption (numWords of 1 to 3) so the assistant stops only once AssemblyAI has transcribed real words, with Vapi's acknowledgementPhrases filtering out backchannels. If your agent keeps cutting itself off, it's usually picking up its own TTS through the caller's mic.

Skip extra noise suppression in front of the model, too. Preprocessing usually hurts accuracy more than the original noise. If you enable Vapi's backgroundSpeechDenoisingPlan, compare transcripts with and without it.

Hear The Difference Turn Detection Makes

Run your own audio through AssemblyAI's streaming models and watch where they end turns. Interruptions and awkward pauses are much easier to diagnose when you can see the turn boundaries.

Try playground

Accuracy is a latency feature

Here's a thing that doesn't show up in any latency budget and dominates real-world perceived speed: a misrecognition costs you an entire conversational turn.

If your agent hears "my number is 555-0134" as "my number is 555-01 34" and asks the caller to repeat it, you didn't lose 200 milliseconds. You lost eight seconds and some of the caller's patience. No amount of shaving the TTS leg gets that back.

That's why entity accuracy is the number to watch for voice agents, more than pooled word error rate. Callers say phone numbers, email addresses, order IDs and their own names, the categories general-purpose models handle worst.

On AssemblyAI's run of 12,460 English voice-agent calls, AssemblyAI-STT-3.7-Realtime-Agent has the lowest entity error rate of the 26 streaming models we ran, 13.2%, against 15.2% for Soniox Realtime v6, 16.9% for ElevenLabs Scribe v3 Live and 25.1% for Deepgram Nova-3, and the lowest word error rate, 4.53%. Against Universal-3.6 Pro Realtime on the same recordings, it makes 80% fewer number errors and 53% fewer entity misses on Voice Code Bench, a set dense in numbers, codes and identifiers. The research post and the benchmarks page have the full tables. That's the model you get on the direct-WebSocket path today, and the one Vapi agents move to when Vapi adds it.

Inside Vapi, three settings buy accuracy on Universal-3.6 Pro for free or near-free:

  • agentContext with agentContextAutoUpdateEnabled. Pass in what your agent just asked. Included in the base price.
  • keytermsPrompt. Up to 100 domain terms, included in the base price.
  • prompt. A short description of the conversation ("Customer support call about an internet service outage"). Start with no prompt and add one only if domain vocabulary is being misrecognized. General prompting is +$0.05/hr.

Base price is $0.45/hr for Universal-3.6 Pro Realtime when you bring your own AssemblyAI key, billed on WebSocket session duration. Streaming diarization is +$0.12/hr. Some parameters available on AssemblyAI's API and in the LiveKit and Pipecat plugins, including Voice Focus, speaker_labels, interruption_delay and vad_threshold, aren't exposed by Vapi's transcriber, so on Vapi the model uses AssemblyAI's defaults for them. Full breakdown on the pricing page.

Network and deployment

Two deployment realities that no config change fixes.

Region matters more than any single parameter. Every leg of the pipeline is a network hop, and if your Vapi region, your LLM region and your transcriber region are on three different continents, you've spent more on geography than you'll ever recover in tuning.

Telephony is a different animal from web. Phone audio arrives narrowband and adds carrier-side buffering you can't tune away. Test on the medium you'll ship on. A demo that feels perfect over a laptop mic can feel sluggish on a landline, and you want to find that out before your customer does.

Testing and monitoring

Use component-level metrics or you're guessing. Log, per turn: time from the user's last syllable to end_of_turn, time from end_of_turn to the first LLM token, and time from the first token to the first audio frame. If you only log total round-trip time, you'll optimize the wrong leg. To check what Vapi sent, open a call in the Vapi dashboard and find the AssemblyAI WebSocket request in its logs; the request URL lists the speech_model, mode, min_turn_silence and max_turn_silence for that call.

Then log the things that don't show up as latency at all but read as latency to the caller:

  • Interruption rate: how often your agent cuts someone off. Rising interruptions mean your preset or maxTurnSilence is too aggressive.
  • Repeat rate: how often callers repeat themselves. Rising repeats mean your agent is either too slow or mishearing.
  • Turn fragmentation: how often one utterance became two turns. This is the phone-number problem, and it's the tell that you need a higher maxTurnSilence for that assistant.

Test with real audio, not your own voice in a quiet room. Your callers are in cars, in warehouses and on speakerphone. Our 2026 insights report on what makes a good voice agent has more on where production agents break that lab testing never catches.

Common pitfalls

  • Still running universal-streaming-english. It's Vapi's default and several generations old. If your assistant was configured before mid-2026, or a PATCH dropped speechModel, this is almost certainly what it's set to, and fixing it is the single highest-value change in this post.
  • Leaving vadAssistedEndpointingEnabled on. Vapi's default waits for its own VAD on every turn. Set it to false.
  • Hand-tuned startSpeakingPlan timers left over from an older build, or a smartEndpointingPlan that overrides AssemblyAI's end of turn. Clear them and let the transcriber's end_of_turn drive.
  • Explicit silence values that fight the preset. If you set minEndOfTurnSilenceWhenConfident or maxTurnSilence and then change mode, the old values still win.
  • agentContextAutoUpdateEnabled left off. It's off by default on Vapi, so the model only knows your first message.
  • Chasing STT milliseconds while a tool call eats a second and a half. Instrument every leg before you optimize any leg.
  • Long system prompts. They inflate time-to-first-token on every turn. Cut them.
  • Testing only on clean audio. Your agent's worst latency day is the day someone calls from a car.

When to stop assembling a stack

Everything above assumes you want the control that comes with picking your own transcriber, LLM and voice. That's a real preference, and Vapi serves it.

But some of the teams reading this are optimizing a stack they'd rather not be maintaining. AssemblyAI covers both speech ends: AssemblyAI-STT-3.7-Realtime-Agent for speech-to-text and AssemblyAI's Text-to-Speech API for voice output, with LLM Gateway for the model in between, orchestrated with LiveKit or your own loop, on one key and one bill. In AssemblyAI's research post, that combination with Gemma 4 31B through LLM Gateway and AssemblyAI-TTS-1 measured end-to-end turn latency regularly around 250 ms.

We're infrastructure, not an agent platform, so this isn't a Vapi replacement for everyone. If you need Vapi's orchestration, campaign tooling or provider flexibility, keep it and configure the transcriber well. If the reason you're reading a latency-tuning guide is that you've been hand-maintaining a four-vendor pipeline, price out the one-vendor version before you spend another sprint on timers. The production ceiling covers where assembled stacks tend to hit their limits.

Final words

The hardest thing to accept about voice agent latency is that the fastest agent isn't the one that wins.

The agent that wins is the one that's predictably fast, responding in a consistent rhythm the caller can subconsciously sync to. A stack that averages 700 ms but swings between 300 ms and 1,800 ms feels worse than one that lands on 900 ms every time, because people calibrate to a rhythm and get thrown by variance far more than by absolute delay.

So when you instrument your agent, log the p90 and p99, not only the mean. Your mean is what you put on a slide. Your p99 is what your caller remembers.

Most of the variance won't be in the legs you were tuning. It'll be in turn detection, in how consistently the transcriber decides someone is done talking. That's the leg least visible in a latency dashboard and most audible on a phone call.

Start With The Transcriber

Universal-3.6 Pro Realtime drops into Vapi as a single config block, at $0.45/hr base with your own key. New accounts get $50 in free credits for the speech APIs, no credit card required.

Sign up free

Frequently Asked Questions (FAQs)

What is the lowest latency speech-to-text setup for a Vapi voice agent?

Universal-3.6 Pro Realtime (universal-3-6-pro), the newest AssemblyAI model in Vapi's transcriber list, with vadAssistedEndpointingEnabled: false and no smartEndpointingPlan, so Vapi acts on AssemblyAI's end of turn the moment it arrives. Start on the balanced preset and move to min_latency (128 ms check, 640 ms forced end) only if your callers answer in short, complete phrases.

How do I configure AssemblyAI as the transcriber in Vapi?

Set the assistant's transcriber to "provider": "assembly-ai" with "speechModel": "universal-3-6-pro", plus mode, vadAssistedEndpointingEnabled, keytermsPrompt, agentContext and agentContextAutoUpdateEnabled. Add your AssemblyAI key under Integrations to bill transcription to your AssemblyAI account. There's a full walkthrough in our Vapi voice agent guide.

Can I use AssemblyAI-STT-3.7-Realtime-Agent in Vapi?

Not as a built-in option yet. Vapi's AssemblyAI transcriber lists universal-3-6-pro, universal-3-5-pro and the older Universal-Streaming models. AssemblyAI-STT-3.7-Realtime-Agent is available on AssemblyAI's streaming WebSocket and in LiveKit, where it returns the final transcript 86 ms after the caller stops speaking, per AssemblyAI's research post.

Should I tune Vapi's startSpeakingPlan settings for lower latency?

No, not when AssemblyAI is your transcriber. Leave smartEndpointingPlan unset so Vapi uses AssemblyAI's end-of-turn signal; transcriptionEndpointingPlan isn't used in that mode. Tune the mode preset, maxTurnSilence and vadAssistedEndpointingEnabled first. waitSeconds has less effect on response time than those.

What's the difference between min_latency, balanced, and max_accuracy mode?

They're presets for the model's silence thresholds. min_latency checks for end of turn after 128 ms and forces it at 640 ms, balanced (the default) uses 128 ms and 1280 ms, and max_accuracy uses 512 ms and 2560 ms. In Vapi, explicit minEndOfTurnSilenceWhenConfident or maxTurnSilence values override the preset, and the guide documents no mid-call update, so entity-heavy steps are best served by a higher maxTurnSilence or a dedicated assistant.

How much does real-time transcription cost for a Vapi voice agent?

Universal-3.6 Pro Realtime is $0.45/hr base with your own AssemblyAI key, billed on WebSocket session duration. Agent context and keyterms are included; general prompting is +$0.05/hr and streaming diarization +$0.12/hr. Without your own key, Vapi bills transcription on its invoice. New AssemblyAI accounts get $50 in free credits for the speech APIs; LLM Gateway isn't included.