gpt-image-2ImageExamples verified 2026-09-25GPT Image 2
The previous GPT Image; cached input is $0.5 / 1M tokens, below 2.5's $1.25.
- Official price
- $5 / $30/ 1M tokensInput / output
- Size
- Longest side ≤ 3840Sides in multiples of 16 · aspect ratio ≤ 3:1
- Total pixels
- 0.66–8.29 MP
- Images per request
- 1–10
- Reference images
- Up to 16Remote URLs ≤ 25 MiB each
Notes
- size accepts only auto or WIDTHxHEIGHT; 1K / 2K / 4K returns 400.
- Long synchronous jobs return 200 first and keep the connection alive, so failures also come back as 200; check the error field.
- The model ID is gpt-image-2, not gpt-image-2.0.
- Transparent backgrounds are a preview capability on this model; the xhigh / max tiers aren't supported.
Pricing
Official price in USD. Actual charge = official price × group multiplier.
- Input
- $5 / 1M tokens
- Cached input
- $0.50 / 1M tokens
- Output (incl. images)
- $30 / 1M tokens
Specs and limits
Source: spec/openai.json · spec/official.json, the same data the gateway validates against.
- Size
- Longest side ≤ 3840Sides in multiples of 16 · aspect ratio ≤ 3:1
- Total pixels
- 0.66–8.29 MP
- Images per request
- 1–10
- Reference images
- Up to 16Remote URLs ≤ 25 MiB each
- Prompt
- ≤ 32,000 characters
Endpoints
- POST
/v1/images/generations - POST
/v1/images/edits - GET
/v1/images/tasks?task_id={task_id}