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. 1

    Install the proxy

    npm install -g @relayplane/proxy
  2. 2

    Initialize your config

    relayplane init
  3. 3

    Start routing

    relayplane start

RelayPlane vs Cloudflare AI Gateway vs Bifrost

FeatureRelayPlaneCloudflare AI GatewayBifrost
Latency overhead0ms (local)10–50ms (cloud)Varies (self-hosted)
Self-hosted
npm install
Node.js nativeGo binary
Cost intelligencePartial
MCP supportComing soonClaimed
MIT licenseProprietary

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.

The Cloudflare AI Gateway alternative that lives on your machine

npm install, configure once, zero latency on every AI request. No cloud middleman, no markup, no lock-in.