cost-governor
CommunityEnforces and manages API budget limits efficiently.
Authorreececoakes99
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It controls API spending by tracking calls, enforcing budget caps, and preventing cost overruns, ensuring predictable expenses.
Core Features & Use Cases
- Budget Tracking: Monitors daily API costs and logs each request's expenditure.
- Cost Enforcement: Implements hard caps and warning thresholds to prevent exceeding the set budget.
- Request Management: Selects appropriate models based on budget and task complexity, queues requests for batching, and suspends non-essential calls.
- Use Case: A user wants to limit API costs to $10 daily while managing multiple tasks, ensuring the budget is enforced and costs are logged automatically.
Quick Start
Configure environment variables for budget limits and integrate budget checks before API calls to keep costs under control.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cost-governor Download link: https://github.com/reececoakes99/openclaw-brain-v2/archive/main.zip#cost-governor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.