AI & LLMs
What is a token?
A token is the basic unit of text an AI model processes, roughly three quarters of a word in English. Tokens are how models measure input and output, and how AI tools measure usage and cost.
New to Bolt? Sign up free.
Technical definition
A token is a fragment of text produced by a tokenizer, the component that converts raw input into the discrete units a language model operates on. Tokens do not map to words. Common words often form a single token, while longer or unusual words split into several, and punctuation, whitespace, and code symbols each consume their own.
A rough English guide is 100 tokens per 75 words. Code tokenizes less efficiently than prose because of symbols, indentation, and identifiers.
Tokens are counted in both directions. Everything the model reads and everything it writes is billed.
In plain terms
A token is a chunk of text, a bit smaller than a word. AI tools count them the way a utility counts kilowatt hours.
The part that surprises people: you pay for input as well as output. A long conversation costs more per message than a short one, because the whole history goes along with each new request.
Why it matters
Tokens are the unit price of building with AI, so understanding them is understanding your bill.
The practical consequences are simple. Long conversations cost more than short ones. Rebuilding a whole file costs more than editing one line. Asking three vague questions costs more than asking one precise one. Planning before building costs less than building twice.
For a solo founder on a fixed monthly budget, this is the difference between finishing a project and running out mid-build.
