v1.2.0 — Available on NuGet

Sleep soundly while
AI works for you.

OpenClawCostTracker is a local web dashboard that monitors your AI spend in real time — and automatically shuts down the OpenClaw Gateway if you hit your budget limit. No runaway costs. No surprises. Total peace of mind.

Install Free on NuGet
localhost:5050
Sync
🚨
OPENCLAW — BUDGET LIMIT REACHED
My Testing Budget — daily (100%) Gateway stopped
BUDGET ALERTS
NEW ALERT
NAME
e.g. Daily limit
LIMIT (USD)
1.00
PERIOD
Daily
KILL SWITCH OFF
Automatically stop the OpenClaw gateway when this budget is exceeded
Disabled — gateway keeps running
ACTIVE ALERTS GATEWAY STOPPED :18789
My Testing Budget DAILY
$0.0267 / $0.01 100.0%
KILL SWITCH ON — will stop gateway
Gateway stopped by this alert
Gateway is stopped
The OpenClaw dashboard at localhost:5050 — budget limit reached, gateway automatically stopped.
18K+ Downloads
Real-Time Cost Tracking
Kill Switch Auto Gateway Stop
MIT Free & Open Source

Run AI tasks overnight.
Wake up without a shock.

Set a daily, weekly, or monthly budget. The moment your AI spend crosses that limit, OpenClawCostTracker automatically stops the OpenClaw Gateway — cutting off any further API calls before costs spiral out of control.

You can sleep, step away, or just focus on other work. The Kill Switch has your back. When you're ready, restart the gateway in a single click from the dashboard.

Set it and forget it

Define your budget once — the gateway stops itself automatically when the limit is hit

Instant Telegram notifications

Get alerted the moment a budget threshold is reached — even while you're away

One-click restart

Resume the gateway from the dashboard whenever you're ready to continue

Kill Switch Triggered
2026-03-02 13:20:09
My Testing Budget DAILY
$0.0267 / $0.01 100%
Last model kimi-k2.5
Spent $0.0267
Gateway stopped by this alert
Gateway is stopped
💬
Telegram Alert
Sent automatically
1:20 PM
🔴 OpenClaw — Gateway Stopped
Kill switch triggered by My Testing Budget (daily)
💰 Spent: $0.0267 / $0.01
🤖 Last model: kimi-k2.5
🕐 2026-03-02 13:20:03

Everything AI-related.
One local dashboard.

Runs on your machine at localhost:5050 — no cloud, no logins, no data leaving your device.

📊

Dashboard

Real-time overview of your AI spend across all models and sessions. Today's cost, this week, this month — at a glance.

Usage Events

Every API call logged with model name, token count, cost, and timestamp. Full audit trail of every interaction through the OpenClaw Gateway.

📈

Analytics

Visualize spending trends over time. Spot which models, sessions, or tasks are driving your costs so you can optimise smarter.

🗂️

Sessions

Track individual OpenClaw sessions and their cost contribution. Perfect for per-task or per-project spend visibility.

🚨

Budget Alerts Kill Switch Licensed

Set daily, weekly, or monthly limits. Enable the Kill Switch to automatically stop the gateway the moment any budget is exceeded. Requires a license key.

💲

Model Pricing

Live pricing reference for every supported AI model. Know exactly what each call costs — before you run it.

Up and running
in under 60 seconds.

Requires .NET 9.0 SDK or later. — Download .NET 9 from Microsoft

01

Install the tool globally

Pulls the latest release from NuGet.org. No project file needed. Requires .NET 9.0 SDK↗.

dotnet tool install --global OpenClawCostTracker
02

Launch the dashboard

Opens your local cost tracking dashboard in the browser at localhost:5050.

openclaw-cost
03

Set a budget with Kill Switch

Go to Budget Alerts → enter a limit → enable Kill Switch. The gateway stops itself automatically when reached.

Enable Kill Switch to prevent runaway costs while you sleep
Useful Commands
Launch the dashboard
openclaw-cost
Run on a custom port
openclaw-cost --port 8080
Install the tool
dotnet tool install --global OpenClawCostTracker
Update to latest version
dotnet tool update --global OpenClawCostTracker
Uninstall
dotnet tool uninstall --global OpenClawCostTracker
🔓
Free to download — most features included
The full dashboard — including real-time cost tracking, usage events, analytics, sessions, and model pricing — is available to everyone at no cost. Budget Alerts and the Kill Switch gateway shutdown require a license key to unlock.
Get License Key

Set your budget limit.
Never overspend on AI again.

Free to download and use. Budget Alerts & Kill Switch require a license key.