# gpt-image-2

> 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.

Source page: https://www.aimodel.directory/models/gpt-image-2
Last verified: 4 Oct 2026

## Specifications

- **Developer:** OpenAI
- **Release date:** 21 Apr 2026 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Weights:** Proprietary (API only) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Context window:** 128K (128,000 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Max output:** 16K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Input:** Text and images (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Output:** Images (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Reasoning mode:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)
- **Tool calling:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/openai/models/gpt-image-2.toml)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenAI API | $5 | $30 | $1.25 | – |
| Azure AI Foundry | $5 | $30 | $1.25 | – |
| Vercel AI Gateway | $5 | $30 | $1.25 | – |

## FAQ

### 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.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "gpt-image-2", https://www.aimodel.directory/models/gpt-image-2