Cut your AI token costs by 50-95% without sacrificing output quality.
TokenGuard Pro analyzes your OpenClaw usage patterns to identify waste, suggest optimizations, and project your savings. Built for users spending $100–$3,600/month on AI APIs.
npx clawhub install tokenguard-pro
# Run full analysis on recent usage
tokenguard-analyze
# Analyze last 7 days
tokenguard-analyze --days 7
# Focus on specific waste type
tokenguard-analyze --focus caching
# Export report as JSON
tokenguard-analyze --format json --output report.json
✅ Use this skill when:
❌ Don't use this skill when:
| Waste Type | Typical Savings | Fix Complexity |
|---|---|---|
| ------------ | ----------------- | ---------------- |
| Oversized context | 40-60% | Easy |
| Wrong model choice | 20-40% | Easy |
| Repeated queries | 15-30% | Medium |
| Inefficient tool chains | 10-25% | Medium |
| Missing response caching | 25-50% | Medium |
╔══════════════════════════════════════════════════════════╗
║ TOKENGARD PRO ANALYSIS REPORT ║
╠══════════════════════════════════════════════════════════╣
║ Period Analyzed: 14 days ║
║ Estimated Monthly Spend: $1,240 ║
╠══════════════════════════════════════════════════════════╣
║ TOP ISSUES FOUND: ║
║ 1. GPT-4 used for 78% of simple classification tasks ║
║ → Switch to GPT-3.5: SAVE ~$420/mo ║
║ 2. Average context size 8.2K tokens (recommend: 2K) ║
║ → Prune old messages: SAVE ~$310/mo ║
║ 3. 23 repeated API calls without caching ║
║ → Add response caching: SAVE ~$180/mo ║
╠══════════════════════════════════════════════════════════╣
║ PROJECTED SAVINGS: $910/month (73% reduction) ║
╚══════════════════════════════════════════════════════════╝
$49 one-time purchase — pays for itself if it saves you just one month of excess spend.
Questions? File an issue at github.com/appincubator/tokenguard-pro
共 1 个版本