codesession-cli and costclaw-telemetry
One is a general AI agent cost tracker that works with various frameworks including OpenClaw, while the other specifically focuses on reducing costs for OpenClaw agents.
About codesession-cli
brian-mwirigi/codesession-cli
Track what your AI agents cost including files, commits, tokens, budgets. CLI , Dashboard+ API. Works with OpenClaw, Claude Code, and any agent framework.
Provides local API interception via an HTTP proxy (listening on localhost only) that captures Anthropic and OpenAI API calls in real-time, storing all metadata in a SQLite database without persisting prompts or keys. Integrates via ClawHub skills, Model Context Protocol, or wraps any script with `cs run`, plus offers a local web dashboard with budget alerts, session timelines, and per-model cost breakdowns—all without cloud dependency or telemetry.
About costclaw-telemetry
Aperturesurvivor/costclaw-telemetry
Reduce your OpenClaw agent costs. Free real-time LLM cost tracking + dashboard. Installs in 60 seconds.
Captures LLM calls via OpenClaw's native event hooks and stores usage breakdowns (by model, source, session) in local SQLite with PII redaction, then serves insights through a dashboard with per-source cost analysis (user messages vs. heartbeat vs. cron vs. subagents) and auto-generated optimization recommendations. Supports 30+ models across Anthropic, OpenAI, Google, xAI, and Meta with customizable pricing tables, and provides agent-callable tools to query spend and retrieve cost breakdowns programmatically.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work