Mar 17, 2026Unverified
Claude Code entered an infinite loop, re-sending the same requests for hours and burning $500+ in tokens
AI loose in the worldAvailabilityDERIVED
Approved by person, Oct 12, 2026. How entries are approved
A user filed a bug report after Claude Code entered an infinite loop: the agent repeatedly sent the same requests for several hours at roughly one-minute intervals, producing no useful output or tool calls, and racked up more than $500 of unexpected token usage. The user asked for automatic detection of repeated request patterns and a stop after a reasonable retry count.
What this means for youIf you use AI coding tools that charge by usage, a stuck loop can run up large bills without anyone noticing. At work, set spending caps and usage alerts on AI accounts before letting agents run unattended.
Sources
- GitHub issue, anthropics/claude-code 35166https://github.com/anthropics/claude-code/issues/35166
Incident records from the AI Agent Incident Database by sipi.bot (https://sipi.bot/incidents/), licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).
Source data license: CC BY 4.0. Attribution to sipi.bot is required.
Covered by snapshot 45
da93f03b406f409940d0a6ef47b526607f82ebf457d98f69299b88aceede576a
This entry is record number 2407. It has not been edited since it was approved; the hash above would not match if it had. How to verify