01Measure the full latency budget
Timestamp speech end, endpoint detection, transcript availability, model start, first response token, tool execution, first synthesized audio, and playback. Track median and tail latency separately because a good average can hide slow calls that damage the experience.
02Improve turn detection and streaming
Tune endpointing so the agent does not wait too long after the caller finishes or cut off natural pauses. Stream recognition, model output, and speech synthesis where supported, preconnect reusable sessions, and begin safe response segments before the complete answer is generated.
03Optimize models, prompts, and tools
Use the smallest model that reliably handles the task, keep instructions and retrieved context focused, cache stable knowledge, and avoid unnecessary model calls. Give APIs strict timeouts, return only required fields, and use a spoken fallback while a slow action is handled safely.
04Test under production conditions
Measure across real carrier routes, regions, languages, devices, background noise, concurrency levels, and integration failures. Monitor both component timing and perceived response time, then alert on regressions in high-percentile latency rather than relying only on laboratory tests.