Your files stay on your device

Image token cost calculator

Count image tokens with each model's documented rules, then price them. Custom rates are supported, with no vendor calls.

Only image input tokens are counted, not prompt text, output, caching, or discounts. Billing can differ by a token from rounding. Models without a documented image rule are left out. The math uses whole numbers, and nothing is sent anywhere.

Was this tool useful?