Your AI application can be functioning exactly as designed, serving valid requests and passing functional tests — while quietly consuming resources at a rate your organisation cannot sustain.
An AI security incident doesn't always begin with stolen credentials, compromised infrastructure or exposed customer data.
Sometimes, it begins with a request that costs far more to process than anyone expected.
Consider an enterprise AI application that summarises documents, analyses customer interactions or generates business reports.
A user submits a request. The application processes it, invokes a model, performs additional operations and returns a response.
Everything works.
Now imagine hundreds or thousands of similar requests arriving continuously. Some contain unusually large inputs. Others trigger expensive reasoning operations, multimodal processing or repeated downstream tasks.
The application continues responding.
But GPU utilisation increases. Inference latency rises. API consumption grows. Cloud expenditure moves beyond expected limits.
The application has not necessarily been compromised in the traditional sense.
It has become economically vulnerable.
This is the problem behind AI Denial-of-Wallet (DoW) attacks.
OWASP recognises this broader risk under LLM06:2026 Unbounded Consumption, which describes how uncontrolled inference can cause service disruption, unsustainable financial costs and resource exhaustion.
1. What makes AI applications vulnerable to denial-of-wallet attacks?
Traditional web applications also face resource exhaustion and denial-of-service attacks.
However, AI introduces a different cost structure.
A conventional API request may trigger a relatively predictable amount of processing. An AI inference request can have highly variable resource requirements depending on:
- Input length and context size.
- Model architecture and complexity.
- Output length.
- Reasoning or extended-thinking requirements.
- Multimodal input processing.
- Retrieval and external service calls.
- Repeated model invocations within one workflow.
Two requests that appear similar from an application perspective may have significantly different computational costs.
This creates an important security challenge: request volume alone is not a reliable measure of resource consumption.
A system that allows every authenticated user to submit requests without meaningful limits may expose itself to disproportionate financial and operational risk.
2. Five ways uncontrolled AI consumption happens
A. Large-context abuse
Large language models process input and output tokens within a context window.
Long documents, accumulated conversation histories and oversized prompts can increase processing requirements.
An application that accepts unnecessarily large inputs without appropriate limits may allow individual requests to consume disproportionate resources.
The issue becomes more serious when multiple users or automated clients repeat this behaviour.
What should teams consider?
Set context limits based on the actual business requirement. Avoid carrying unnecessary conversation history into every inference request. Apply appropriate input validation before invoking expensive models.
B. Expensive reasoning operations
Not every AI request requires the same level of reasoning.
A simple classification task and a complex multi-step analysis can have very different computational requirements.
If an application routes every request to its most expensive model or enables extended reasoning without considering task complexity, the architecture may create unnecessary cost exposure.
This is not only an optimisation problem.
It is a security and resource-governance concern.
**
What should teams consider?**
Use model selection based on task requirements. Establish maximum output budgets and processing limits. Ensure expensive operations have a clear business justification.
C. Multimodal processing abuse
AI applications increasingly accept images, audio, video and documents in addition to text.
These inputs can introduce additional processing requirements.
For example, an application that analyses uploaded video may invoke several processing stages before generating a response.
If upload size, processing duration and request frequency are not controlled, a relatively small number of submissions may create substantial resource consumption.
What should teams consider?
Define acceptable input formats and size limits. Apply processing quotas. Review the resource requirements of each modality separately rather than treating every request as equivalent.
D. Repeated workflow execution
An AI application may involve multiple model calls behind a single user interaction.
A request could trigger classification, summarisation, validation and response generation.
In more complex workflows, retries or repeated processing may multiply the number of inference operations.
An attacker does not necessarily need to submit thousands of requests if one request can trigger an unexpectedly large amount of internal work.
**
What should teams consider?**
Track the total number of model invocations per user request. Set limits on retries and repeated processing. Establish execution budgets for workflows rather than relying exclusively on API-level rate limits.
E. Agentic execution loops
Agentic AI systems can introduce another layer of resource consumption.
An agent may plan a task, invoke a model, evaluate its result, call a tool and request another model response.
If the task cannot be completed or the agent repeatedly generates new actions, the workflow may continue consuming resources.
This can happen because of malicious input, poorly defined stopping conditions or unexpected application behaviour.
What should teams consider?
Define maximum execution steps, time limits and spending boundaries. Introduce circuit breakers that stop workflows when resource consumption exceeds approved thresholds.
3. Why traditional rate limiting is not enough
Rate limiting remains important, but it addresses only part of the problem.
Imagine two customers.
Customer A submits 100 short classification requests.
Customer B submits 100 requests involving large documents, extended reasoning and multiple processing stages.
A basic request counter may treat both customers equally.
Their actual resource consumption may be very different.
This is why AI applications need consumption-aware security controls.
- Traditional API control
- AI-aware control
- Requests per minute
- Token and resource consumption
- Requests per API key
- Cost attribution per customer
- HTTP request limits
- Input and output budgets
- General timeout
- Model-specific execution limits
- Infrastructure monitoring
- Inference cost and latency monitoring
- Request queue limits
- Workflow and agent execution budgets The objective is not to abandon traditional API security. It is to extend it to account for the economics of AI inference.
- A practical defence strategy for enterprise AI systems Preventing denial-of-wallet attacks requires controls across the application, model and infrastructure layers.
- Establish per-request consumption budgets Every AI request should have a defined resource boundary. Depending on the application, this may include: Maximum input tokens. Maximum output tokens. Maximum processing duration. Maximum model invocations. Maximum external service calls. These limits should reflect the application's intended functionality.
2. Introduce customer-level cost controls
A single global spending threshold does not provide sufficient visibility into which customers, applications or workflows are consuming resources.
Organisations should establish usage budgets and alerts at appropriate levels.
For example, an internal document-analysis service may need separate limits for different departments based on their workload and business requirements.
This helps distinguish legitimate growth from unusual consumption.
3. Monitor cost per business transaction
Monitoring total AI expenditure is useful, but it does not explain where the expenditure originates.
A more meaningful metric is the cost of completing a particular business operation.
For example:
Cost per document analysed.
Cost per customer interaction.
Cost per generated report.
Cost per completed AI workflow.
These measurements make unusual consumption easier to identify.
A sudden increase in cost per completed transaction may indicate an inefficient workflow, an unexpected model change or potentially abusive activity.
4. Design circuit breakers into AI workflows
AI applications should have a defined point at which execution stops.
Circuit breakers can prevent repeated processing when an operation exceeds its resource budget, encounters persistent failures or enters an unexpected execution loop.
A well-designed system should be able to stop an expensive workflow without taking down unrelated application functionality.
5. Build graceful degradation into the architecture
Not every AI service needs to remain fully operational during periods of high resource consumption.
Depending on business criticality, applications may:
Queue non-urgent requests.
Temporarily restrict expensive features.
Route suitable workloads to less resource-intensive models.
Prioritise critical business operations.
Reject requests that exceed defined resource limits.
The objective is to preserve essential functionality instead of allowing resource exhaustion to affect the entire service.
5. What security teams should validate before production deployment
A production readiness review should examine more than whether the model returns accurate responses.
Security and engineering teams should be able to answer:
- Are input and output sizes appropriately restricted?
- Can an individual request trigger multiple expensive model operations?
- Are inference costs attributed to individual applications and customers?
- Are model-specific usage limits enforced?
- Can an agent or workflow continue executing indefinitely?
- Are retries, queues and external calls bounded?
- Are spending thresholds connected to automated alerts or protective actions?
- Can the application degrade gracefully during unusual demand?
- Can the security team identify which workflow caused abnormal consumption?
- Are resource limits periodically reviewed as models and workloads change? These questions help expose architectural weaknesses that functional testing alone may not identify.
6. The connection between AI security and financial resilience
One reason denial-of-wallet attacks deserve attention from security leadership is that their impact crosses traditional departmental boundaries.
A resource-consumption incident may involve:
- Security teams investigating suspicious activity.
- Engineering teams analysing inefficient workflows.
- Cloud teams managing infrastructure capacity.
- Finance teams reviewing unexpected expenditure.
- Business leaders assessing service disruption.
This makes AI consumption governance an enterprise resilience issue.
The goal should not be to minimise AI expenditure at any cost. Excessive restrictions can damage productivity and degrade the user experience.
Instead, organisations need to understand the relationship between business value, computational requirements and acceptable risk.
An AI application should have a clear operational budget, measurable resource boundaries and an appropriate response when those boundaries are exceeded.
7. How to assess AI consumption risk before it becomes an incident
AI consumption risk cannot be understood by looking at cloud bills alone.
A technical review should examine the architecture behind priority AI workflows:
- Which models and providers are being used?
- How are inference requests initiated?
- What data and context are sent to the models?
- How many processing stages can a request trigger?
- What resource limits exist at each stage?
- How are unusual usage patterns identified?
- What happens when spending or execution limits are reached?
This is where organisations benefit from examining their AI security architecture as a connected system rather than reviewing individual controls in isolation.
The Symosis AI Security Rapid Assessment takes a focused approach to this challenge. It reviews 3–5 priority AI use cases, platforms or workflows through stakeholder discussions, architecture review and targeted configuration validation.
The objective is to identify priority AI security risks, assess relevant control gaps and provide risk-ranked remediation recommendations with a practical 90-day action plan.
The engagement is designed for 7–10 business days.
For organisations moving AI workloads into production, this can provide a structured starting point for understanding where technical exposure exists and what deserves attention first.
Explore the AI Security Rapid Assessment brief:
https://www.symosis.com/ai-assessment
Conclusion:
AI availability now has an economic security dimension
AI systems introduce a resource-consumption model that traditional application security controls may not fully address.
A valid request can be expensive. A single workflow can trigger multiple inferences. A seemingly normal user can generate disproportionate computational demand.
And a system can remain technically available while its operating economics become unsustainable.
That is why AI security must include resource governance, consumption-aware controls and operational resilience.