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
More in this group
- Gemini Image Cost Calculator Nano Banana images by resolution and Batch.
- AI Image Generation API Cost Comparison 20+ image models ranked by $ per kept image.
- Recraft API Cost Calculator Recraft raster/vector $/image → monthly + API units.
- fal.ai Cost Calculator fal image $/MP or $/image → per kept image & month.
- AI Video Generation API Cost Comparison 20+ video models ranked by $ per finished clip.
- Gemini Omni Flash Video Cost Calculator Omni Flash 1.1: Gemini API vs Runway $/clip & $/mo.
- Runway API Cost Calculator Runway Dev model $/s → per clip, per month, recipes.
- OpenAI Token Cost Calculator GPT-5 / 4.1 / o-series token cost in USD.
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.