My AI Agent Ate 178,000 Tokens in 30 Minutes — Here's Why (And How to Prevent It)

Dev.to AI
Generative AI

My AI Agent Ate 178,000 Tokens in 30 Minutes - Here's Why (And How to Prevent It) I was 33 minutes into an active work session with my AI agent when I checked the diagnostics: 📚 Context: 178.4k / 200k (87%) 87% of the context window. Consumed. In half an hour. At the rate I was going - 90 tokens per second of burn - I had roughly 4 minutes before hitting the ceiling and triggering an automatic compaction that would erase most of my working context. This isn't a theoretical problem.