gpt realtime model not stable , some time it not r...
# ask-ai
r
gpt realtime model not stable , some time it not responding ? is any way to fix this ?
t
Thanks for reaching out, Av. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're right to be concerned — intermittent unresponsiveness from the GPT realtime model is frustrating. I'll help you troubleshoot and improve stability. What I'm responding to: your GPT realtime model becomes unresponsive sometimes and you want ways to fix it. Quick checks and fixes you can try • Use WebRTC (LiveKit Realtime API) for audio transport rather than WebSockets — WebRTC handles packet loss and low-latency voice much better. • Reduce end-to-end latency: ◦ Co-locate the agent with inference using LiveKit Inference to avoid public endpoint congestion. ◦ Enable provisioned capacity on LiveKit Cloud to bypass public inference queues during peak times. • Monitor performance with Agent Observability to find whether LLM, STT, or TTS is causing delays. • If the model stalls after loading conversation history, configure the Realtime model to use a separate TTS instance or switch to text-only responses to avoid output conflicts. • Verify your compute instances are non-burstable (e.g.,
c5
,
m5
) — burstable instances (t3/t4) can exhaust CPU credits and cause timeouts even at seemingly low CPU. A couple of targeted questions to narrow this down 1. Are you using LiveKit’s Realtime API with WebRTC for audio, or a different transport (WebSocket, REST)? 2. Do you see the stalling after a specific action (e.g., after long conversation history is loaded, during audio streaming, or under peak load)? 3. Do you have Agent Observability enabled or any latency/traces you can share (LLM vs STT vs TTS breakdown)? 4. What kind of compute instances are you running (instance family/type)? Tell me your answers to 1–4 and I’ll suggest the next concrete steps specific to your setup (config changes, observability checks, or infra recommendations). Sources: OpenAI and LiveKit partner to turn Advanced Voice into an API | Introducing LiveKit Inference: A unified model interface for voice AI | Streamline Troubleshooting with Agent Observability | OpenAI Realtime API plugin guide | LiveKit docs | Troubleshooting Latency and Timeout Errors with Turn Detection on AWS
r
i use console version only
t
Thanks — that helps. A few quick clarifying questions so I can give targeted steps for the console version: 1. When it becomes unresponsive, is that during audio streaming, after sending text/voice input, or after loading long conversation history? 2. Are you using the console's built-in WebRTC audio or switching to a different transport (WebSocket/REST)? 3. Do you have Agent Observability or any logs/traces enabled in the console that show LLM, STT, or TTS latency? 4. Is this happening more during peak times or consistently, and roughly how often (every session, once per hour, random)? 5. If you know it, what kind of compute was provisioned for this console session (burstable like t3/t4 or non-burstable like `c5`/`m5`)? Answer any you can and I’ll provide concrete console-specific troubleshooting and configuration steps.
r
this issue only happen on gpt realtime api
t
Thanks — that's useful. I'm focusing on the GPT Realtime API in the console. Two quick clarifying questions so I can give precise steps: 1. When it becomes unresponsive, does that happen during audio streaming, right after you send input (text/voice), or after loading long conversation history? 2. Do you see any console logs/traces when it stalls (LLM / STT / TTS latency spikes, network errors, or timeouts)? If you prefer, answer either or both — based on that I’ll give console-specific troubleshooting steps (config changes, observability checks, and infra recommendations).