Skip to main content
Image token consumption varies by model and resolution, typically ranging from 1,000 to 2,500 tokens per image for most common resolutions.

Common resolution token counts

The following table shows the token counts for a single image for Qwen2.5 VL at different image resolutions:

Calculating exact token count for your images

You can determine exact token usage by processing your images through the model’s tokenizer. For instance, for Qwen2.5 VL, you can use the following code:
1

Install dependencies

2

Tokenize your image

Tokenizing your image
Usage