OpenAI

gpt-image-2

Generally availableProprietary128K context

Summary

gpt-image-2 is a proprietary image generation model from OpenAI, released on 21 Apr 2026. It accepts text and images and generates images, with a 128K-token context window and up to 16K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $5 per million input tokens and $30 per million output tokens (OpenAI API), across 3 providers we track.

Image model for prompt-driven generation, editing, and visual design workflows

Last verified 4 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperOpenAI
Release date21 Apr 2026 [models.dev]
StatusGenerally available [models.dev]
WeightsProprietary (API only) [models.dev]
Context window128K (128,000 tokens) [models.dev]
Max output16K tokens [models.dev]
InputText and images [models.dev]
OutputImages [models.dev]
Reasoning modeNo [models.dev]
Tool callingNo [models.dev]

gpt-image-2 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenAI API
gpt-image-2
$5$30$1.25–models.dev, 4 Oct 2026
Azure AI Foundry
gpt-image-2
$5$30$1.25–models.dev, 4 Oct 2026
Vercel AI Gateway
openai/gpt-image-2
$5$30$1.25–models.dev, 4 Oct 2026

Frequently asked questions

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

gpt-image-2 has a context window of 128,000 tokens (128K) and can generate up to 16,384 tokens in a single response, according to models.dev.

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

Through OpenAI API, gpt-image-2 costs $5 per million input tokens and $30 per million output tokens. Prices last verified 4 Oct 2026.

Is gpt-image-2 open source?

No. gpt-image-2 is a proprietary model; OpenAI has not released its weights. It is available through APIs including OpenAI API, Azure AI Foundry, Vercel AI Gateway.

When was gpt-image-2 released?

OpenAI released gpt-image-2 on 21 Apr 2026, according to models.dev.

Which providers offer gpt-image-2?

We track gpt-image-2 on 3 providers: OpenAI API, Azure AI Foundry, Vercel AI Gateway.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources