โ† Back to Web & Frontend Development

relayplane

Intelligent AI model routing proxy

0
Source Code

RelayPlane

Spend $100/mo on OpenClaw? Keep $47 of it. 835+ developers already installed. Now with cloud telemetry โ€” every install makes routing smarter for everyone.

What It Does

RelayPlane is a local proxy that saves you real money by routing simple LLM tasks to cheaper models automatically. Complex reasoning stays on Opus โ€” file reads, status checks, and simple edits go to Haiku. One install, no code changes, automatic fallback if anything fails.

Pro pays for itself at $60/mo API spend. If you're spending $100+/mo, expect to save $40-70/mo.

Installation

Install the proxy globally:

npm install -g @relayplane/proxy

Quick Start

# 1. Start the proxy
relayplane-proxy

# 2. Point OpenClaw at it (add to your shell config)
export ANTHROPIC_BASE_URL=http://localhost:3001
export OPENAI_BASE_URL=http://localhost:3001

# 3. Run OpenClaw normally - requests now route through RelayPlane

Commands

Once installed, use the CLI directly:

Command Description
relayplane-proxy Start the proxy server
relayplane-proxy stats View usage and cost breakdown
relayplane-proxy telemetry off Disable telemetry
relayplane-proxy telemetry status Check telemetry setting
relayplane-proxy --help Show all options

Configuration

The proxy runs on localhost:3001 by default. Configure via CLI flags:

relayplane-proxy --port 8080        # Custom port
relayplane-proxy --host 0.0.0.0     # Bind to all interfaces
relayplane-proxy --offline          # No telemetry, no network except LLM APIs
relayplane-proxy --audit            # Show telemetry payloads before sending

Environment Variables

Set your API keys before starting:

export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
# Optional: Google, xAI
export GEMINI_API_KEY=...
export XAI_API_KEY=...

Free Account (Optional)

Create a free account to see your savings dashboard and contribute to smarter network routing:

# Visit the dashboard to create an account
# Then set your API key for personalized stats:
export RELAYPLANE_API_KEY=rp_...

Or just visit https://relayplane.com/dashboard โ€” your proxy works fine without an account.

Pro ($29/mo) unlocks network-optimized routing, budget alerts, and provider health monitoring. Worth it at $60+/mo API spend.

Privacy

  • Your prompts stay local โ€” never sent to RelayPlane
  • Anonymous telemetry โ€” only token counts, latency, model used (improves routing for everyone)
  • Opt-out anytime โ€” relayplane-proxy telemetry off
  • Fully offline mode โ€” relayplane-proxy --offline

Links