GPT text model pricing has been updated. All GPT text models are now billed at 10% of OpenAI's official API prices, including the latest official price reductions for GPT-5.6 Terra and Luna.View latest pricing
OpenAI

GPT Image 2

Official

openai/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.

Image generationImage editing

Pricing

Source: official_x0.3 · Verified 2026-06-08

2K $0.0672 / image4K $0.12 / image
InputOfficial $5 / M tokens
$1.5/ M tokensSave 70%
OutputDisplay price
/ M tokens

Cache read $0.375/M · Cache write /M

Estimate cost

Estimated cost$0.015

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.

RouteMux nameopenai/gpt-image-2

Try 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)
base_url: https://api.routemux.com/v1

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.