← all releases
Vercel·Jun 22, 2026·Public Beta·free

Vercel WebSocket

Vercel Functions now supports WebSocket connections, enabling bidirectional communication between clients and server-side code. This feature facilitates real-time applications like interactive AI streaming, chat, and collaborative apps. WebSocket connections utilize Fluid compute and adhere to the same limits and pricing as other Function invocations, with billing based on active CPU usage during message processing.

WebSocketVercel FunctionsReal-time applicationsPublic beta
visit website docs ↗
overview

Vercel Functions now supports WebSocket connections, enabling bidirectional communication between clients and server-side code. This feature facilitates real-time applications like interactive AI streaming, chat, and collaborative apps. WebSocket connections utilize Fluid compute and adhere to the same limits and pricing as other Function invocations, with billing based on active CPU usage during message processing.

key features
  • 01Bidirectional communication between clients and server-side code
  • 02Facilitates real-time applications like interactive AI streaming, chat, and collaborative apps
  • 03Operates on Fluid compute with the same limits and pricing as other Function invocations
  • 04Billing based on active CPU usage during message processing
  • 05Supports standard Node.js libraries and higher-level libraries like Socket.IO
related productsbrowse all →