AI is becoming part of almost everything: customer support, security operations, software development, research, analytics, internal workflows, and, most importantly, drafting emails. AI is increasingly embedded in real business processes, and that creates new risks, not to mention the level of unprecedented access mainly of these platforms to our data. Token torching (a type of Denial-of-Wallet (DoW) attack) is one emerging AI risk.
What is token torching?
At a basic level, token torching is when someone abuses an AI system in a way that forces it to burn through tokens, time, and money. It may not look as dramatic as ransomware. It doesn’t involve stealing a database, encrypting servers, or taking down a website. But that doesn’t diminish the danger. In an AI-driven environment, tokens represent business cost, capacity, and performance. If an attacker can force your AI system to waste enough of them, that becomes a real problem.
This risk lines up with OWASP’s LLM10:2025 category, Unbonded Consumption. OWASP describes token torching as a situation in which an LLM allows excessive or uncontrolled interference, creating risks such as denial of service (DoS), economic loss, unauthorized usage, and service degradation. In other words, this isn’t just an annoying finance issue.
Tokens are tiny, until they are not
A single AI request may not seem like a big deal. A prompt here, a response there, a few follow-up questions, maybe some context pulled in from another system. Nothing too scary. But those small little requests add up fast, and they eat up available tokens. Imagine a threat actor intentionally designing prompts or workflows that make an AI system do way more work than it needs to. Maybe the system generates huge responses, pulls in massive amounts of context, calls tools over and over again, summarizes documents that did not need to be summarized, or gets stuck in a loop. Maybe an attacker hides confusing, contradictory, or overly complex instructions in a document, PDF, webpage, or other piece of content the AI is asked to read. The AI may not know it is being baited into doing extra work. It may just try to resolve the mess, reason through it, or generate way more output than the user actually needed. All of those actions can and will eat up tokens.
I imagine this would be really fun for a nefarious actor or a bored person, but it is not fun for the person or company footing the bill. One request can be expensive, a hundred requests become very expensive. Thousands of requests can impact budget, performance, and potentially availability. And availability is not just a technical detail; it is one of the core tenants of cybersecurity’s CIA triad. This goes beyond just using up tokens, it potentially limits a user's ability to leverage AI platforms, ultimately impacting output. The attacker does not always need to “break” the model. Sometimes they just need to make the model do exactly what it is allowed to do, but in the most wasteful way possible.
How does a token torching attack work?
Token torching can happen in a few different ways:
- One method is contradiction injection, where an attacker hides conflicting facts or instructions in text. The AI may try to reconcile the contradictions, explain both sides, or keep reasoning through something that was designed to waste time, and tokens.
- Another method is decoy injection, where hidden logic puzzles, complex math problems, or overly detailed instructions are placed into documents, websites, PDFs, or other content the AI may ingest. The user may think they simply asked for a general summary, but behind the scenes, AI may have been maliciously prompted to solve something much more complex and unnecessary.
- Then there is prompt manipulation, where the attacker directly crafts prompts that push the AI to write long, repetitive, wildly complex, or tool-heavy responses.
These methods are unfortunately very effective in burning through tokens.