GPT Image 1 is OpenAI's dedicated image generation and editing model, released 2026-06. It renders text accurately, supports transparent backgrounds, and can incorporate up to 16 reference images when editing.
Modalities
inTextinImageoutImage
Price / 1M−32%
$1.50 / $12.00$10.00 / $10.00
Context
400K
Knowledge cutoff
—
Capabilities
VisionLong contextPrompt cachingStructured output
Channels
Same weights on every channel. Requests route to the cheapest healthy one; the channel used is printed on each billing line.
Provider
Discount
Input /M
Output /M
Cache Read /M
Cache Create 5m /M
Cache Create 1h /M
Codexcheap
−32%
$1.50
$12.00
$0.38
—
—
Defaultstable
+57%
$3.50
$28.00
$0.88
—
—
Quick Start
import os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) resp = client.chat.completions.create( model="openai/gpt-image-1", messages=[{"role": "user", "content": "Hello"}], )
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const res = await client.chat.completions.create({ model: "openai/gpt-image-1", messages: [{ role: "user", content: "Hello" }], });
curl https://api.mirapi.ai/v1/chat/completions \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-image-1", "messages": [{"role": "user", "content": "Hello"}] }'
Links
Wire GPT Image 1 into your product
Start free1M free tokens to start · no card · OpenAI-compatible, one base_url change