Hi LiveKit team,
We’re using LiveKit Agents 1.6.4 with a self-hosted LiveKit server for a telephony voice agent.
We’re seeing a consistent 2–3 second delay after the user responds with short utterances such as:
- Hello
- Yes
- Okay
This creates a poor phone experience because users often start saying “Hello… Hello…” while waiting for the agent to respond.
Configuration
turn_handling = TurnHandlingOptions(
turn_detection=inference.TurnDetector(),
endpointing={
"min_delay": 0.3,
"max_delay": 1.0,
},
preemptive_generation={
"enabled": True,
"preemptive_tts": True,
},
)
AgentSession(
turn_handling=turn_handling,
vad=vad,
stt=deepgram_stt,
llm=llm,
tts=tts,
)
Stack
- LiveKit Agents: 1.6.4
- LiveKit Server: Self-hosted
- STT: Deepgram Nova-3
- LLM:
google/gemma-4-31b-itvia LiveKit inference /. also test with gpt-4.1-mini - TTS: ElevenLabs
Logs
For a simple user reply:
User stopped speaking
↓
trans_delay = 0.26s
eou_delay = 1.00s
↓
LLM started
↓
LLM completed in 2.22s
↓
TTS first audio = 0.21s
Overall response latency is around 3.4 seconds.
Another example:
trans_delay = 0.55s
eou_delay = 1.00s
LLM = 0.73s
TTS = 0.46s
≈2.2 seconds total
Observations
- STT latency looks good (250–500 ms).
- TTS latency is also good (200–450 ms).
- The delay seems to come from:
eou_delayalways reaching 1.00s- LLM inference time.
What concerns us is that eou_delay is always exactly 1.00s, even for one-word responses like “Yes” or “Okay”, despite:
min_delay=0.3
max_delay=1.0
We expected many of these utterances to commit closer to min_delay.
Questions
- Is it expected that
TurnDetector()waits untilmax_delayfor short acknowledgements? - Are there additional settings that allow earlier commitment for short responses?
- Is preemptive generation expected to begin before the final end-of-turn? In our logs, LLM generation appears to start only after the final transcript is committed.
- Would you recommend using a different endpointing mode (e.g., dynamic endpointing) for telephony?
- Is there a recommended configuration for achieving sub-second response latency in voice calls?
Any guidance would be greatly appreciated.
Thanks & Regards,
Anil Mohite