https://retellai.com/?utm_source=discord&utm_medium=seo logo
4o Depreciation
# ❓・bug-report
y
I see that gpt 4o is depreciating. 4o is by far the best performing model across 10000s of calls we have completed on retell. It does not come close to 4.1 or 5 in terms of performance and minimizing hallucinations. Is it possible to keep 4o? This is a huge change and we will need to reprompt our agents since 4.1 and 5 hallucinates way more
c
it’s been brought back after some backlash, haven’t seen anything about them removing it again. the api is still public and even IF it gets deprecated, usually that means that it’ll still work but they won’t support any issues with it and will tell you to use newer versions
y
@Colin - Integrations @ Retell AI an email was just sent out saying it’s depreciated so you should send out another saying it’s not. Because we just made lots of changes based on that email
c
let me double check with the internal team then
y
@Colin - Integrations @ Retell AI thanks please let me know. I am leaving it on 4o for now
j
We agree 1000%. We tested all the models on 4o, 4.1 and 5 as well as Claude and Gemini too. 4o is the only one that works really well and we’d have to completely change and double our prompt sizes to get 4.1 and 5 to behave correctly. They hallucinated and didn’t follow basic instructions like crazy. We were really hopeful when they were released since the pricing is better but they just failed from the start. This change would devastate our service and we would lose customers. If it ever does happen, please give use weeks of warning so we can work out all the problems. We may even need to choose a platform that supports 4o.
y
I completely agree. We would not be able to work on anything but 4o at this point
@Colin - Integrations @ Retell AI Did we get any confirmation from the team that 4o is here to stay?
@Colin - Integrations @ Retell AI hello??
c
i don’t have an update as of now
y
This is urgent. We have all of our agents live on gpt 4o. It is currently working so I assume it is not being depreciated.
f
HI. my llm switched itself to gpt 4.1 from 4o. i kept trying to switch it back to gpt 4o but its not working. please help. gpt 4.1 hallucinates too much
@Colin - Integrations @ Retell AI
@User
c
i’m confused statements contradict eachother
you’re trying to set it to 4.1?
f
nope. im trying to set to 4o, but it switches back to 4.1 by itself
s
I'm noticing the same behavior across all of our agents
They're stuck on 4.1, but we want to use 4o
c
4o is being deprecated, and by february 2026 it will no longer be supported by azure
f
thats the only good version that supports function calling and doesnt hallucinate on calls. 4.1 is in no comparison to it
@Colin - Integrations @ Retell AI why even?
s
So instead of removing the entry entirely, the UI just switches it without warning or notice of why it did that?
c
it’s functioning as it should right now, testing to make sure it’s not breaking anything. but we sent out the deprecation email a week ago
s
They want people switching over to the newer models
f
Yes. but at that time it was still working on gpt 4o and wasnt switching to 4.1. now that it is switching and the 4.1 performance is poor with function calling and overall agent responses and ability to understand the simple prompts which 4o would understand with ease, its causing troubles.
s
We're looking at moving over to GPT 5 or another model, you should probably do that as well.
e
Interested in an update on this. We use 4o as well. Also curious if others have experimented with the Realtime models. Any success?
w
I tried realtime models today and the non-mini versions work very well, the problem is that they are much more expensive. Better results were obtained with GTP4o.
o
Hello Guys you can go back to 4o using the API calls its removed from the UI and The SDK.
f
@Omar Ashraf | Community Lead Can you please share documentation on how go back to 4o with API calls
s
If you have the Retell SDK set up with JavaScript, here's a function that takes in an agent ID with conversation flow and sets it to 4o
Copy code
js
async function updateFlow(agent_id) {
    // Load the agent
    const agent = await client.agent.retrieve(agent_id)

    // Load LLM details
    const cf = await client.conversationFlow.retrieve(agent.response_engine.conversation_flow_id);
    const llm = cf.model_choice.model;

    // Set the model to gpt-4o
    cf.model_choice.model = "gpt-4o";
    await client.conversationFlow.update(cf.conversation_flow_id, cf);
    console.log(`${agent.agent_name} updated from ${llm} to gpt-4o`);
}
o
Hello if you are using the Conversation flow you can use this https://docs.retellai.com/api-references/update-conversation-flow
u
what if ur using multi prompt
s
Second link, according to the header and the embed image
same one for single prompt
f
Im using Retell DSK with Python. Retell-custom-llm-python-demo from their github
s
You'll have to adapt the code to Python then, I haven't used that SDK
y
Thanks Omar. How long will it be available through API before it is fully depreciated?
@Omar Ashraf | Community Lead
o
I don't really how long it will stay but Azure will deprecate it early next year