AI features anyone can use to run up your bill (unbounded consumption)

Last updated November 14, 2026
Steps
- List every endpoint that calls a paid AI model or paid service (chat, summarize, image generation, embeddings, SMS or email sends), including ones used by your own frontend.
- Require sign-in for AI features where you can, and keep public demos on a cheaper model with tight limits.
- Add per-user and per-IP rate limits and daily quotas on each of those endpoints, enforced on the server.
- Cap request size: maximum characters or tokens in the input, maximum file size, maximum number of items per batch, and a maximum output length on every model call.
- Set timeouts on model calls and stop runaway loops in agents (a maximum number of tool calls or steps per request).
- Turn on spending limits and budget alerts in each provider’s billing settings; where a hard limit isn’t available, set alerts at a level you’d want to hear about.
- Log usage per user and watch for spikes, so you can block an abusive account quickly.
- Retest: as a signed-out user and as a normal user, send repeated and oversized requests to your own app and confirm the limits kick in.
Why it matters
OWASP describes attackers sending high volumes of requests, oversized inputs or deliberately expensive queries to exhaust resources or run up costs on pay-per-use AI services. In OWASP’s API Security Top 10, one scenario is a forgot-password flow that sends a paid SMS on each request; a script calls it tens of thousands of times and the company is billed for every message. OWASP’s fixes include input size limits, rate limiting and user quotas, timeouts and throttling, monitoring, and spending limits or billing alerts for every provider. This page is for checking and fixing your own app.
Sources
OWASP Gen AI Security Project: LLM10:2025 Unbounded Consumption — https://genai.owasp.org/llmrisk/llm102025-unbounded-consumption/
OWASP API Security Top 10: API4:2023 Unrestricted Resource Consumption — https://owasp.org/API-Security/editions/2023/en/0xa4-unrestricted-resource-consumption/
Checked at the source on November 14, 2026.
Related patterns
Found a problem you'd rather not fix yourself?
Tell us what's wrong. A StorenTech engineer reviews your app and replies with a fixed quote, so you know the cost before any work starts.
Get it fixed by StorenTechVibe Security Weekly
One email a week with new failure patterns and how to fix them.
By joining you agree we may email you this newsletter. See our privacy policy. Free. Unsubscribe anytime. We'll never sell your email.