Voice
Clawsaver
OpenClaw plugin β see exactly where your API money went. Per-call cost tracking, skill attribution, daily digests.
Install
openclaw plugins install clawsaver
README
# π¦ ClawSaver β Where Did My Money Go?
**The OpenClaw plugin that shows you exactly which skill, model, and call is costing you money β down to the cent.**
> "I burned $1,000 on tokens in 3 days." β real post from the OpenClaw community.
> ClawSaver would have shown them exactly where it went and alerted them at $50.
---
## Install
```bash
openclaw plugins install clawsaver
openclaw gateway restart
```
Open your dashboard: **http://localhost:3333**
---
## What it does
### π Per-call timeline
Every API call logged with: timestamp Β· model Β· input/output tokens Β· cost in USD Β· which skill triggered it Β· which channel Β· whether it was a heartbeat.
Hover over any row to see the first 120 characters of the user message.
### π Live dashboard at localhost:3333
- Spend by period (24h / 7d / 30d)
- Bar chart: cost by skill
- Full sortable call timeline
### π¬ Daily digest (customizable)
Add to your HEARTBEAT.md:
```
Every 24 hours, run: /clawsaver-digest and send the output to me.
```
Example digest:
```
π ClawSaver β Yesterday
π° Total: $1.47 Β· 234 calls Β· 892k tokens
Top spenders:
β’ browser-use: $0.89 (47 calls)
β’ gmail: $0.31 (82 calls)
β’ heartbeat: $0.18 (48 calls)
β οΈ Heartbeats: 48 calls = $0.18
β Tip: set a cheap model for heartbeats to cut this 80%
```
### π¨ Budget alerts
Tell your agent: **"set my daily budget to $5"**
ClawSaver checks every 15 minutes and alerts you when you hit 80% of your limit (configurable).
### π¬ Natural language control
Ask your agent:
- "How much did I spend this week?"
- "Set my monthly budget to $30"
- "Alert me at 90% of budget"
---
## Commands
| Command | What it does |
|---|---|
| `/clawsaver-status` | Quick spend summary for today and 7 days |
| `/clawsaver-digest` | Full breakdown (add to HEARTBEAT.md) |
| `/clawsaver-budget` | Current budget status |
---
## Pricing coverage
Anthropic, OpenAI, Google, xAI, DeepSeek, Meta, Ollama (local = $0).
Update prices weekly: `node update-pricing.mjs`
(Uses Claude Haiku β costs ~$0.002 per run.)
---
## Privacy
All data lives in `~/.openclaw/clawsaver/costs.db` on your machine.
Nothing is ever sent anywhere.
Dashboard binds to `127.0.0.1` only.
---
## Support
- Issues: open a GitHub issue
- OpenClaw Discord: `#plugins` channel
- Response time: within 24 hours
---
## License
MIT
voice
Comments
Sign in to leave a comment