Denial of Wallet: Put Limits on Model Usage Before Attackers Do
Uncapped model calls can turn abuse into a large bill or an outage. Rate limits, quotas and budget alerts are basic availability controls.

By TrendGuru Research
OWASP's unbounded consumption category covers attacks that exhaust model resources: very long inputs, automated request floods or agent loops that never stop. The impact can be degraded service, unexpected costs or both.
Controls that pay off quickly
- Rate limits per user, API key and IP address.
- Maximum input and output lengths.
- Step and time limits for agent workflows.
- Daily budgets with alerts before the limit is reached.
- Monitoring for unusual request patterns, such as systematic querying that may indicate model extraction.
Test the limits deliberately: send oversized inputs and loop an agent in a staging environment. The application should fail with a clear message rather than silently consuming resources.
Sources and scope
Editorial analysis based on OWASP's 2025 guidance on unbounded consumption.
https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/

