Urgent.News

What's breaking now, across hundreds of outlets.

Tech

What actually made a voice bot faster: notes on cutting 2.13s to 0.87s

On a phone call, silence is the whole product. A web chatbot can take two seconds to answer and nobody blinks. A voice bot that takes two seconds feels broken. On a voice bot I worked on, a question answered from a knowledge base took 2.13s from the caller finishing to the bot starting its reply. I got that to 0.87s. Here is what I learned, including the thing I got wrong first. What didn't work:…

The source material tells the story of a voice bot optimization project that reduced the response time from 2.13 seconds to just 0.87 seconds. The key to achieving this significant improvement was not upgrading the language model (LLM) as one might initially think. Instead, the team discovered that the bulk of the delay was due to a series of steps that occurred before the model could even generate a reply.

The report outlines several strategies that proved effective in cutting down the response time:

1. Prefetching: Tasks that do not depend on the caller's last utterance are initiated before the caller finishes speaking. This includes retrieval of relevant information and assembly of prompts.

2. Lookahead: The system anticipates the likely next action and begins fetching data early, even before a clear decision point arrives.

3. Parallel processing of tool calls: Independent lookups are executed simultaneously rather than sequentially, preventing any single bottleneck from dictating the overall speed.

4. Hedged requests: If one request takes longer than expected, a secondary request is sent in parallel, and the quicker response is used to proceed.

The author emphasizes the importance of time tracking during the bot's operation, suggesting that each stage—speech-to-text conversion, retrieval, LLM inference, and text-to-speech conversion—should be measured separately. Initially, the team relied on averages that obscured the bottlenecks; by focusing on the individual stages, they were able to pinpoint the slowest parts of the process.

The takeaway is clear: when a voice agent feels sluggish, the first step should not be to upgrade the underlying model but to profile the system with a timer, examining each stage of the conversation for inefficiencies. The lesson learned from this project is that optimizing voice bots requires a nuanced approach that starts with understanding where the delays lie, rather than assuming that a more powerful model will solve the problem.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

Wrong Answers Are Free, Time Isn't: A Small Decision Model for Rare-Answer Trivia

Disclosure: Krillion Unlimited at krillionunlimited.vip is an unofficial, fan-made game. It is not made by, connected to or endorsed by the official Krillion (krillion.io), and I am not the author of…

  • Always attempt the rare answer first with fallback option
  • Leave 6-8 second reserve for safer answer
  • Never use crowd's answer as fallback

More from Sunday, 6 December 2026 →