OpenAI adds WebSockets to its API, cutting agent lag by 40%
OpenAI just rolled out WebSocket mode for its Responses API, tackling the cumulative network and validation overhead that drags down fast agent loops. By keeping a persistent connection and caching previous response states in memory, end-to-end latency drops by up to 40% with a 45% faster time to first token. Coding tools like Cursor and Vercel are already clocking major speedups.