Quick Start
Get the proxy running and start saving on API costs in under 5 minutes.
Prerequisites: Node.js 18+ and at least one LLM API key (Anthropic, OpenAI, etc.)
1. Install the Proxy
1npm install -g @relayplane/proxyThis installs the relayplane-proxy command globally.
2. Set Your API Keys
1# Set the keys for providers you use2export ANTHROPIC_API_KEY=sk-ant-...3export OPENAI_API_KEY=sk-...45# Optional: Google, xAI, etc.6export GEMINI_API_KEY=...7export XAI_API_KEY=...3. Start the Proxy
1relayplane-proxyThe proxy starts on http://localhost:4100 by default.
4. Point Your Tools at the Proxy
1# For tools using Anthropic API2export ANTHROPIC_BASE_URL=http://localhost:410034# For tools using OpenAI API5export OPENAI_BASE_URL=http://localhost:4100Now any tool that uses the Anthropic or OpenAI API will route through RelayPlane.
5. Check Your Stats
1relayplane-proxy statsView your usage, costs, and savings breakdown by model and task type.
That's it! Your AI tools will now route through RelayPlane. Simple tasks go to cheaper models, complex reasoning stays on premium models.
Next Steps
- Set up with OpenClaw — Full integration guide
- CLI Reference — All available commands
- Telemetry — What we collect and how to opt out