AI engineering glossary · Evals guardrails AI security

What is denial of wallet?

Denial of wallet: An attack that aims to drain a victim's budget rather than take the service offline, by driving up pay-per-use costs such as tokens or GPU time. It is a concern for metered language model APIs, and is countered with spending caps and usage alerts.

Level: advancedTopic: Evals guardrails AI security

Denial of wallet: an example

A bot farm sends long requests to a public chatbot until the company's monthly token budget is exhausted in two days.

Related terms

More Evals guardrails AI security terms

Where you learn it

Denial of wallet is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.