A token is the smallest unit of text a language model works with: a short word, part of a longer word or a punctuation mark. Models read and write in tokens, their memory per conversation is measured in tokens and most providers charge by the token.
How it works
Before a language model reads text, it splits it into tokens. A common English word is often a single token, while a long word or an unusual name can be several. As a rule of thumb, a token is about three quarters of an English word; in Dutch, French or German it usually takes a few more tokens per word. Instructions, attached documents and the model’s answer all count too. A question with a long contract attached can easily use thousands of tokens.
Why it matters to an SME
- Cost: when you use a model through an API you pay per token, and output tokens usually cost more than input tokens.
- Limits: each model can only process a certain number of tokens at once, its context window.
- Speed: the more tokens the model has to write, the longer the answer takes.
If you know how many tokens a task uses, you can estimate in advance what an application will cost each month and whether it pays for itself.
What to watch
Do not send whole documents by default when a few relevant passages will do: it saves tokens and often produces better answers. For simple tasks, choose a smaller model with a lower price per token. With an application that runs automatically, keep a counter and a limit, so that a fault in a loop does not quietly run up a large bill. And do not compare providers on token price alone: a more expensive model that gets it right first time can work out cheaper per task.
How SBC works with it
In its own systems SBC measures token usage per task and has limits in place that warn of unusual peaks, which keeps costs predictable. During an AI implementation we work out with you beforehand how many tokens an application will use and which model offers the best balance between quality and cost.
Also known as: tokens, tokenisation, tokenization, AI token