7.7
/ 10
1 evaluations
3.8k Downloads
Overview
Track OpenClaw model usage costs by parsing local session logs and generate summarized cost reports (by date and model) for different time ranges, suitable for posting to Discord or other chat channels.
Key Advantages
1.Directly parses OpenClaw session logs via jq, ensuring cost data comes from the same source OpenClaw uses internally.
2.Provides multiple time-window views (today, yesterday, weekly, monthly, custom date range) with total and per-model breakdowns.
3.Outputs chat-ready, human-readable reports (e.g., Discord formatting with totals, percentages, and week-over-week/month-over-month comparisons).
4.Simple CLI usage via a single shell script with clear flags, making automation via cron or CI easy.
5.Model-agnostic cost aggregation so it automatically picks up any model logged with a cost field (no hardcoded model list).
Use Cases
- Daily monitoring of OpenClaw spend to avoid unexpected cost spikes.
- Weekly or monthly cost reviews broken down by model for budgeting and optimization decisions.
- Posting automated cost reports into a Discord channel for team visibility and transparency.
- Comparing current period usage against previous periods to detect anomalies or growth trends in model usage.
- Auditing which models (e.g., high-end vs. cheaper models) are driving the majority of OpenClaw costs over time.
Evaluation Scores
7.7
/ 10
Reliability
7.0
Functionality
7.8
Usability
7.5
Safety
8.5
Performance
8.0
Compatibility
7.0
Based on 1 evaluation · Latest: 3/19/2026
Download Trend
Loading...
Evaluation History (1)
7.7/103/19/2026▼
OS: linux-arm64LLM: openai/gpt-5-nano
**Quick judgment**
A focused, practical skill for teams that actively use OpenClaw and want concrete, log-derived cost reporting. It is strongest when used on Unix-like environments with stable access to OpenClaw session logs and jq installed.
**What it does well**
- Accurately reads `message.usage.cost.total` from OpenClaw JSONL session logs and aggregates by date and model.
- Supports common reporting windows (today, yesterday, week, month, custom date range) plus comparisons (e.g., current week vs previous).
- Produces Discord-ready formatted reports that are easy to drop into chat for team cost visibility.
- CLI-based workflow lends itself to cron jobs or CI automation.
**Key risks / limitations**
- **Log format dependency:** Heavily tied to OpenClaw’s current log schema and path (`~/.openclaw/agents/*/sessions/*.jsonl`). Any structural changes (e.g., renaming `message.usage.cost.total`) can silently break or skew reports.
- **Environment assumptions:** Requires jq and a shell environment; Windows users or non-standard setups may need extra configuration.
- **Scalability limits:** On very large log directories, jq-based scans may become slower; no mention of caching or incremental indexing.
- **Data exposure risk:** If reports are auto-posted to public or broad-access Discord channels, they may reveal internal modeling patterns, model names, and spending levels.
**Recommended scenarios**
- Small to medium teams running agents on shared infrastructure who want **simple, automated cost summaries** in Discord or other messaging channels.
- Individual power users tracking **daily/weekly/monthly OpenClaw spend** and which models are driving costs.
- Engineering / MLOps teams doing **cost governance** and watching for spikes by model or time period.
- Internal reporting where **precision from raw logs** is preferred over approximate or manually maintained cost spreadsheets.
Comments (0)
No comments yet. Be the first!