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.

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

Last verified 18 Nov 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
––––models.dev, 18 Nov 2026
Azure AI Foundry
gpt-image-2
––––models.dev, 18 Nov 2026
Vercel AI Gateway
openai/gpt-image-2
––––models.dev, 18 Nov 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.

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.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Grok Imagine Image 2.0xAI7 Aug 202664K––Closed
Muse Image 1.0Meta7 Jul 2026–––Closed
Grok Imagine Image QualityxAI3 Apr 202616K––Closed
FLUX.2 Klein 4BBlack Forest Labs15 Jan 202641K––Open
FLUX.1-Kontext-devBlack Forest Labs29 May 2025–––Open
GLM-ImageZhipu AI (Z.ai)14 Jan 202610K––Open

Change history

  • Context window changed from 272K to 128K
  • Vercel AI Gateway price changed: input $5 → –, output $30 → – per 1M tokens
  • Context window changed from 128K to 272K
  • Context window changed from 272K to 128K
  • Azure AI Foundry price changed: input $5 → –, output $30 → – per 1M tokens
  • OpenAI API price changed: input $5 → –, output $30 → – per 1M tokens
  • Context window changed from 128K to 272K
  • Context window changed from 272K to 128K
  • Context window changed from 128K to 272K
  • Context window changed from 272K to 128K
  • Context window changed from 128K to 272K
  • Context window changed from 272K to 128K
  • Context window changed from 128K to 272K

Sources