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

CivBench: Testing AI Strategic Reasoning with Civilization VI — Agent Nuked Toulouse After Losing Culture War
An AI agent playing Civilization VI built nukes after French culture victory became unavoidable. The experiment, CivBench, tests long-horizon strategic reasoning — something multiple-choice benchmarks like GovBench (99.26% GPT-5) fail to measure. 76 MCP tools expose Civ VI game state as text.
Qwen3 27B Outperforms Gemma 4 26B in Real-World Tool-Calling for Local AI Video Pipeline
A local AI video pipeline experiment shows Qwen3 27B handling tool-calling cleanly while Gemma 4 26B got stuck in loops. Also covers Said Image Turbo for local image generation and OpenCode orchestration hitting 174K context.

Nvidia commits $26B to open-weight AI models, releases Nemotron 3 Super
Nvidia will spend $26 billion over five years to build open-source AI models, according to 2025 financial filings. The company also released Nemotron 3 Super, a 128B-parameter model that outperforms GPT-OSS on benchmarks and ranks first on PinchBench for OpenClaw control.

Claude Code v2.1.117 Release: Subagent Forking, Plugin Improvements, and Performance Fixes
Claude Code v2.1.117 enables forked subagents on external builds via CLAUDE_CODE_FORK_SUBAGENT=1, improves plugin dependency handling, and fixes Opus 4.7 context window calculations. The release includes faster startup with concurrent MCP connections and replaces Glob/Grep tools with embedded bfs/ugrep on macOS/Linux.