Why it matters

Inference is expensive: unbounded prompts, outputs, tool loops or batch jobs let attackers exhaust capacity, run up bills or copy a model through mass querying.

How to prevent it

  • Limit input size, output tokens, tool-call depth and time for each request.
  • Apply per-user and per-tenant quotas and spending budgets, with alerts.
  • Rate-limit and monitor query patterns that suggest model extraction.

Guides on this site

References

  1. LLM10:2025 Unbounded Consumption (OWASP, 2025 edition)
  2. OWASP Top 10 for LLM Applications 2026 (OWASP GenAI Security Project resource page)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.