Skip to content

GPT Image 2

OpenAI API model for generating and editing images from text and image inputs

  • Paid
  • From Usage-based API
  • Image

Listed on AiTop3 Last updated developers.openai.com

What is GPT Image 2?

GPT Image 2 (model ID gpt-image-2) is an OpenAI image generation model offered through the OpenAI API. It takes text and image inputs and returns images, and OpenAI describes it as built for fast image generation and editing with flexible image sizes and high-fidelity image inputs. It works with the Image generation, Image edit and Batch endpoints and supports inpainting. The default snapshot is gpt-image-2-2026-04-21. Pricing is per token: $5 per 1M text input tokens, $8 per 1M image input tokens and $30 per 1M image output tokens, with Batch at half those rates. OpenAI now lists gpt-image-2 as deprecated, with a shutdown date of February 10, 2027, and recommends moving to gpt-image-2.6-sunburst or gpt-image-2.6-flare.

Key features

The four features that set GPT Image 2 apart from most listed image tools.

  • Image generation

    Creates images from text prompts via the Image generation endpoint.

  • Image editing and inpainting

    Edits existing images through the Image edit endpoint, including inpainting.

  • Image inputs

    Accepts images as input alongside text, with flexible output sizes.

  • Batch processing

    Supports the Batch API at half the standard token prices.

Pricing

Prices aren’t published in a form we can read — see the official pricing page ↗.

Standard API

  • $30/1M image output tokens
  • $8/1M image input tokens
  • $5/1M text input tokens

Batch API

  • $15/1M image output tokens
  • $4/1M image input tokens
  • $2.50/1M text input tokens

FAQ

Short answers to what people ask about GPT Image 2.

How much does GPT Image 2 cost?

Standard API pricing is $5 per 1M text input tokens, $8 per 1M image input tokens and $30 per 1M image output tokens. Batch pricing is half.

Is GPT Image 2 being retired?

Yes. OpenAI lists gpt-image-2 as deprecated with a shutdown date of February 10, 2027; the suggested replacements are gpt-image-2.6-sunburst or gpt-image-2.6-flare.

Which API endpoints support it?

Image generation (v1/images/generations), Image edit (v1/images/edits) and Batch (v1/batch).

Alternatives to GPT Image 2

Other listed image tools, ranked by editor rating. See all alternatives

Photoroom

#1 in AI background
Best for
Online sellers
Price
From S$7.50/mo
9.0 Compare

Pixlr

#1 in AI photo
Best for
Editing in the browser
Price
From $2.49/mo
8.8 Compare

VSCO

#3 in AI photo
Best for
Photographers
Price
From $12.99/mo
8.3 Compare