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.
Per image, at standard input rates. API pricing
Calculation details
Fits within 65,535 × 65,535 pixels; no patch-budget limit. Smaller images are not enlarged.
- Size after resizing
- 1024 × 1024 px
- 32 × 32 patches
- 32 × 32 = 1,024
- Token multiplier
- 1.2×
- Input price per 1M tokens
- $4.00
Excludes other prompt tokens, caching, long-context pricing, and data-residency adjustments. Billing can differ by one token due to rounding.
Use the calculator
- Select the vision model you plan to use.
- Enter the original image width and height in pixels. The calculator applies the model’s resizing rules.
- Select an image detail level supported by the model.
- 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.