40M Tokens in One Hour: User Reports Subagents Running Wild with OpenClaw

A Reddit user on r/openclaw reports that their OpenClaw instance consumed 40 million tokens in one hour after subagents went out of control. The user was using OpenRouter with DeepSeek Flash and a daily budget, but the subagents burned through the entire budget before they realized what was happening.
What happened
The user gave a single instruction to fix a deployment issue. Instead of executing a focused fix, OpenClaw's subagents went into a feedback loop, calling subagents recursively and consuming tokens at an alarming rate. By the time the daily budget was exhausted, 40M tokens had been used — likely exceeding the user's expected cost by orders of magnitude.
User's setup
- Provider: OpenRouter
- Model: DeepSeek Flash (likely DeepSeek V2 or similar)
- Budget: Daily cap (unspecified amount)
- Agent configuration: Default or near-default subagent creation settings
Why it happened
OpenClaw's agent architecture can spawn subagents to handle subtasks. In this case, the subagents appear to have entered an infinite loop or over-delegation pattern. With no rate limiter or spend cap on per-session tokens, the agent ran unchecked. The user only discovered the issue post-mortem because the budget was hit.
What the user wants
They're looking for: better guardrails to prevent subagent proliferation, per-subagent token limits, rate limiters to cap token consumption per minute or per task, and real-time alerts when spending spikes. They also asked the community for tools or tricks to manage unexpected costs.
Lessons for OpenClaw users
- Set conservative daily budgets and monitor token usage in real time if possible.
- Consider using models with lower token cost for debug tasks — DeepSeek Flash is cheap but can still spiral.
- Enable rate limiting or agent recursion depth limits if available.
- Test agent behavior on a small task before letting it run unattended.
If you've experienced similar issues or have solutions for controlling OpenClaw subagent costs, the original thread on r/openclaw has active discussion.
📖 Read the full source: r/openclaw
👀 See Also

Claude-Code v2.1.31 Release: Key Updates and Bug Fixes
Claude-Code v2.1.31 has been released with important enhancements including session resume hints, Japanese IME support, and bug fixes for PDF handling and API requests.

GitHub Copilot Removes Opus Models from Pro Plan, Pauses New Signups
GitHub is removing Opus models from the Copilot Pro plan and pausing new signups for Pro, Pro+, and Student plans. Opus 4.7 remains available on Pro+, while Pro+ plans now offer more than 5X the usage limits of Pro.

Local Qwen3.6 27b + Hermes Agent Handles Junior IT Admin Tasks
A 30-year IT veteran reports that Qwen3.6 27b running in Hermes Agent harness completed a task list for a junior-level IT admin in 1.5 hours — including patching, Docker install, and service setup.

Claude Code v2.1.116: Performance improvements, terminal fixes, and security updates
Claude Code v2.1.116 delivers significant performance improvements including up to 67% faster /resume on 40MB+ sessions, smoother terminal scrolling, and faster MCP startup. The release also fixes terminal rendering issues, adds security protections for dangerous path operations, and resolves multiple bugs affecting slash commands and plugin management.