OpenClawCostTracker 1.3.1
dotnet tool install --global OpenClawCostTracker --version 1.3.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local OpenClawCostTracker --version 1.3.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=OpenClawCostTracker&version=1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package OpenClawCostTracker --version 1.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
🦞 OpenClaw Cost Tracker
Zero-config API cost dashboard for OpenClaw Agent.
Requires .NET 10 SDK (LTS — supported until November 2028)
Install & Run
dotnet tool install --global OpenClawCostTracker
openclaw-cost
That's it. The browser opens automatically.
What it does
- Reads your
~/.openclaw/agents/*/sessions/*.jsonlfiles automatically - Auto-syncs every 30 seconds — no manual steps
- Tracks cost across all providers: Anthropic, Google, OpenAI, Moonshot, and more
- SQLite database at
~/.openclaw-cost/tracker.db— no SQL Server needed - Budget alerts with daily/weekly/monthly limits
- Full session history with per-model breakdown
Data location
| Path | Purpose |
|---|---|
~/.openclaw-cost/tracker.db |
SQLite database |
~/.openclaw-cost/logs/ |
Log files |
~/.openclaw/ |
OpenClaw sessions (read-only) |
Development
# First-time only: publish Blazor UI into Tool/wwwroot
.\dev-setup.ps1
# Then run
dotnet run --project src/OpenClawCost.Tool
# Build and pack
.\build-and-pack.ps1
# Test locally
dotnet tool install --global --add-source ./nupkg OpenClawCostTracker
openclaw-cost
# Uninstall
dotnet tool uninstall --global OpenClawCostTracker
Publish
.\build-and-pack.ps1 -Version "1.1.0"
dotnet nuget push ./nupkg/OpenClawCostTracker.1.1.0.nupkg `
--api-key YOUR_NUGET_API_KEY `
--source https://api.nuget.org/v3/index.json
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.