Learn AI Math

Image Tokens

What is Image Tokens?

In one sentence: Image tokens are the pieces an image is turned into so a language model can process it like text.

Just as text becomes tokens, an image is split into patches that become tokens. More image tokens mean more detail but use more of the context window and cost more.

What does Image Tokens look like?

A high-resolution photo might use over 1,000 image tokens in a chat.

Why does Image Tokens matter?

Image tokens explain why images cost tokens and use up context.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.