A comprehensive tool for logging API calls and analyzing AI expenditure to optimize model costs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install oee-ai-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 oee-ai-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 AI Cost Tracker is a specialized utility designed to bring financial transparency to AI development. By monitoring token consumption and API pricing, this skill allows developers to maintain strict control over their budget while using Openclaw Skills. It serves as a vital auditing layer that ensures every token used is accounted for and attributed to the correct task.
This skill synthesizes raw API data into actionable insights, helping teams identify cost-heavy operations and providing suggestions for more economical model alternatives based on specific task complexity. It is built to be lightweight, requiring only a standard Python environment and no external API keys for its tracking functions.
To get started with this component of your Openclaw Skills setup, ensure you have Python 3.10+ installed. No external dependencies are required.
# Run a full spending report
python report.py
# View spending for the last 7 days
python report.py --days 7
# Break down costs by model
python report.py --by-model
To integrate logging into your own scripts:
from tracker import log_usage
log_usage(model="claude-3-haiku", input_tokens=500, output_tokens=200, task="humanize")
The AI Cost Tracker organizes data using a flat-file structure for maximum portability and speed.
| Component | Type | Description |
|---|---|---|
tracker.py |
Python Script | The core library used to log usage data. |
report.py |
CLI Tool | The analytical engine that processes logs into reports. |
pricing.json |
Configuration | Contains the cost-per-token data for various AI models. |
usage.jsonl |
Data Store | A line-delimited JSON file containing the history of all API calls. |
Loading
Deploy, manage, and scale intelligent AI agents with full elizaOS Cloud API integration for multimodal content and containerized workflows.

A real-time crypto market intelligence tool providing technical analysis and sentiment data directly to your AI workflow.

A sophisticated market intelligence suite providing real-time crypto signals, technical analysis, and deep on-chain metrics for AI agents.

An advanced management interface for AI agents specialized in autonomous memecoin trading and vault optimization.

A specialized utility that strips AI patterns and robotic language from text to create authentic, human-like content for any platform.

A sophisticated 2-stage AI filtering and scoring engine designed to optimize personal CRM management.








































