Discuss your project

Glossary

Token (AI)

A token is the smallest unit into which a language model splits text – usually a word, part of a word, or a punctuation mark. Tokens determine how much text a model can process and what a request costs.

October 13, 2026TokenLLMCosts

Language models read text neither letter by letter nor word by word, but in tokens. This unit plays a bigger role in everyday work with AI than it might seem at first: the billing of many AI services, the maximum length of inputs, and the length of responses are measured in tokens.

How does splitting into tokens work?

Before a large language model can process a text, what is called a tokenizer splits it into building blocks. Each building block corresponds to an entry in a fixed vocabulary and is represented internally as a number. Common words are often a single token, while rare or long words are split into several parts. A German compound word such as "Datenschutzfolgenabschätzung" (data protection impact assessment) therefore usually consists of several tokens. Spaces, punctuation marks, and digits are also captured as tokens or as part of them.

Methods such as byte pair encoding are widespread, in which character sequences that frequently occur together are merged into one token. Because many models were trained predominantly on English texts, their vocabulary is often optimized for English. German texts then often result in more tokens than comparable English ones. How many tokens a particular text produces always depends on the respective model.

The model also works in tokens when generating output: it produces its answer token by token.

Why tokens matter

What companies should keep in mind

How it differs

In IT security, "token" means something else: a digital proof of a sign-in or authorization, for example in single sign-on, or a small device that generates one-time codes for signing in. This has nothing to do with tokens in the sense of language models.

View AI consulting

YOUR NEXT STEP

What should
work better
next?

Tell us briefly what you have in mind. We will assess it and suggest a sensible next step.