https://retellai.com/?utm_source=discord&utm_medium=seo logo
which gpt is best for the calls
# ❓・ai-evy-support
z
@AI Evy which gpt is best for the calls. i realised that gpt 5 is bad for calls it tends to over explain and teach. it does too much i will have to put in a lot of guardrails for gpt5 compared to the other gpt.
a
Thanks for tagging me @zubeyrahmed. I'll look through relevant sources and get back to you shortly.
### Answer Based on Retell AI's documentation, your observation about GPT-5 is correct [(1) ]() . For most real-time voice agent use cases where speed is critical, GPT-5 Mini or GPT-4.1 will be better choices . GPT-5 becomes more viable if future improvements reduce its latency . Here are the recommended models based on your use case: For high-intelligence, complex workflows (advanced customer support, appointment scheduling, heavy function calling) : - **GPT-4.1**: 43% intelligence, medium latency (720ms) , $0.045/min - **GPT-5 (minimal) **: 46% intelligence but higher latency (1000ms) , $0.04/min For lightweight, high-speed tasks (lead qualification, survey intake) : - **GPT-4.1 Mini**: High intelligence, low latency (550ms) , $0.016/min - **GPT-5 Mini (minimal) **: Highest intelligence in this group, medium latency (800ms) , $0.012/min The documentation specifically notes that GPT-5 Mini is a strong choice for small tasks that still benefit from reasoning, but if your workflow is speed-sensitive and doesn't require deep reasoning, stick with GPT-4.1 Mini . GPT-5 is a reasoning model that delivers significantly higher intelligence but is typically slower than lighter models, which can impact real-time applications where sub-second response is critical . This aligns with your experience of it over-explaining and requiring more guardrails.
​ To learn more, see the sources I considered: [[1] Retell AI Launches GPT-5 for Voice Agents – Higher Intelligence, Smarter Conversations | Retell AI](https://www.retellai.com/blog/gpt-5-now-on-retell-smarter-ai-voice-agents-with-reasoning-power) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
i am making a receptionist where it takes an order and the only function call is getting the full menu from an api call. and it takes an order with structure. so what is best. i also noticed some gpts are better with understanding voices better. some mis understand or mis hear. i dont wnat that
@AI Evy i am making a receptionist where it takes an order and the only function call is getting the full menu from an api call. and it takes an order with structure. so what is best. i also noticed some gpts are better with understanding voices better. some mis understand or mis hear. i dont wnat that
a
Thanks for the follow-up, @zubeyrahmed. I'll get back to you soon.
### Answer Based on your receptionist use case with menu API calls and structured order taking, GPT-4.1 Mini would be your best choice [(1) ]() [(2) ]() . For your specific requirements: GPT-4.1 Mini offers [(2) ]() : - High intelligence with excellent instruction-following - Low latency (550ms) for responsive conversations [(1) ]() - Cost-effective at $0.016/min [(2) ]() - Optimized for scale and structured output This model is specifically recommended for tasks that require better tone matching and script adherence , which is crucial for a receptionist taking structured orders. GPT-4.1 Mini provides more accurate data capture and structured output thanks to improved JSON mode and stronger system prompt adherence . Regarding voice understanding, the model selection affects response generation, but speech recognition quality is primarily controlled by Retell's ASR settings. You can improve transcription accuracy by configuring: -
boosted_keywords
to include menu items and restaurant-specific terms [(3) ]() [(4) ]() [(5) ]() [(6) ]() -
language
setting to match your target language -
stt_mode
set to "fast" or accuracy mode based on your needs [(3) ]() [(5) ](
erences/get-agent) The documentation shows these can be configured when creating or updating your agent [(4) ]() [(6) ]() . Avoid GPT-5 for this use case - as you've experienced, it tends to over-explain and has higher latency (1000ms) [(1) ]() , which isn't ideal for quick order-taking interactions.
​ To learn more, see the sources I considered: [[1] Retell AI Launches GPT-5 for Voice Agents – Higher Intelligence, Smarter Conversations | Retell AI](https://www.retellai.com/blog/gpt-5-now-on-retell-smarter-ai-voice-agents-with-reasoning-power) [[2] Smarter AI Phone Calls with ChatGPT-4.1 | Retell AI | Retell AI](https://www.retellai.com/blog/chatgpt-4-1-ai-phone-calling-retell) [[3] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[4] Create Agent](https://docs.retellai.com/api-references/create-agent) [[5] Get Agent](https://docs.retellai.com/api-references/get-agent) [[6] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
@AI Evy does retell automatically get the customer's name
a
Thanks for the follow-up, @zubeyrahmed. I'll get back to you soon.
### Answer Retell AI does not automatically get the customer's name. However, it does automatically capture the caller's phone number, which you can access using the
{{user_number}}
dynamic variable [(1) ]() . When Retell receives a call, the system automatically provides: - The caller's phone number via
{{user_number}}
- Call metadata including
from_number
and
to_number
[(2) ]() [(3) ]() [(4) ]() For example, in custom functions, Retell passes call information in this structure [(4) ]() :
Copy code
json
{
  "call": {
    "call_type": "phone_call",
    "from_number": "+12137771234",
    "to_number": "+12137771235",
    "direction": "inbound",
    "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
    "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
    "call_status": "registered",
    "metadata": {},
    "retell_llm_dynamic_variables": {
      "customer_name": "John Doe"
    }
  }
}
To get the customer's name, you would need to: 1. Use the phone number to look up the customer in your database via a custom function/tool call 2. Ask the customer directly during the conversation 3. Pre-populate it using
retell_llm_dynamic_variables
if you have the information beforehand [(2) ]() [(3) ]() The
{{user_number}}
variable can be used in your prompts to reference the caller's phone number throughout the conversation [(1) ]() .
​ To learn more, see the sources I considered: [[1] Caller ID ({{user_number}}) will not register in AI Agent](https://discord.com/channels/1186424376300679209/1387609283322974299) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[4] Discord message from @jarrad562 on 2024-11-18](https://discord.com/channels/1186424376300679209/1294891368505937952/1308000920935858226) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
@AI Evy how do the transition conditions work. can i reference my prompt or do i reference the transcript (what happens)
a
Thanks for the follow-up, @zubeyrahmed. I'll get back to you soon.
### Answer Transition conditions in Retell AI's Conversation Flow work by referencing what actually happens in the conversation (the transcript) , not your prompts [(1) ]() . ## How Transition Conditions Work Transition conditions determine whether and which node the agent will transition to . There are two types : 1. **Prompt conditions**: Evaluated by the LLM based on conversation context 2. **Equation conditions**: Mathematical equations using dynamic variables ## What You Reference You reference what happens in the conversation, not your node's instruction prompt . Although the agent has access to the current node's instruction when evaluating conditions, it's recommended to write conditions that are clear and don't rely heavily on the instruction . ## Examples of Good Transition Conditions Prompt conditions : -
User said something about booking a meeting
-
User said something about cancelling a meeting
-
User claims to be over 18
-
User said they lived in New York
Equation conditions :
Copy code
- {{user_age}} > 18
- {{current_time}} > 9 AND {{current_time}} < 18
- {{user_location}} == "New York"
- {{user_location}} != "New York"
- "New York, Los Angeles" CONTAINS {{user_location}}
- {{name}} exists
## When Transitions Happen Transitions usually happen after the user speaks, but this can vary based on node type . You can see the current node highlighted in the dashboard during testing to understand how and when transitions occur . ## Best Practices To ensure smooth transitions and prevent your agent from getting stuck : - Cover all possible cases in your transition conditions - Write conditions that match actual language patterns users would say - Focus on specific cases that can happen within that node - Use global nodes for general cases like objection handling The key is writing conditions based on user behavior and responses rather than referencing your internal prompts or instructions.
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
since it uses the transcript can i refer to the ai
@AI Evy since it uses the transcript can i refer to the ai
a
Thanks for the follow-up, @zubeyrahmed. I'll get back to you soon.
### Answer Yes, you can refer to the AI in your transition conditions since they use the transcript [(1) ]() . The agent will have access to the current node's instruction when evaluating the conditions . When writing transition conditions, you can reference both user responses and agent responses from the conversation. For example, you could write conditions like: -
Agent asked about booking preferences and user responded with a specific date
-
After agent explained pricing, user agreed to proceed
-
User responded to question of their age
However, the documentation recommends writing conditions to be clear and not reference the instruction too much . It's better to focus on what actually happened in the conversation rather than relying heavily on internal prompts. For function nodes specifically, you can also reference function results in your transition conditions, such as
CRM lookup returned successful result
. The key is that transition conditions evaluate the entire conversation context, including both what the user said and what the agent said, to determine if the edge should trigger.
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.