Quration Play

tech

When people say an AI model has a 'context limit' or that using it costs a certain amount, those figures aren't counted in words or letters but in these special units.

In AI language models, what is a "token"?

A chunk of text the model reads and writes
AI models don't read whole words — they break text into "tokens," each a word or piece of a word. A model's limits and costs are usually measured in how many tokens it can handle.

A token is the basic unit an AI model uses to process text, and it isn't always a whole word — common words might be a single token, while longer words get broken into smaller pieces, and even punctuation can count as its own token. Because models read and generate text token by token, both their context limit and usage cost are measured in token counts rather than letters or whole words.

A digital security key and cryptocurrency both also use the word "token," but describe completely different concepts from unrelated fields, namely authentication and digital currency.

Because different languages or phrasings of the same idea use different numbers of tokens, the same sentence translated or written more verbosely can end up costing noticeably more to process.

▶ Quration Play

tech

What does the "GPT" in ChatGPT stand for?What makes an "AI agent" fundamentally different from such a chatbot?What is "machine learning"?What does it mean for software to be "open source"?What is a "blockchain," in simple terms?What is "the cloud" in cloud computing?A "neural network" in AI is loosely modeled on what?What does an "NFT" represent?In software, what is an "API"?What does the "Turing test" measure?What is "computer vision"?What is "prompt engineering"?

Quration — Quration Play