SpyBara
Go Premium

guides/image-cost-calculator.md 2026-08-25 18:59 UTC to 2026-08-26 22:57 UTC

This page contains 20 additions and 0 deletions.

2026
Wed 26 22:57 Mon 31 23:00

Image input token and cost calculator

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

Estimate the input tokens and cost of sending an image to an OpenAI vision model. Select a model, enter your image dimensions, and choose a detail level.

For GPT Image generation and editing costs, use the image generation calculator.

Use the calculator

  1. Select the vision model you plan to use.
  2. Enter the original image width and height in pixels. The calculator applies the model's resizing rules.
  3. Select an image detail level supported by the model.
  4. Read the image input tokens and estimated cost. Expand Calculation details to see the resized dimensions and token calculation.

Understand the estimate

The estimate covers one image at standard input rates. It excludes other prompt tokens, model output, caching, long-context pricing, and data-residency adjustments. Billing can differ by one token due to rounding.

For the resizing and tokenization rules, see image input cost calculations. For current model rates and other charges, see API pricing.