gpt-image-2
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
| Developer | OpenAI |
|---|---|
| Release date | 21 Apr 2026 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Proprietary (API only) [models.dev] |
| Context window | 128K (128,000 tokens) [models.dev] |
| Max output | 16K tokens [models.dev] |
| Input | Text and images [models.dev] |
| Output | Images [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | No [models.dev] |
gpt-image-2 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| 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.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Grok Imagine Image 2.0 | xAI | 7 Aug 2026 | 64K | – | – | Closed |
| Muse Image 1.0 | Meta | 7 Jul 2026 | – | – | – | Closed |
| Grok Imagine Image Quality | xAI | 3 Apr 2026 | 16K | – | – | Closed |
| FLUX.2 Klein 4B | Black Forest Labs | 15 Jan 2026 | 41K | – | – | Open |
| FLUX.1-Kontext-dev | Black Forest Labs | 29 May 2025 | – | – | – | Open |
| GLM-Image | Zhipu AI (Z.ai) | 14 Jan 2026 | 10K | – | – | 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