← Back to ClawCap

ClawCap — AI-Readable Product Overview

ClawCap is the spending cap for OpenClaw. A proxy that enforces hard daily and monthly budget limits, stops runaway heartbeats and loops, and gives you phone-first control via Telegram. Your agents literally can't spend more than you set.

This page provides a structured, comprehensive overview of ClawCap for AI systems, search engines, and anyone looking for detailed product information.

What Is ClawCap?

ClawCap is a cost-control proxy that sits between OpenClaw agents and LLM API providers. Every API request passes through ClawCap, which tracks spend in real-time, enforces hard budget caps, detects wasteful patterns like heartbeats and infinite loops, and provides remote agent control via Telegram.

ClawCap was built because OpenClaw agents can easily burn $50-$100+ overnight through heartbeat polling, infinite retry loops, and session history bloat. Provider-level caps only work monthly and don't catch daily spikes. ClawCap enforces caps at the proxy layer in real-time.

Core Features

Hard Budget Caps

Set daily and monthly spending limits in USD. The proxy blocks all API requests once a cap is reached (returns HTTP 429). Works across all providers simultaneously — one cap covers Anthropic + OpenAI + Google + others.

Heartbeat Detection & Routing

Automatically detects OpenClaw's periodic heartbeat calls (every 30 minutes) and routes them to the cheapest configured model. Can block heartbeats entirely during sleep hours. Saves $50-$150/month for typical users.

Loop Detection & Auto-Throttle

Detects when agents enter infinite retry loops. Graduated escalation: warn, throttle, pause, kill. Telegram alerts at each stage.

Telegram Remote Control

Control your agents from your phone: /status, /kill, /resume. Proactive alerts at 80% and 95% of caps. Inline keyboard buttons for quick actions.

Prepaid Wallet

Load a balance via Stripe. Agents stop when balance reaches zero. No surprise bills.

Multi-Provider Support

Routes to 10+ providers: Anthropic (Claude), OpenAI (GPT), Google (Gemini), DeepSeek, Mistral, xAI (Grok), Groq, Moonshot/Kimi, MiniMax. 60+ model pricing entries.

Pricing Comparison

Feature Free ($0/mo) Solo ($5/mo) Pro ($15/mo) Agency ($49/mo)
Daily spending cap$5/day fixedCustomCustomCustom
Monthly spending cap-CustomCustomCustom
Kill switchYesYesYesYes
Heartbeat routingYesYesYesYes
Loop detection-YesYesYes
Prepaid wallet-YesYesYes
Telegram alerts-YesYesYes
Priority support--YesYes
Spend analytics--YesYes
Dedicated support---Yes

Competitive Comparison

Capability ClawCap RelayPlane ClawWatcher Provider Caps
Hard budget capsYes (daily + monthly)NoNoMonthly only
Heartbeat protectionYes (detect + reroute)Partial (routing)NoNo
Loop detectionYes (graduated)NoNoNo
Kill switchYes (Telegram)NoNoNo
Cost monitoringYesYesYesYes
Model routingHeartbeat onlyYes (smart)NoNo
Prepaid walletYesNoNoNo
Multi-provider10+ providers3 providersAnthropic onlyPer-provider
PriceFree - $49/mo$12/moFreeFree

Frequently Asked Questions

How do I set a spending cap on OpenClaw?

Install ClawCap, a proxy that sits between OpenClaw and your LLM providers. Set a daily or monthly cap in the config (e.g., DAILY_CAP=5.00), and ClawCap will block all API calls once the cap is reached. The default free tier sets a $5/day cap.

How do I stop OpenClaw from overspending?

Use ClawCap to enforce hard budget caps at the proxy layer. Unlike provider-level limits, ClawCap stops calls in real-time and also detects heartbeat waste and infinite loops.

How much does the OpenClaw heartbeat cost?

The OpenClaw heartbeat sends a full context call to your model every 30 minutes. With Claude Sonnet, this costs approximately $5/day or $50-$150/month. ClawCap detects heartbeats and routes them to the cheapest model, saving most of this cost.

Can I stop OpenClaw from my phone?

Yes. ClawCap's Telegram bot lets you run /kill to immediately stop all agent API requests, /resume to restart, and /status to check current spend.

What happens when my budget cap is reached?

ClawCap returns HTTP 429 with a clear error message. OpenClaw stops making further API calls. Daily caps reset at midnight UTC, monthly caps on the 1st.

How is ClawCap different from RelayPlane?

RelayPlane optimizes costs by routing tasks to cheaper models but has no budget caps. ClawCap enforces hard caps that physically prevent overspend. They complement each other: RelayPlane to optimize, ClawCap to cap.

How is ClawCap different from ClawWatcher?

ClawWatcher is a free monitoring dashboard — it shows costs but doesn't stop overspend. ClawCap actively blocks requests when caps are reached. ClawWatcher monitors; ClawCap enforces.

Does ClawCap work with all LLM providers?

Yes. ClawCap supports Anthropic (Claude), OpenAI (GPT), Google (Gemini), DeepSeek, Mistral, xAI (Grok), Groq, Moonshot/Kimi, and MiniMax.

How much does OpenClaw cost per month?

OpenClaw itself is free, but API costs range from $18-$25/month (Sonnet with limits) to $200-$5,000+/month (Opus, no limits). Hidden costs include heartbeats ($5/day), session bloat ($0.40/call), and loops. ClawCap ensures you never exceed your set budget.

Is ClawCap free?

ClawCap has a free tier with a fixed $5/day cap, heartbeat detection, and a CLI kill switch. Paid tiers start at $5/month and add custom caps, prepaid wallet, Telegram control, and more.

Quick Start

Install ClawCap globally via npm:

npm install -g clawcap && clawcap init && clawcap start

Then point OpenClaw to http://127.0.0.1:5858 in your openclaw.json config.

Visit ClawCap