A comprehensive utility for tracking, analyzing, and optimizing LLM API expenditures across multiple providers within your agent environment.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install llm-cost-tracker
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install llm-cost-tracker using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The API Cost Tracker is a specialized utility designed for developers and organizations using Openclaw Skills to maintain rigorous financial oversight of their AI operations. It aggregates usage data from major providers like OpenAI, Anthropic, Google AI, and DeepSeek, providing a centralized dashboard for token consumption and billing metrics.
By integrating this tool into your workflow, you can prevent unexpected billing spikes and ensure that your agentic workflows remain cost-effective. It offers clear visibility into how your agents consume resources, making it an essential component for any professional deployment of Openclaw Skills.
To begin tracking costs, ensure your environment variables are set for the providers you use (e.g., OPENAI_API_KEY).
Run the cost analysis script to initialize:
python3 scripts/cost_tracker.py --summary
Configure your budget thresholds and alert channels in the configuration file:
# Edit configuration
nano ~/.openclaw/cost-tracker.json
The skill manages spending data and configuration through a structured JSON schema and outputs readable markdown reports.
| Component | Type | Description |
|---|---|---|
| budgets | Object | Contains daily, weekly, and monthly spending limits |
| alertChannels | Array | List of notification platforms like telegram or discord |
| alertThresholds | Array | Percentage triggers for notifications (e.g., 50, 75, 100) |
| Usage Report | Markdown | A generated table showing Provider, Model, Tokens, and Cost |
Loading
A specialized tool for managing lunar calendar events and setting automated reminders for traditional festivals and birthdays.

An autonomous intelligence skill that tracks competitor pricing, feature launches, and social activity to provide actionable market insights.

An automated tool for generating professional, tax-compliant PDF invoices from natural language or structured data commands.

A specialized framework for DTC electronics brands to design high-impact review collection flows and strategic social proof placement to drive conversions.

An automation tool for publishing short-form text and image content to the Micro-Toutiao platform via a browser-based workflow.

A high-performance Python-based utility for parsing and extracting structured data from multiple Excel file formats.








































