cd /news/ai-infrastructure/websocket-support-for-openai-respons… · home topics ai-infrastructure article
[ARTICLE · art-75782] src=vercel.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

WebSocket support for OpenAI Responses API live on AI Gateway

Vercel's AI Gateway now supports WebSocket mode for the OpenAI Responses API, enabling persistent connections that send only new input items plus previous_response_id per turn instead of full context over fresh HTTP requests. OpenAI reports up to ~40% faster end-to-end execution on WebSockets for agentic rollouts with 20 or more tool calls.

read1 min views1 publishedJul 27, 2026

AI Gateway now supports WebSocket mode for the OpenAI Responses API. You can keep a persistent connection open and continue each turn by sending only new input items plus previous_response_id

, instead of re-sending the full context over a fresh HTTP request every turn.

OpenAI reports up to ~40% faster end-to-end execution on WebSockets for agentic rollouts with 20 or more tool calls.

The Responses route opens at GET /v1/responses

and accepts raw response.create

frames over a persistent WebSocket connection. The mode is compatible with store=false

and Zero Data Retention, and follows OpenAI's WebSocket mode specification upstream.

See the AI Gateway documentation for setup and the full route list.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @vercel 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/websocket-support-fo…] indexed:0 read:1min 2026-07-27 ·