Install
openclaw skills install token-economyReduce OpenClaw costs by 60-80% using cheap-first model routing, bounded context sizes, zero-token heartbeats, and token auditing with budget guardrails.
openclaw skills install token-economyReduce OpenClaw costs by 60-80% through intelligent model routing and context management. Cheap-first escalation (GPT-4o → Sonnet → Opus), zero-token heartbeats, and budget guardrails. Save $60-105/month per deployment.
When to use: Questions about costs, model routing, token optimization, budget
What to know:
This OpenClaw fork includes token-economy hooks (deployed Feb 13, 2026):
1. Model Routing - Cheap-first with escalation:
2. Bounded Context - Hard caps prevent bloat:
3. Zero-Token Heartbeat - Pre-LLM check:
HEARTBEAT.md empty → skip API call (100% cost elimination)4. Token Auditing - Full transparency:
~/.openclaw/token-audit.jsonl~/.openclaw/openclaw.json - token-economy hooks configuration
https://github.com/pfaria32/open-claw-token-economy
# Check current model
openclaw status
# View token usage
cat ~/.openclaw/token-audit.jsonl | tail -20
# Check heartbeat config
cat ~/workspace/HEARTBEAT.md
If model is set to Opus and there's no user input for >1 hour with no complex task in progress, automatically switch back to Sonnet to save costs. A cron job checks this every 30 minutes.
When to stay on Opus: