Skip to content
Free analysis

Glossary

Token, explained

Also known as: AI token, jeton, Token (Turkish)

Definition

A token is a small piece of text that large language models work with when processing language. It can be a word, part of a word or a punctuation mark. Model providers usually calculate usage fees based on the number of tokens processed.

A large language model doesn't read text letter by letter or word by word. It splits text into pieces called tokens. The instructions, business information and customer message you send are input tokens; the answer the model writes is output tokens.

How do tokens affect cost?

Model providers usually price per million tokens, with separate rates for input and output. Google's Gemini API pricing page lists prices this way and notes that for some models, tokens used while thinking are included in output pricing (Google AI Studio). On WhatsApp, Meta Business Agent replies are also billed per token (Meta for Developers).

What to watch for in your business

  1. Keep the instructions resent with every message short and organized.
  2. Set a limit on answer length. Overlong answers tire readers and use more tokens.
  3. Check your provider's pricing page regularly, since prices can change.

We explain how token costs show up in your budget in our guide on what it costs to adopt AI.

Related terms

Large language model (LLM)PromptAI agent

Guides that use this term