What is a token in AI?
In AI, a token is the small unit of text, often a word or part of a word, that a language model reads and writes. Model limits and usage prices are usually counted in tokens.
Also called: LLM token, model token
How it works
Before a model reads text, a tokenizer splits it into tokens. A common word may be one token, while a rare word, a number or a string of symbols may be split into several. Images and audio are also turned into tokens in multimodal models.
The model then predicts the next token, one at a time, to produce its reply. Both the input and the output count toward the model's context window and toward the bill. This AI token is different from a crypto token, which is a digital asset on a blockchain.
Why it matters for fraud and risk
Because tokens cost money, access to a model is a target for abuse. Attackers use stolen API keys, free-trial farms and fake accounts to consume tokens they do not pay for, or resell that access. This is often called AI token fraud.
Token counts also shape design choices for risk tools. Long case files may need to be trimmed, summarized or searched with retrieval-augmented generation so that the important details fit within limits and budgets.
Warning signs of token abuse
- Many new accounts that each use exactly the free-tier limit, then go quiet.
- Sudden spikes in usage on a single API key from new networks.
- Sign-ups from disposable emails, shared devices or data center IP addresses.
- Usage patterns that look automated, such as constant request rates around the clock.
Example
A hypothetical AI startup offers free credits on sign-up. Within days, hundreds of accounts appear from a small set of devices, each drains its credits, and the traffic routes through a proxy service. Linking those accounts by device and network shows they are one operator.
Related terms
- AI token fraudAI token fraud is the abuse of an AI service to get model usage, credits or compute without paying for it, for example through farmed free trials, stolen cards or leaked API keys.
- Context windowA context window is the maximum amount of text, measured in tokens, that a language model can take in and consider at once, including the prompt, any attached data and its own reply.
- Large language model (LLM)A large language model (LLM) is a neural network trained on large amounts of text to predict and generate language. It powers chat assistants, AI agents and many text tools.
- Promo abusePromo abuse is when people exploit sign-up offers, referral rewards, coupons or free trials beyond what the business intended, often by creating many accounts.
- Bot detectionBot detection is the set of methods used to tell whether a website or app visitor is a person or an automated program, and often which kind of program it is.