What is tokenization?

By the Variask team · Updated

Definition

Tokenization is how an AI model splits text into small pieces called tokens, often parts of words, before it reads or writes. Limits, costs and context windows are all measured in tokens.

Also called Tokens

How tokens work

A token is roughly a short word or part of a longer word. Common words are often one token; rare words, names and some languages take several. Models read and write token by token, and providers price and limit usage by tokens.

What it means for brands

  • Unusual brand names may be split into several tokens; using the name consistently helps models connect it to your company.

Questions

Tokenization:
common questions

In English, roughly 700 to 800 words, though it varies by text and model.

Related terms

Keep exploring

Full glossary