The local-first Cloudflare AI Gateway alternative for Node.js developers
RelayPlane is a self-hosted AI proxy that runs entirely on your machine with a single npm install -g , no Cloudflare account, no cloud latency, no proprietary lock-in. Zero overhead on every request, live cost intelligence, and MIT licensed so you own what you run.
Up and running in 30 seconds
- 1
Install the proxy
npm install -g @relayplane/proxy - 2
Initialize your config
relayplane init - 3
Start routing
relayplane start
RelayPlane vs Cloudflare AI Gateway vs Bifrost
| Feature | RelayPlane | Cloudflare AI Gateway | Bifrost |
|---|---|---|---|
| Latency overhead | 0ms (local) | 10–50ms (cloud) | Varies (self-hosted) |
| Self-hosted | |||
| npm install | |||
| Node.js native | Go binary | ||
| Cost intelligence | Partial | ||
| MCP support | Coming soon | Claimed | |
| MIT license | Proprietary |
Why local-first beats cloud-proxied
Zero latency overhead
Cloudflare AI Gateway adds 10–50ms on every request because your traffic makes a round-trip to their edge. RelayPlane runs on localhost, 0ms overhead, every time.
No cloud account required
No Cloudflare account, no Workers plan, no API key for the gateway itself. One npm install and your proxy is live, completely self-contained on your machine.
Your data stays local
Prompts and responses never leave your machine unless you want them to. Full observability via local SQLite, no third-party telemetry by default.