Stop runaway API bills. ClawCap enforces hard spending caps across every model your agents use — Claude, GPT, Gemini, and more — under a single proxy URL.
Sign up at clawcap.co and grab your proxy token. Free tier works instantly — no credit card needed.
Set it as an environment variable:
export CLAWCAP_TOKEN="cc_live_your_token_here"
The setup script automatically patches your OpenClaw config to route all providers through ClawCap:
node skills/clawcap/scripts/setup.js
This will:
~/.openclaw/openclaw.jsonbaseUrl to your ClawCap proxy URL~/.openclaw/openclaw.json.backupStart OpenClaw normally. All requests now flow through ClawCap and your spending caps are enforced automatically.
Check your spend anytime:
curl https://clawcap.co/proxy/$CLAWCAP_TOKEN/status
If you prefer to configure manually, set every provider's baseUrl in ~/.openclaw/openclaw.json to:
https://clawcap.co/proxy/YOUR_TOKEN
Your API keys stay the same — ClawCap only reads them to forward requests, never stores them.
| Variable | Description |
|---|---|
| ---------- | ------------- |
CLAWCAP_TOKEN | Your ClawCap proxy token (starts with cc_live_) |
| Plan | Price | Features |
|---|---|---|
| ------ | ------- | ---------- |
| Free | $0 | $5/day cap, kill switch, heartbeat detection |
| Solo | $5/mo | Custom caps, heartbeat+loop protection, Telegram alerts |
| Pro | $15/mo | Multi-agent tracking, per-model analytics, custom alert thresholds, weekly spend reports |
Agent not routing through ClawCap: Check that baseUrl in your openclaw.json points to https://clawcap.co/proxy/cc_live_... — not the original API URL.
429 errors: You've hit your spending cap. Check /status to see current spend, or upgrade your plan for higher limits.
Token not working: Make sure you're using the full cc_live_... token from your setup page, not just the email.
共 2 个版本