Back to the models list Active on this gateway

Openai: gpt-5-image-mini

gpt-5-image-mini Start building free

gpt-5-image-mini (gpt-5-image-mini) is an OpenAI model in the GPT-5 family, focused on fast, low-cost image generation and editing rather than maximum visual fidelity. As the “mini” tier, it is optimized for latency and efficiency, making it suitable for high-volume or interactive applications like prototyping UI assets, simple illustrations, concept art, and lightweight creative tools. It is generally intended as a practical, cost-effective workhorse model where quick turnaround and scalability matter more than photorealistic detail, and fits into OpenAI’s broader lineup as the smaller, more economical companion to larger, higher-quality image models. Typical uses include generating thumbnails, social graphics, mockups, and visual aids within products that also rely on GPT-5 text models.

Modalities
Context 4K tokens
Quota cost Standard (1×)
Added September 23, 2026

Pricing

Current price per 1,000,000 tokens. Every request is billed automatically from its exact usage.

Input $3,00 / 1M tokens ≈ $0,00300 / 1K tokens
Output $2,40 / 1M tokens ≈ $0,00240 / 1K tokens

Included in plans

Titanium Gold Silver

Statistics

Live performance and usage of this model, aggregated across all users.

No usage recorded yet

Detailed statistics appear here as soon as this model starts receiving requests.

API

Call this model from any OpenAI-compatible client using your API token.

curl
curl https://apiex.cloud/api/v1/chat/completions \
  -H "Authorization: Bearer $NEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5-image-mini",
  "messages": [
    {
      "role": "user",
      "content": "Explain quantum entanglement in one paragraph."
    }
  ],
  "temperature": 0.7
}'
Authentication

Every request must include an Authorization: Bearer <TOKEN> header. Generate a token from your account's API Keys page — its access to models is set automatically from your active plans and redeemed codes, and you can set its rate limit and IP restrictions.

Supported parameters
Parameter Type Description
modelstring, requiredThis model's ID, exactly as shown above.
messagesarray, requiredConversation history as role/content objects (system, user, assistant).
temperaturenumber, optionalSampling randomness, typically 0–2.
max_tokensinteger, optionalUpper limit on tokens generated in the reply.
top_pnumber, optionalNucleus-sampling threshold, as an alternative to temperature.
streamboolean, ignoredResponses are always returned in full so the exact cost can be billed; streaming is not available.

Replace YOUR_API_KEY with a token from your account, then see the full API reference for every parameter.

Frequently asked questions

What is gpt-5-image-mini?

gpt-5-image-mini (gpt-5-image-mini) is an OpenAI model in the GPT-5 family, focused on fast, low-cost image generation and editing rather than maximum visual fidelity. As the “mini” tier, it is optimized for latency and efficiency, making it suitable for high-volume or interactive applications like prototyping UI assets, simple illustrations, concept art, and lightweight creative tools. It is generally intended as a practical, cost-effective workhorse model where quick turnaround and scalability matter more than photorealistic detail, and fits into OpenAI’s broader lineup as the smaller, more economical companion to larger, higher-quality image models. Typical uses include generating thumbnails, social graphics, mockups, and visual aids within products that also rely on GPT-5 text models.

How much does gpt-5-image-mini cost?

Input tokens are priced at $3,00 per 1,000,000 tokens and output tokens at $2,40 per 1,000,000 tokens. Pricing is billed automatically per request; no separate plan is required.

What is the context length of gpt-5-image-mini?

gpt-5-image-mini supports a context window of up to 400,000 tokens.

Does gpt-5-image-mini support image input?

Yes, gpt-5-image-mini accepts image input in addition to text.

Which provider is gpt-5-image-mini from?

gpt-5-image-mini is developed by Openai and made available on this gateway through our routing infrastructure.

When was gpt-5-image-mini added to this gateway?

gpt-5-image-mini has been available on this gateway since September 23, 2026.

Is gpt-5-image-mini currently available?

Yes, gpt-5-image-mini is active and can be used right now through this gateway.

Explore more models