GPT Image 2 until 2027-02-10

openai/gpt-image-2

Sign up to try it

Overview

Images

An OpenAI image model for fast, high-quality image generation, with flexible image sizes.

Made by OpenAI · released Apr 2026

Input

Text

Output

Images
Context
32.000
Input, maximum
32.000
  • Reasoning Not supported
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

OpenAI

primary until 2027-02-10 (announced by the vendor)

Per image, by option

low
Rp108,78
high
Rp3.898

What one image costs at each size and quality. Your prompt is charged separately.

Token rates

Input
Rp92.500per million tokens$5
Image output
Rp555.000per million tokens$30
Cache read
Rp23.130per million tokens$1.25

Per-part units

Max tokens per input image
1.600 measured live 2026-09-24 (UTC), 2026-09-24
Max tokens per output image
24.000 measured live 2026-09-15, 2026-09-15
Max images per request
10

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

OpenAI OpenAI, Your data

Used to train models
No
Retention
Up to 30 days for abuse monitoring, unless the law requires longer.
Processing location
Not stated; storing data in a chosen region is a separate opt-in.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/images/generations \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "openai/gpt-image-2", "prompt": "kucing di atas becak"}'