Built for modern workflows

Image Token Calculator

Estimate image token usage across OpenAI, Anthropic, and Gemini before making an API request.

100% in your browserYour image is never uploadedFree
Local image analysis

Drop your image

PNG, JPG, or WebP. Processing stays on this device.

1920 × 1080pixels2.07megapixels18512px tiles

Sample photo by Scott Szarapka on Unsplash

Official methods

How image tokens are calculated

OpenAI · high detailtiles × 170 + 85

Resize, count 512px tiles, then add the base image cost.

OpenAI docs ↗
Anthropic(width × height) ÷ 750

Pixel area provides a close estimate before image resizing.

Anthropic docs ↗
Google Geminitiles × 258

Large images are divided into visual tiles with a fixed token cost.

Gemini docs ↗
Clear answers

Frequently asked questions

A 1024×1024 image uses four 512px tiles, or 765 tokens in OpenAI high-detail mode: 4 × 170 + 85.

Keep analyzing

More text tools