Tools Web

Calculators

OpenAI Image API Cost Calculator

Estimate Image Generation API spend. Pick a gpt-image tier, enter image input/output tokens (or images × tokens-per-image proxy), and toggle Batch for published half-price rates. Cost = tokens ÷ 1M × effective $/1M. Estimates only; official OpenAI pricing prevails.

Math runs in your browser. Nothing is uploaded.

Custom $/1M rates (optional)

Estimated USD cost
—

Input cost
—

Output cost
—

Estimates only; official vendor pricing prevails (2026-10-30). Cost = image tokens ÷ 1M × effective $/1M (Batch toggle loads published half rates).

OpenAI Token Cost Calculator · OpenAI Realtime Voice Cost Calculator · OpenAI Batch API Savings Calculator · LLM API Cost Calculator

How it works

How is Image API cost calculated?
USD = (image input tokens ÷ 1M × in $/1M) + (image output tokens ÷ 1M × out $/1M). Batch toggle loads published half-price rates. Example: gpt-image-2 at $8/$30 with 10k in + 150k out ≈ $4.58.
What does images × tokens-per-image do?
It is a planning proxy that fills output tokens = images × tokens per image (default 1,500). Replace with usage-export token counts when you have them.
What is the Batch half-price toggle?
When checked, rates switch to the published Batch image column (typically ~50% of Standard). Confirm eligibility on OpenAI’s Batch docs.
Are text prompt tokens included?
Use the image input tokens field for prompt/reference image tokens. Output tokens cover generated image tokens.
Can OpenAI change image prices?
Yes. Estimates only; official pricing and the image guide calculator prevail.