Vercel has made WebSocket support in Vercel Functions generally available, and its CDN now serves 15 million WebSocket connections per day. Vercel says the feature launched in public beta in late June. A WebSocket is a long-lived connection that lets a server and a browser send messages to each other at any time.
Vercel says its CDN has served 300 million WebSocket connections since the beta began. Customers use them for AI chat, streaming, and realtime multiplayer apps. WebSockets also power the realtime models in Vercel's AI Gateway.
WebSocket connections follow the same limits and pricing as other Function invocations. Under Active CPU pricing, CPU is billed only for the time spent processing messages, not for the time a connection sits open.
Source: WebSocket support is now generally available – Vercel.