Speeding up agentic workflows with WebSockets in the Responses API
AI-generated summary of reporting by OpenAI News. Read the original for the full story.
Why it matters
Developers running agentic workflows on OpenAI's Responses API can cut end-to-end latency up to 40% by switching to WebSocket mode, which is live now.
OpenAI changed how its Responses API talks to software like Codex. Instead of starting a fresh HTTP connection and resending the whole conversation for every step, the API now keeps one persistent WebSocket connection open and remembers prior state. This made agent workflows up to 40% faster, letting users actually feel the new GPT-5.3-Codex-Spark model's speed of about 1,000 tokens per second.
OpenAI shipped WebSocket mode for the Responses API in late 2025 after a two-month sprint, and Codex moved the majority of its traffic onto it. Partners saw real gains: Vercel cut latency up to 40%, Cline's multi-file workflows 39%, Cursor 30%. The strategic point: API overhead was wasting the speed of Cerebras-backed inference, and OpenAI is now retrofitting its infrastructure around fast agents.
Responses API overhead was limiting GPT-5.3-Codex-Spark (target 1,000+ TPS on Cerebras hardware vs ~65 TPS for GPT-5/5.2). Per-request HTTP forced reprocessing of full conversation history, so OpenAI moved to WebSockets over gRPC streaming to preserve API shapes: connection-scoped in-memory cache keyed by previous_response_id stores rendered tokens, routing state, and lets safety classifiers and validators process only new input; billing is overlapped with subsequent requests. A single long-running Response prototype showed lower latency but a worse API shape. Bursts of 4,000 TPS observed in production.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Codex Responses API GPT-5.3-Codex-Spark WebSockets Vercel Cline Cursor
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.