https://retellai.com/?utm_source=discord&utm_medium=seo logo
does a multi prompt agent has less latency than a ...
# ❓・ai-evy-support
h
@AI Evy does a multi prompt agent has less latency than a single prompt agent ?
a
Thanks for tagging me @hydem.. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, there isn't a direct latency difference between single prompt and multi-prompt agents in Retell AI [(1) ]() . The speed primarily depends on the LLM you're using rather than the agent structure itself . However, multi-prompt agents can indirectly affect latency through prompt length [(2) ]() . Longer prompts might take slightly longer to process, but as long as you keep your prompts reasonable, you should be fine . The main differences between single and multi-prompt agents are architectural [(3) ]() : Single Prompt Agents are best for simple, straightforward conversations with 1-3 functions and linear conversation flows . Multi-Prompt Agents organize conversations into structured states, each with focused prompts and state-specific functions . They're recommended for more complex use cases to avoid behavioral drift and function calling issues that can occur with large single prompts . For latency optimization, consider upgrading to multi-prompt when your single prompt exceeds 500 words or uses more than 3 functions, as this helps maintain predictable behavior rather than improve speed .
​ To learn more, see the sources I considered: [[1] Discord message from @ivan_89459 on 2025-04-12](https://discord.com/channels/1186424376300679209/1186462578310910112/1360702663452528813) [[2] Discord message from @imar_90218 on 2025-04-30](https://discord.com/channels/1186424376300679209/1186462578310910112/1367161553698160711) [[3] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
what do you mean by more than 3 functions ? any examples for an agent that need more than 3 functions ?
@AI Evy what do you mean by more than 3 functions ? any examples for an agent that need more than 3 functions ?
a
Thanks for the follow-up, @hydem.. I'll get back to you soon.
### Answer By "functions" I'm referring to the function calling capabilities that allow your agent to perform specific actions during conversations [(1) ]() . Retell AI provides several built-in functions including : - **End Call**: Terminate conversation gracefully - **Transfer Call**: Route to human agents - **Press Digits**: Send DTMF tones - **Check Availability**: Query available time slots - **Book Calendar**: Create calendar events - **Send SMS**: Send text messages You can also create custom functions to integrate with your APIs, execute business logic, or trigger workflows . Examples of agents that might need more than 3 functions: Healthcare Appointment Agent might use: 1. Check availability function 2. Book appointment function 3. Send SMS confirmation function 4. Transfer to nurse function (for medical questions) 5. End call function Real Estate Lead Qualification Agent might use: 1. Collect lead information function 2. Check property availability function 3. Schedule tour function 4. Send follow-up SMS function 5. Transfer to agent function 6. End call function When you have complex workflows requiring multiple integrations or decision points, multi-prompt agents help organize these functions across different conversation states rather than managing them all in a single prompt [(2) ]() .
​ To learn more, see the sources I considered: [[1] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) [[2] Build a multi-prompt agent](https://docs.retellai.com/build/single-multi-prompt/write-multi-prompt) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.