OpenAI: gpt-image-2Official docs

OpenAI: gpt-image-2

byOpenAI
Official docs

gpt-image-2 is an image generation model from OpenAI released on Apr 21, 2026. It reads text and images and writes images, with a 272K token context window.

Show more

It costs $5.05 per million input tokens and $30.30 per million output tokens. Cached input bills at $1.26, 75% less than fresh input.

It supports prompt caching.

10 providers serve it, including Azure, Vercel AI Gateway and AIHubMix. The lowest input price is $5 per million tokens at AIHubMix.

Modalities
In / out price
$5.05 / $30.30 per 1M
Context
272K
Max output
n/a
Released
Apr 21, 2026
Knowledge cutoff
n/a
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

gpt-image-2 pricing

USD, as listed on Nov 18, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$5.05 / 1M tokens
Output$30.30 / 1M tokens
Cached input (read)$1.26 / 1M tokens

gpt-image-2 providers

10 providers serve it, including Azure, Vercel AI Gateway and AIHubMix. The lowest input price is $5 per million tokens at AIHubMix. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
OpenAI First partyn/an/an/an/an/a
Azuren/an/an/an/an/a
Vercel AI Gatewayn/an/an/an/an/a
AIHubMix$5$10$1.25n/an/a
DigitalOcean$5$0$1.25n/a16K
Poe$5.05$30.30$1.26n/an/a
Azure Cognitive Servicesn/an/an/an/an/a
FastRoutern/an/an/a128Kn/a
Kenarin/an/an/a272K16K
SteadyRoutern/an/an/an/an/a

What gpt-image-2 costs per month

Pick a workload close to yours or type your own volumes.

gpt-image-2 per month
$527
Without caching
$697
Per request
$0.0176

Alternatives to gpt-image-2

Models that take the same inputs, closest in price, cheaper ones first.

  • Generates images from text, images and files.

    by openaiOct 14, 2025$10/M input tokens$10/M output tokens

  • Generates images from text, images and files. Served by 2 providers.

    by openaiApr 21, 2026$8/M input tokens$15/M output tokens2 providers

  • Generates images from text and images. Served by 2 providers.

    by quiveraiSep 16, 2026$4/M input tokens$20/M output tokens2 providers

  • Generates images from text and images. Served by 5 providers.

    by openaiSep 8, 2026$5/M input tokens$10/M output tokens5 providers

  • Generates images from text and images. Served by 5 providers.

    by openaiSep 8, 2026$5/M input tokens$10/M output tokens5 providers

  • Generates images from text and images. Served by 6 providers.

    by openaiNov 25, 2025$5/M input tokens$10/M output tokens6 providers

More from OpenAI

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 9 providers.

    by openaiNov 17, 2026$8/M input tokens$40/M output tokens9 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 17, 2026$16/M input tokens$60/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 9 providers.

    by openaiNov 17, 2026$2/M input tokens$10/M output tokens9 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiNov 17, 2026$4/M input tokens$15/M output tokens2 providers

  • Generates images from text and images.

    by openaiOct 28, 2026

  • Generates images from text and images.

    by openaiOct 28, 2026

All OpenAI models

gpt-image-2 questions

How much does the gpt-image-2 API cost?

$5.05 per million input tokens and $30.30 per million output tokens, with cached input at $1.26. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of gpt-image-2?

272,000 tokens of input. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve gpt-image-2?

10 providers serve it, including Azure, Vercel AI Gateway and AIHubMix. The lowest input price is $5 per million tokens at AIHubMix. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Is gpt-image-2 open source?

No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.

When was gpt-image-2 released?

Apr 21, 2026.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 18, 2026. The summary is written from these facts.