# Tokenizer

Canonical page: https://www.theglitch.ai/ai-glossary/tokenizer

The component that chops text into the tokens a model reads and turns tokens back into text.

[Tokenizer, common card \#231 in The Glitch AI glossary: The component that chops text into the tokens a model reads and turns tokens back into text.](https://www.theglitch.ai/images/cards/glossary/tokenizer.png?v=478b76b196c3c0da)

GLS 231 · common

For: Builders

## Why it matters

It sets what a model counts as a word, which drives pricing, context limits and some odd mistakes.

## In practice

“Unbelievable” might become three tokens, “un”, “believ”, “able”.

## Watch for

Languages other than English often need more tokens for the same meaning, so they cost more.

## Related terms

[Token](https://www.theglitch.ai/ai-glossary/token) · [Context window](https://www.theglitch.ai/ai-glossary/context-window) · [Cost per token](https://www.theglitch.ai/ai-glossary/cost-per-token)

## Sources

- [Hugging Face: Summary of the tokenizers](https://huggingface.co/docs/transformers/tokenizer_summary)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
