An AI agent with no step limit stops when its context window is full. On GPT-5.6 that's $160 for one run.
DEV Community
An AI agent with no step limit stops when its context window is full. On GPT-5.6 that's $160 for one run.
A stuck agent loop resends its growing history on every step, so it only stops when the next request no longer fits. I simulated it at list prices. One runaway run costs $160 on GPT-5.6 and $1,001 on Claude Sonnet 5.5, against under $1 with a 25-step cap. Bigger windows make it worse, with the square of the window.
0 comments
No comments yet.