Home / News / OpenAI image API pricing

OpenAI image generation API pricing: gpt-image-2.6 explained

OpenAI's image models bill by token, not by picture. Generated image tokens cost $30 per million, nearly four times the rate for image input, so output size drives the bill.

$30.00Image output, per 1M tokens
$8.00Image input, per 1M tokens
$5.00Text prompt, per 1M tokens
75%Off cached image input

Published Dec 6, 2026 · Prices checked against official pages · Sources at the end

The rates

ModelModalityInputOutputCached input
gpt-image-2.6-sunburstImage$8.00$30.00$2.00
Text$5.00–$1.25
gpt-image-2.6-flareImage$8.00$30.00$2.00
Text$5.00–$1.25

USD per 1M tokens, standard speed. OpenAI lists the two models at identical prices. Batch rates are also available.

How an image request is billed

  • Your text prompt is billed as text input at $5 per million tokens.
  • Any reference image you upload (for edits or style) is billed as image input at $8 per million tokens, or $2 if it is cached from an earlier request.
  • The image the model generates is billed as image output at $30 per million tokens. Larger and higher-quality images use more tokens.

OpenAI does not publish a flat price per image on its pricing page; it points to a calculator in its image generation guide for estimates, because the token count depends on size and quality settings.

A worked example

Suppose each request sends a 200-token prompt and a reference image worth 1,000 tokens, and the generated image comes to 4,000 tokens. These counts are for illustration; check your own requests' usage figures.

ScenarioPer 1,000 imagesPer image
Fresh reference image each time$129.00$0.129
Same reference image, cached$123.00$0.123

In this example, the generated image accounts for 93% of the cost of a fresh request, so output size and quality settings are the biggest lever on the bill.

API or subscription?

For occasional creative work, a subscription can be simpler: ChatGPT's paid plans include image creation, and Midjourney's Basic plan costs $10 a month. The API makes sense when images are generated inside your own product or in volume. See what creative AI tools cost.

Sources