Incidents/ By cause/ Retry loops/ ai-coding-4000-dev-prod
BLOCK Retry loops Multiple developer 2025

Developer spent $4,000 on AI coding when prod behaved like dev

A developer reported burning through $4,000 in AI-coding API costs because behavior that worked in development kept looping in production.

Reported loss$4,000
Which rule would have stopped this?

An agent got stuck retrying a failing call, or entered a self-reinforcing loop. Each retry costs money. The fix is a velocity rule and a per-window cap. velocity + per-period total would have rejected or flagged this transaction before any money moved.

Daily / period total
A loop that's individually small but runs thousands of times overnight.
daily_max_usd: 200
Velocity limit
Infinite retry loops and credential-abuse bursts before the dollars pile up.
max_per_minute: 20

Don't let this happen to your agents

sipi.bot evaluates every transaction an autonomous agent proposes and returns APPROVED, BLOCKED, or FLAGGED in under 5ms — before the money moves. Self-host the MIT core free, or use the hosted dashboard with human-in-the-loop approvals.

What happened

A developer reported burning through $4,000 in AI-coding API costs because behavior that worked in development kept looping in production.

The root cause was classified as Retry / infinite loop. An agent got stuck retrying a failing call, or entered a self-reinforcing loop. Each retry costs money. The fix is a velocity rule and a per-window cap.

This is one of 14 documented incidents in the open registry. Every entry is sourced to a public URL; amounts and dates are as reported by the source.

Related incidents

Retry loops

No-code agent silently burned $800+ in API calls overnight

Multiple · 2025
$800+ →
Retry loops

Developer spent $4,000 on AI coding when prod behaved like dev

Multiple · 2025
$4,000 →
Retry loops

Google Maps API bill hit ~$10,000 in four days

Google (Maps) · 2025
~$10,000 →
Retry loops

Background orchestration agent stuck in an error-handling loop

Multiple · 2025
Cost not disclosed →
Retry loops

Founder spent $638 on Cursor AI coding in six weeks

Cursor · 2024
$638 →
Retry loops

Autonomous agent ran up a $6,531.30 AWS bill in a retry loop

AWS · 2026
$6,531.30 →