https://retellai.com/?utm_source=discord&utm_medium=seo logo
Am I doing something wrong or is the conversation ...
# ❓・bug-report
p
While I build the flow, I see a latency of 1000 - 1250ms up at the top. BUT, even using the chat test LLM, I get 3 to 7 seconds delay between responses. I figure it is most likely something I'm doing wrong, but does anyone have ideas?
s
Hi @paulcroubalian If you're seeing a 1–1.25 second latency in the flow builder but experiencing 3–7 second delays during chat testing, several factors could be contributing to this discrepancy. One common cause is the absence of token streaming; without it, the system waits for the entire response before displaying it, leading to longer perceived delays. Enabling token streaming can allow partial responses to appear sooner, enhancing responsiveness. Additionally, using larger models like GPT-4 can introduce more latency compared to smaller models such as GPT-3.5. Other factors include the size and complexity of your prompts, network conditions, and any backend processing delays. To mitigate these issues, consider enabling token streaming, optimizing your prompts for brevity, selecting models that balance performance and speed, ensuring a stable internet connection, and reviewing any backend operations that might be causing delays. For more detailed troubleshooting steps, you can refer to Retell AI's latency troubleshooting guide
m
Somthing is wrong 😑
Everyone is having the same issue
p
Thanks.. I'm using Claude Haiku 3.5 for this simple flow. I'm not sure where and how to enable token streaming. I have definitely noticed "One common cause is the absence of token streaming; without it, the system waits for the entire response before displaying it, leading to longer perceived delays. " I doubt it is my actual internet (3Gbs fiber, although my laptop tops out at 750) I am not really sure how the conversational flow handles nodes and the mini-prompts within them. Some prompts are a line or two long, others are more in depth. I am toying with the idea of rebuilding my tests to offload processing to somewhere other than retellai, and elve retell for convos only
s
Please following steps to improve responsiveness: Enable Token Streaming: Ensure that token streaming is activated in your setup. Streaming allows the agent to begin speaking as soon as the first tokens are generated, reducing perceived latency.​ Optimize Prompts: Keep your prompts concise. Longer prompts can increase processing time and delay responses.​ Monitor LLM Performance: Check if Claude Haiku 3.5 is experiencing higher latency than usual. If so, consider switching to an alternative model or waiting for performance improvements.​ Check Retell AI Status: Visit Retell AI's status page to see if there are any ongoing issues that might be affecting performance.​