AnyCable
Realtime server with delivery guarantees, presence tracking, and message ordering — built in.
Works with Rails, Laravel, Node.js, Python, and any backend via HTTP API.
Open source, managed, or on-premise Pro.
Start a free trial of SaaS, or on premise Pro
Sign upWhy AnyCable?
Delivery guarantees, out of the box
Most WebSocket solutions don't guarantee delivery. AnyCable does. Missed messages are automatically recovered during connectivity issues — micro-disconnections, subway rides, or network switches. Your connections also stay alive during deploys, so users never notice a deployment.
10,000+ connections per server
Written in Go for minimal memory overhead on long-lived connections. Works with any backend — Rails, Laravel, Node.js, Python, or any language via HTTP pub/sub API. In production since 2017, powering 50+ companies.
The emulation below demonstrates how AnyCable handles connection failures and restores missed messages. You can try this feature yourself in our Demo application.
Managed, open source, or on-premise Pro
Start with AnyCable in its managed (SaaS) form, then switch to the on-premise Pro version as you scale. You can always move to open source, which is free. No code changes are needed to switch between any option — choose what's best for you today.
Secure and HIPAA compliant messaging
Using on premise AnyCable, Pro and open source, you store all realtime data, such as chat messages, on your servers and never have to send it to a 3rd-party. Simple, secure and compliant with HIPAA.
Works with any backend
AnyCable runs as a standalone server alongside your application. Broadcast from any backend via HTTP API — or use native SDKs for Rails and Laravel. Works with Hotwire, Turbo Streams, and any JavaScript framework out of the box.
Reuse your existing infra components
AnyCable doesn't require any additional infrastructure components for its operation and scalability: good old HTTP API and embedded NATS pub/sub server got you covered. And if you already have Redis or NATS, you can use it as well.
import { createCable } from "@anycable/web";
const cable = createCable();
// Basic pub/sub interface
let channel = cable.streamFrom("chatty/2025");
channel.on("message", (msg) => {
// handle notification
});
// join the channel's presence set
channel.presence.join(user.id, { name: user.name })
channel.on("presence", (event) => {
// handle presence updates
})
class ChatChannel < ApplicationCable::Channel
def speak(data)
message = data.fetch("message")
name = user.name
broadcast_to(
workspace,
action: "newMessage",
html: render("chats/message", message:, name:),
author_id: user.id
)
end
end
export class ChatChannel extends Channel {
async speak(handle, params, data) {
const { message } = data;
const name = handle.identifiers.username;
const payload = {
event: "newMessage",
name,
message,
};
await broadcastTo(`roomId:${params.id}`, payload);
}
}
# Broadcast from FastAPI via HTTP API
import httpx
@app.post("/messages")
async def create_message(msg: Message):
async with httpx.AsyncClient() as client:
await client.post(
f"{ANYCABLE_URL}/api/v1/broadcasts",
json={
"stream": f"chat/{msg.room_id}",
"data": msg.json()
}
)
return {"ok": True}
Industries
Healthtech
- HIPAA and SOC2 compliant — AnyCable runs on premise, data never leaves your infrastructure.
- Powers patient-doctor communication, telehealth video, and real-time health monitoring.
- Used as a critical component in software serving millions of patients.
"We use AnyCable for our dialer products, which is where real-time is critical — it's our video and voice platform. Anytime you restart your application, which happens when you deploy, you're gonna get connection severances. AnyCable allows them to keep that connection open. That Go service stays up, and you can continue shipping your Rails application as normal."
Industries
Fintech
- Real-time market data, live dashboards, transaction notifications.
- Handles massive concurrent connections where every millisecond matters.
Industries
Field Services & IoT
- Live GPS tracking, real-time dispatching, and EV charging infrastructure.
- Native support for OCPP (Open Charge Point Protocol) for EV charger communication.
- Keeps field teams and transit fleets in sync with low-latency connections.
Industries
Communities
- Real-time messaging, live events, presence indicators, activity feeds.
- Community platforms need WebSocket connections at scale — AnyCable delivers.
- From creator communities to live interpretation — reliable delivery across use cases.
Industries
And more
- Live notifications, real-time collaboration, streaming AI responses.
- From marketing funnels to audience engagement — AnyCable powers the real-time layer.
- Cost-efficient: SaaS expenses grow as your product grows, but AnyCable Pro does not.
Open source
Built with AnyCable, in the open
- Space tech: command and control for satellites
- Commerce: community chat and buyer notifications
- Customer support: live chat and agent presence
- Developer education: test results streamed into the browser
- Competitions: live results for spectators
GitLab ships AnyCable’s JS client (@anycable/core) inside GitLab Duo’s editor tooling, streaming AI responses over the Action Cable protocol.
Pricing
Start free, pay when you scale
Start on managed AnyCable, free for one instance. Move to self-hosted Pro when you want it on your own infrastructure.
Start here
Managed
We run, upgrade, and support AnyCable for you. Nothing to deploy.
Free for 1 instance (about 2,000 connections), no SLA
Start for free- Up and running in minutes
- JWT auth and signed streams, no RPC to run
- Same server as Pro, same guarantees
Need more than one instance? Self-host Pro
Pro
Self-hosted on your infrastructure, with half the memory per connection of open source.
- Startup Up to 5 production instances $1,490/yr $149/mo Start free trial
- Business Up to 20 production instances $4,900/yr $490/mo Start free trial
- Scale 20+ instances, priority support, 48h response on critical issues from $9,000/yr Contact us
- Enterprise Source access and customization, 48h response on critical issues Custom Contact us
- Free 2-month trial, no card needed
- Staging and dev instances are free
- No metering, no telemetry
Everything in open source, plus consistency in cluster mode, adaptive scaling, slow drain, binary formats, long-polling, Apollo GraphQL, and dedicated Slack support. Compare with open source
-
Read the docs
Open-source Free
Run it yourself on Render, Railway, Heroku, Fly, AWS, GCP, or anywhere with Docker or K8s.
-
anycable@evilmartians.com
Consulting $200/hour
Setup, deploy, and load testing with the team behind AnyCable.
Open source vs. Pro
| Open-source | Pro | |
|---|---|---|
| Delivery guarantees, presence, JWT auth, signed streams | Yes | Yes |
| Memory per connection | ~34 KB | ~18 KB |
| Consistency in cluster mode stream history shared through Redis | No | Yes |
| Adaptive scaling RPC concurrency adjusts to load | No | Yes |
| Slow drain on shutdown | No | Yes |
| Binary message formats | No | Yes |
| Long-polling fallback | No | Yes |
| Apollo GraphQL protocol | No | Yes |
| OCPP for EV chargers | No | Yes |
| Support | GitHub issues | Dedicated Slack |
| License | MIT | Commercial EULA |
Full list in the Pro docs.
Pricing questions
What counts as an instance?
One running AnyCable Pro server process in production. Each replica, container, pod, or VM is a separate instance. Your application, web, and RPC processes don't count.
Do staging and development count?
No. Only environments serving live traffic count. Run as many development, testing, staging, CI, and preview instances as you like.
What if autoscaling takes us past our tier?
Short spikes from autoscaling, rolling deploys, failover, or load tests don't count; tiers follow the peak you run steadily. The server never slows down or shuts off when you go over. If your steady peak grows, move up a tier in the billing portal, prorated for the rest of the period.
What happens when the trial ends?
The 2-month trial needs no card and doesn't turn into a paid subscription on its own. Buy a plan to keep your access; otherwise the license ends with the trial.
Can I cancel Startup or Business?
Yes, any time in the billing portal. The plan runs to the end of the month or year you've paid for and doesn't renew.
How are Scale and Enterprise billed?
By invoice, yearly in advance, under an order form we sign together. They renew automatically each year unless you opt out in the order form, or email us any time before the year ends. An Enterprise source license can also be added on top of any tier.
What are the limits on managed AnyCable?
Managed AnyCable is free for 1 instance, which handles about 2,000 connections, with no SLA. When you need more, move to self-hosted Pro; its Scale and Enterprise tiers include a 48h response on critical issues.
Resources
Documentation
- Works with Rails, Laravel, JavaScript, and any backend via HTTP API.
- Deploy with Docker, Kubernetes, Heroku, Fly.io, or as a standalone binary.
- Comprehensive guides for every integration.
Resources
Talks & Videos
- Conference talks, screencasts, and deep dives on real-time architecture.
- Learn from AnyCable users and maintainers.
All screencasts on YouTube
Resources
Newsletter & Community
- Subscribe to our newsletter — monthly releases, tips, and case studies.
- Follow on X (Twitter).
- Submit issues on GitHub.
Try Slide Quiz — live polls for Sli.dev and Reveal.js web presentations powered by AnyCable