In Large Language Models (LLM), a token is a unit of text that AI uses to process and generate contents.
To simplify this concept, here's a breakdown of what that means in terms of "size":
- Characters: 1 token is roughly equivalent to 4 characters. (Basic plan: 25k tokens = ~100k characters).
- Words: 1 token is roughly equivalent to 3/4 of a word in English. (Basic plan: 25k tokens = ~20,000 words).
- Images: Small images (e.g., up to 384x384 pixels) might count as a fixed number of tokens (e.g., 258 tokens for Gemini 2.5 or 100 small images in Basic plan). Larger images can be tiled, with each tile counting as tokens.
- Video: Video is converted to tokens at a fixed rate (e.g., 263 tokens per second).
- Audio: Audio is also converted to tokens at a fixed rate (e.g., 32 tokens per second).