Learn AI, Plainly How AI Works

Token

Plain ly explained 2 words = 3 tokens

TLDR The small chunks of text an AI reads and writes, and the unit you are billed in.

You've seen it

AI vendors such as OpenAI and Anthropic price their models per million tokens, not per word or per question. OpenAI's rule of thumb is that one token is about three quarters of an English word, so 1,000 words is roughly 1,300 tokens.

Source: OpenAI on tokens

Try it

14 tokens from 52 characters

Plainly explained: our Q3 refund policy, in Español.
Real splits from OpenAI's GPT-4 tokenizer. Other models cut text a little differently, but the pattern is the same: common words stay whole, rare words and other languages break into pieces.

Plainly

Models do not read words. They read tokens: often a whole common word, sometimes a piece of a rarer one, and each punctuation mark. Everything is counted in tokens, from the price of a request to how much fits in the AI’s memory to how fast it answers.

Two side effects matter for business. Many languages other than English need more tokens for the same meaning, so they cost more. And because numbers and names split oddly, models can stumble on tasks like spelling or counting letters.

Ask this

“How many tokens does a typical task use, and what does that add up to per month?”

Last checked

. Facts in this field move fast, so every entry is rechecked when they do.

All AI, Plainly terms