Serverless WebSockets

Real-time bidirectional streams.

Fully managed WebSocket infrastructure that scales to millions of concurrent connections. No servers to manage — just push messages.

WS HUB1M+ ConnectsReal-time Msg

Millions

Connections

< 10 ms

Latency

JWT / IAM

Auth

WS / SSE

Protocols

Real-time infrastructure.

Pub/sub, presence, and authentication — all managed.

Millions of connections

Scale to millions of concurrent WebSocket connections. No connection limits, no server management.

Sub-10ms messaging

Pub/sub messaging with sub-10ms delivery to connected clients. Topic-based and direct messaging.

Built-in authentication

JWT, API key, and IAM-based authentication. Per-connection and per-message authorization.

Presence tracking

Real-time user presence, online status, and typing indicators. Channel membership APIs.

SDK for every platform

JavaScript, Python, Go, Swift, Kotlin, and Flutter SDKs. Automatic reconnection and state sync.

Event triggers

Trigger serverless functions on connect, disconnect, and message events.

Getting started

Launch your first instance in three steps. CLI, console, or API — your choice.

Terminal
ur websockets hubs create chat-hub \
  --region=eu-west1

Real-time use cases.

Chat, collaboration, and gaming — at any scale.

Real-time chat

Build chat applications with presence, typing indicators, and message history.

View tutorial

Suggested configuration

WebSocket · Presence · Auth

Estimate your costs

Create detailed configurations to see exactly how much your architecture will cost. Pay for what you use, down to the second.

Configuration 1

Estimated: $30146.79/mo

WebSocket Runtime

Usage Volume

M
ms

Connectivity

Provisioned ConcurrencyEliminate cold starts (+$0.015/hr per instance)
Config 1 cost$30146.79

Cost details

$30146.79

Real-time messaging without managing servers.

Configuration 1
$30146.79
Compute Duration$29945.99
Invocations$199.60
Network Egress$1.20
Free Tier DeductionApplied

Works seamlessly with

Serverless Functions
Cloud SQL
Pub/Sub
Cloud Monitoring
IAM
Cloud Logging

Frequently asked questions

Real-time, fully managed.

WebSocket infrastructure that scales to millions. No servers needed.