OpenAI
OpenAI: GPT Image 2
openai/gpt-image-2
OpenAI's latest image generation model. Supports high-fidelity image generation and editing via the dedicated Images API.
Input
$8
/ 1M tokens · Token reference
Output
$8
/ 1M tokens · Token reference
Context window
400K
tokens
Image output · Token reference fields do not establish an output-unit price.
Limits
Context
400,000
tokens
Max output
360,000
90% of the context window
Model facts
Author
OpenAI
Tokenizer
GPT
Modality
Text + Image -> Image
Created
Jun 24, 2026
Publication status
Hugging Face: not mappedLicense: not publishedParameter count: not published
Modalities
Input · TextInput · ImageOutput · Image
Generation controls
Max tokensResponse formatSeedStructured outputs