Use OpenAI WebSockets with the AI SDK to save up to 40% time to first byte.
OpenAI Developers
OpenAI DevelopersFeb 24, 04:04
Introducing WebSockets in the Responses API. Built for low-latency, long-running agents with heavy tool calls.
See the performance difference side by side:
49