How to avoid unexpected OpenRouter costs in OpenClaw automation

A developer team shared their experience of accidentally spending $750 in three days while running automation pipelines on OpenClaw with OpenRouter. The cost came from 25 automatic OpenRouter reloads at $28.96 each, plus $25 on X API.
What went wrong
The team built an automation pipeline from March 12-14 that included sports picks generation, video production, QA, and distribution. Cron jobs ran on schedule with subagents spawning for each task. Everything defaulted to Claude Sonnet 4.6 at $3 per million tokens without their knowledge. One 6-minute cron job for sports picks with web searches burned approximately $120 in a single run.
The fix: 97% cost reduction
With configuration changes, the same workload now costs an estimated $15-20. Here are the specific changes they made:
- Changed the default model: In openclaw.json, they swapped the expensive default for Hunter Alpha (free on OpenRouter):
"agents": { "defaults": { "models": { "default": "openrouter/hunter-alpha", "fast": "openrouter/hunter-alpha", "thinking": "openrouter/openrouter/hunter-alpha" } } } - Locked cron jobs to a cheap model: Cron jobs inherit whatever the default is. Override them explicitly with:
Do this for every cron job.openclaw cron edit--model "openrouter/hunter-alpha" - Locked subagent spawns: Subagents also inherit defaults. When spawning, specify the model:
sessions_spawn(..., model="openrouter/hunter-alpha") - Reserved expensive models for sensitive work: They kept Claude 3.5 Haiku ($0.25/M) for anything involving credentials or personal data due to Anthropic's privacy policy (no prompt logging). They use Gemini 2.5 Flash ($0.15/M) when they need more complex reasoning. Sonnet is effectively retired from their setup unless explicitly called.
Lessons learned
- Check your default model immediately. If it's a premium model, every session, cron, and subagent is burning money.
- Cron jobs are sneaky - they run silently on schedule and can cost $100+ per run without notice.
- Subagent spawns inherit defaults. If your main session is on Sonnet and you spawn 10 subagents, all 10 are on Sonnet unless specified otherwise.
- Hunter Alpha is free but NOT private - all prompts are logged. Don't use it for financial data, credentials, or anything sensitive.
- Expensive models are worth it as opt-ins, not defaults. Sonnet should not be running your cron jobs at 3 AM.
- Watch your email - those $28.96 OpenRouter reloads add up fast.
The bottom line: OpenClaw is powerful but doesn't hand-hold on costs. A few config lines can be the difference between a $15 automation pipeline and a $750 surprise.
📖 Read the full source: r/openclaw
👀 See Also

Building a Bridge for Two Telegram Bots in One Group Chat: Delivery Semantics Over HTTP
A developer shares a practical approach to connect two independent Telegram bots in the same group chat, tackling Telegram's bot-to-bot delivery gaps with HTTP relays, ACKs, deduplication, and strict scoped feeds.

Export ChatGPT history to OpenClaw memory system
A Reddit user shares a process to export years of ChatGPT conversation history and import it into OpenClaw's memory system using the ai-chat-md-export tool, enabling local AI agents to access historical context.

Fix for Running OpenClaw on Android via proot Ubuntu: Hijack networkInterfaces() to Resolve uv_interface_addresses Error 13
A developer shares a fix for running OpenClaw 2026.3.13 on Android 16 via Termux and proot Ubuntu 25.10, where the app crashes with 'uv_interface_addresses returned Unknown system error 13'. The solution is a JavaScript hijack script that overrides os.networkInterfaces().

Debugging OpenClaw + Ollama Local Model Timeouts: Five Fixes for Silent Failures
A developer identified five root causes for OpenClaw agents silently timing out with local Ollama models like Gemma 4 26B, including a blocking slug generator, a 38K character system prompt, and hidden timeouts. The fixes involve disabling hooks, modifying configs, and adjusting Ollama settings.