AI
Token: what a token is in language models
The term Token explained in plain Arabic from an official or primary source, with an original example, common mistakes and what was not verified.
Last reviewed:
What it is
Per the Gemini API documentation, models process input and output in units called tokens. For Gemini models a token is about 4 characters, and 100 tokens is about 60 to 80 English words. A token can be a single character or a whole word, and long words split into several tokens. When billing is enabled, call cost depends partly on the number of input and output tokens.
An example
Our example: a 400-character English text is roughly 100 tokens by that rule of thumb. It is an estimate, not an exact count.
Common mistakes
- Counting words instead of tokens when estimating cost.
- Applying the character rule to every language; the page states it for English.
Source
Our summary is based on the page Gemini API: Understand and count tokens in our own wording, read on 2026-12-01. Read the official page for details.
Latest updates
The source page was read on 2026-12-01. Definitions can change, so check the source.
Similar tools
For neighbouring terms read the linked glossary pages, and for the full list read the glossary index.
Not verified
I read only the source page named, and our examples are illustrative and untested.
Related pages
Sources
- Gemini API: Understand and count tokens · read on
Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.