GPT Image 2
Officialopenai/gpt-image-2
OpenAI's latest image model. Generates and edits images with strong prompt adherence and text rendering. Token-based billing: text + image input tokens and image output tokens. Use for product imagery, design, and creative assets.
Pricing
Source: official_x0.3 · Verified 2026-06-08
Cache read $0.375/M · Cache write —/M
Estimate cost
Protocols
- OpenAI Chat CompletionsStatus: Not supported—
- OpenAI ResponsesStatus: Not supported—
- Anthropic MessagesStatus: Not supported—
- Google Vertex AIStatus: Not supported—
- OpenAI ImagesStatus: Availablehttps://api.routemux.com/v1
- OpenAI SoraStatus: Not supported—
Call IDs
Use either ID to call this model via the API.
openai/gpt-image-2Try it
Replace the ROUTEMUX_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.routemux.com/v1",
api_key="<ROUTEMUX_KEY>",
)
response = client.images.generate(
model="openai/gpt-image-2",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)Frequently asked questions
›What is GPT Image 2?
OpenAI GPT Image 2 — high-fidelity image generation & editing.
›How much does the GPT Image 2 API cost?
Through RouteMux, GPT Image 2 is priced at $9, below the official list price.
›How do I call GPT Image 2 via API?
GPT Image 2 is OpenAI-compatible: point your base URL at RouteMux and set the model field to openai/gpt-image-2 — no code changes needed.
›Which input and output modalities does GPT Image 2 support?
GPT Image 2 accepts text, image as input and produces image as output.