AI Tools

Image Token Calculator

See how many tokens an image costs on GPT, Claude, and Gemini, using each provider's own rules. Then resize it, and see what you'd save before you send it.

Check an image locally

Runs locally in your browser. Your image is measured and resized on your device, not uploaded, saved, or shared.
Your imageNo image yet
Resize
Resize to send
Format

The format changes the file size, not the tokens. PNG keeps text sharpest.

Add an image to see its token cost.

Ready when you are.

Watch: cut an image's token cost

No sound. Each step is captioned on screen and also written out in the guide below.

Fewer image tokens in three steps

  1. 01
    Add an image

    Drop, choose, or paste a screenshot, photo, or scan.

  2. 02
    Compare the models

    See its token cost on each one, and the size each model actually looks at.

  3. 03
    Resize and download

    Pick a smaller size, check the text is still readable, and send that instead.

How models count images

  • Claude: one token per 28×28 pixel patch, up to a per-model limit; larger images are scaled down first.
  • GPT: newer models count 32×32 patches (times a multiplier, up to a budget); GPT-4o and GPT-4.1 count 512 px tiles.
  • Gemini 3+: a fixed amount per image, whatever its size.

Sending a bigger image than a model looks at only makes the upload larger; sending a smaller one can cut tokens by half or more.

Frequently asked questions

How exact are the numbers?

They follow each provider's published rules (checked October 2026) and match their worked examples. Providers change these rules between models, so for billing, trust the usage numbers the API returns.

How small can I go?

It depends on the image. Photos stay clear at much smaller sizes; screenshots and scans need their text to stay readable. Check the preview: if you can't read it, the model may not either.

Why doesn't resizing change Gemini's count?

Gemini 3 and later charge a fixed amount per image, set by the media_resolution option. To pay less there, choose a lower setting, such as low (280 tokens) for simple images.

Is my image uploaded?

No. Measuring and resizing both happen in your browser. The resized image is drawn fresh, so location and camera details aren't copied into it.