LLM Reference
OpenAI API

GPT Image 1 Mini on OpenAI API

GPT Image · OpenAI

Serverless

Last refreshed 2026-05-10. Next refresh: weekly.

Why use GPT Image 1 Mini on OpenAI API?

OpenAI API offers GPT Image 1 Mini with competitive pricing. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.

Compare GPT Image 1 Mini across 2 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
gpt-image-1-mini

Request example

import os
from openai import OpenAI

client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
    model="gpt-image-1-mini",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
  • The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.

Compare GPT Image 1 Mini Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenAI API——
Vercel AI Gateway$2.00$8.00

Pricing

TypeRate
1024x1024 imageLow $0.005 / Medium $0.011 / High $0.036
Portrait / landscape imageLow $0.006 / Medium $0.015 / High $0.052

Capabilities

VisionMultimodal

About GPT Image 1 Mini

GPT Image 1 Mini is OpenAI's cost-efficient image generation model, released at OpenAI DevDay 2025 on October 6, 2025. Approximately 80% cheaper than GPT Image 1 with per-image pricing at $0.005/$0.011/$0.036 (low/medium/high, 1024×1024). Targets high-volume, cost-sensitive API workflows. Supports the same quality tiers as the main GPT Image line.

Get Started