One user lost $47,000 in 48 hours. Another $200/day for a week before noticing.

Your OpenClaw agents are spending.
Do you know how much?

AgentCap sits between OpenClaw and your LLM APIs. It tracks every token, enforces budget limits, and cuts off runaway agents before the damage is done.

View on GitHub

"My agent got stuck in a loop. $47K bill in 48 hours. Anthropic wouldn't refund. I found out when my card declined."

OpenClaw Discord, #general

"I was running 3 agents and had no idea the biggest one was burning $8/hour. Saw the AWS bill at month end."

HackerNews thread on AI costs

"GPT-4 at $30/MTok adds up fast when a bug sends your agent into a retry loop. Found out after $600."

r/LocalLLaMA

Setup takes 5 minutes

One config change in OpenClaw. Nothing else changes.

01
Deploy the proxy
One-click to Railway or Docker on your own server. Takes 3 minutes.
02
Point OpenClaw at it
Change your LLM base URL from api.anthropic.com to your AgentCap address. Add one header per agent.
03
Set your limits
Daily and monthly budgets per agent. Hard kill switch, soft alert threshold, or both.
04
Get alerted, not surprised
Telegram, Slack, or Discord. A message when you hit 80%. A block when you hit 100%.

What AgentCap does

🛑
Hard budget kill switch
Set a daily or monthly limit. When the agent hits it, requests return 429. The bill stops.
📊
Real-time dashboard
Spend by agent, by model, by day. See what's running up your bill in a single view.
⚠️
Anomaly detection
Spend 3x above the rolling average in an hour triggers an instant alert. Catch loops before they compound.
📈
Cost projections
Based on your last 7 days, AgentCap tells you what your month will cost at the current rate.
🔔
Webhook alerts
Telegram, Slack, Discord. Alerts at 80% of budget. Alerts at 100%. Alerts on anomalies.
🤖
Per-agent tracking
One header in your OpenClaw config. Every agent tracked separately. No guessing which one burned $200.
Under 5ms added latency
The proxy is a thin pass-through. Writes to SQLite async after the response. No slowdown.
🔑
Your key stays on your server
AgentCap runs on your infrastructure. Your API keys never leave your machine.

What could go wrong?

Put in your setup. See what a 24-hour runaway loop would cost you.

Normal month
$570.24
One agent loops 24h
$63.36
All agents, 48h loop
$380.16

Assumes 70% input / 30% output token split. Loop scenario assumes 10x normal request rate.

Pricing

The hobby plan pays for itself the first time it stops a runaway loop.

Hobby
For solo developers with one agent.
$15/mo
  • 1 agent
  • Real-time cost dashboard
  • Daily spend tracking
  • Budget kill switch
  • Email alerts
Most Popular
Pro
For power users running multiple agents.
$29/mo
  • Unlimited agents
  • Real-time cost dashboard
  • Per-agent budget limits
  • Budget kill switch
  • Telegram, Slack, Discord alerts
  • Daily spend reports
  • Anomaly detection (3x spike alerts)
  • Cost projections
Team
For teams running shared OpenClaw infrastructure.
$99/mo
  • Everything in Pro
  • Multi-user dashboard access
  • Full audit logs (30-day history)
  • Per-user agent assignment
  • Priority support
  • Custom alert webhooks

Cancel any time. No commitment. Self-host the proxy for free (you pay for your own server).

Common questions

Does AgentCap store my prompts?
No. AgentCap logs token counts, costs, and metadata (model, agent, timestamp). It does not store prompt content or completions. Everything stays on your server.
Does it add latency?
Under 5ms in typical cases. The proxy forwards your request directly, then writes cost data to SQLite asynchronously after the response returns. Your agent does not wait.
Which providers does it support?
Anthropic (Claude), OpenAI (GPT-4o, o3, etc.), and Google (Gemini). Other providers that follow the OpenAI API spec will work as-is.
What happens when an agent hits its budget?
It returns a 429 with a clear error message. Your OpenClaw agent will see the error and stop. You can turn off the kill switch to just alert without blocking.
What am I paying for if the proxy is open-source?
The proxy code is free. You pay for the dashboard service and managed alert delivery. The subscription also funds continued development.

Stop flying blind.

$15/month. If it stops one runaway agent, it pays for itself for a year.