gpt-image-2

by OpenAI

GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds include better performance, quality, editing controls, and face preservation. (Currently the model's image generation time may be >5 minutes; it is recommended to set the client timeout to ≥10 minutes.) The model supports high input_fidelity and adding/removing one aspect of the image while retaining others. This model includes improvements in aspect ratio, resolution, and editing capabilities.

API Pricing

Input$5 / 1M tokens
Output$30 / 1M tokens

Specifications

Modalitiestext, image

FAQ

What is gpt-image-2?

GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds include better performance, quality, editing controls, and face preservation. (Currently the model's image generation time may be >5 minutes; it is recommended to set the client timeout to ≥10 minutes.) The model supports high input_fidelity and adding/removing one aspect of the image while retaining others. This model includes improvements in aspect ratio, resolution, and editing capabilities.

How much does gpt-image-2 cost?

On AIHubMix, gpt-image-2 costs $5 per million input tokens and $30 per million output tokens.

What modalities does gpt-image-2 support?

gpt-image-2 accepts text and image input.

How do I call gpt-image-2 via API?

gpt-image-2 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gpt-image-2 — no other code changes needed.

Who develops gpt-image-2?

gpt-image-2 is developed by OpenAI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

Free version: gpt-image-2-free

More from OpenAI

gpt-5.6-luna

by OpenAI

GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly…

$0.2/1M in · $1.2/1M out
1,050,000 tokens context

gpt-5.6-sol

by OpenAI

GPT‑5.6 Sol sets a new standard for both intelligence and efficiency, achieving…

$5/1M in · $30/1M out
1,050,000 tokens context

gpt-5.6-terra

by OpenAI

GPT-5.6 Terra is designed for workloads that balance intelligence and cost. It roughly…

$2/1M in · $12/1M out
1,050,000 tokens context

gpt-4o-transcribe-diarize

by OpenAI

GPT-4o Transcribe Diarize is an automatic speech recognition (ASR) model with built-in…

$2.5/1M in · $10/1M out
16,000 tokens context

gpt-audio-1.5

by OpenAI

The gpt-audio model is OpenAI's first officially released (generally available) audio…

$2.5/1M in · $10/1M out
128,000 tokens context

gpt-5.5

by OpenAI

GPT-5.5 raises the baseline for complex production workflows. It’s a strong fit for…

$5/1M in · $30/1M out
1,050,000 tokens context

Use gpt-image-2 via the AIHubMix unified API — one interface for every major LLM.