https://retellai.com/?utm_source=discord&utm_medium=seo logo
I'm getting ErrorRequest failed with status code 4...
# ❓・ai-evy-support
m
@AI Evy I'm getting Error Request failed with status code 400 when selecting GPT Real time
a
Thanks for tagging me @miketyler.. I'll look through relevant sources and get back to you shortly.
### Answer --- When selecting a GPT Realtime model, you need to use the
s2s_model
parameter instead of the
model
parameter [(1) ]() [(2) ]() [(3) ]() . The available options for speech-to-speech models are
gpt-4o-realtime
,
gpt-4o-mini-realtime
, and
gpt-realtime
. You cannot set both
model
and
s2s_model
at the same time—you can only set one or the other [(1) ]() [(3) ]() . Based on a Discord discussion, GPT Realtime models are supported for Single and Multi prompt agents [(4) ]() . However, there was a reported issue with getting a 400 error when selecting GPT Realtime mini in a multi-state agent prompt . If you're still experiencing the 400 error after verifying you're using
s2s_model
correctly, I recommend reaching out to Retell AI support for assistance. **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.