Get the FREE Ultimate OpenClaw Setup Guide →
R

Relayplane

Verified

@RelayPlane

npx machina-cli add skill @RelayPlane/relayplane --openclaw
Files (1)
SKILL.md
3.2 KB

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:

CommandDescription
relayplane-proxyStart the proxy server
relayplane-proxy statsView usage and cost breakdown
relayplane-proxy telemetry offDisable telemetry
relayplane-proxy telemetry statusCheck telemetry setting
relayplane-proxy --helpShow 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 anytimerelayplane-proxy telemetry off
  • Fully offline moderelayplane-proxy --offline

Links

Source

git clone https://clawhub.ai/RelayPlane/relayplaneView on GitHub

Overview

RelayPlane is a local proxy that automatically routes simple LLM tasks to cheaper models, helping you save on OpenClaw spend. Complex reasoning stays on Opus, while file reads, status checks, and simple edits go to Haiku; one install requires no code changes and includes automatic fallback if anything fails.

How This Skill Works

It runs a local proxy (default localhost:3001) that intercepts OpenClaw/LLM requests and routes lightweight tasks to Haiku while keeping complex reasoning on Opus. If a cheaper route fails, RelayPlane automatically falls back to the primary model, with optional telemetry to improve routing over time.

When to Use It

  • You spend $100+/mo on OpenClaw and want to cut costs by routing simple tasks to cheaper models.
  • Most of your tasks are simple (reads, status checks, small edits) rather than heavy reasoning.
  • You want automatic fallback to maintain reliability without changing your code.
  • You want budget alerts and provider health monitoring (Pro features) to optimize spend.
  • You need an offline mode or minimal network exposure for restricted environments.

Quick Start

  1. Step 1: Install the proxy globally: npm install -g @relayplane/proxy
  2. Step 2: Start the proxy: relayplane-proxy
  3. Step 3: Point OpenClaw at it by exporting: export ANTHROPIC_BASE_URL=http://localhost:3001 && export OPENAI_BASE_URL=http://localhost:3001; then run OpenClaw normally

Best Practices

  • Install RelayPlane globally and start the proxy before sending tasks to OpenClaw.
  • Point your clients to localhost:3001 (set ANTHROPIC_BASE_URL and OPENAI_BASE_URL accordingly).
  • Validate routing by testing simple tasks (Haiku) versus complex tasks (Opus).
  • Use relayplane-proxy stats to monitor usage and cost breakdown for tuning.
  • Test automatic fallback by simulating proxy failures to ensure continuity.

Example Use Cases

  • A dev team spends around $100/mo on OpenClaw and saves $40-70/mo by routing simple tasks to Haiku automatically.
  • An app uses file reads and status checks as lightweight tasks that are automatically sent to cheaper models.
  • Teams enable budget alerts and provider health monitoring to prevent overages.
  • Telemetery is enabled to improve routing decisions across many installs for everyone.
  • Offline mode is used in restricted networks to keep prompts local and minimize external calls.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers