OpenAI: GPT Image 1 Mini

GPT Image 1 Mini is OpenAI's cost-efficient image generation model, released 2026-06, designed for high-quality visuals with reduced latency and lower cost than the full GPT Image 1.

Modalities
inTextinImageoutImage
Price / 1M
$22.50 / $45.00
Context
400K
Released
Jun 24, 2026

Channels

Every channel serves the same model, but they differ in price and stability. On each API key in the Platform, you pick a primary and a backup channel per vendor, and each billing line shows which channel served the request.

Provider
Discount
Input /M
Output /M
Cache read /M
Cache write 5m /M
Cache write 1h /M
Codexcheap
+1250%
$22.50
$45.00
—
—
—
Defaultstable
+3050%
$52.50
$105.00
—
—
—

Capabilities

VisionLong contextPrompt cachingStructured output

Parameters

Request parameters this model accepts through the API.

max_tokensresponse_formatseedstructured_outputs

Quick start

POST /v1/images/generations/
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

img = client.images.generate(
    model="gpt-image-1-mini",
    prompt="A red bicycle leaning on a white wall",
    n=1,
    size="1024x1024",
)
# img.data[0].b64_json — or .url, depending on the model
Wire GPT Image 1 Mini into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free