We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
OpenAI: GPT-5 Image Mini
openai/gpt-5-image-miniTry OpenAI: GPT-5 Image Mini now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
OpenAI: GPT-5 Image Mini at a glance
- Input price is 50% lower than the median of 21 Image models.
- Context window of 400,000 tokens, enough for long documents and multi-turn conversations.
- Supports structured JSON output with a schema.
- Supports reasoning effort control.
About OpenAI: GPT-5 Image Mini
GPT-5 Image Mini is an OpenAI model that blends the company's language capabilities with image generation. OpenAI describes it as combining the language abilities of GPT-5 Mini with GPT Image 1 Mini, which is where the "mini" in the name comes from: it is the smaller, more efficient member of the GPT-5 Image family rather than the largest. It sits in the image category but is also classified as a text model, so it is best understood as a natively multimodal system that handles both directions of work in one place.
On the input side the model accepts text, images and files, and on the output side it returns both image and text. That means the same request can carry a written prompt and reference images, and the reply can contain generated imagery plus written content. The context window is 400,000 tokens, which is large enough to hold long prompts, extended conversations and multiple references at once. Maximum output is 128,000 tokens. Image generation is configurable: aspect ratio supports 1:1, 3:2, 2:3 and auto; quality supports auto, low, medium and high; background supports auto, transparent and opaque; you can request between 1 and 10 images per call; up to 16 input references; and output compression is adjustable from 0 to 100.
Those capabilities point to a fairly wide set of practical uses. Because the model takes reference images alongside text, it suits tasks where a written instruction must be applied to existing visual material, such as producing variations of a supplied image or generating assets that follow a described style. Transparent background support is useful when output needs to be composited into a design or interface rather than used as a standalone picture, and the aspect ratio options cover square, landscape and portrait formats. On the text side, the large context and long maximum output make it viable for longer documents or reasoning-heavy requests that also produce visuals. The quality setting lets you trade generation effort against speed depending on the task.
You call the model through api14's OpenAI-compatible API using the model id "openai/gpt-5-image-mini". The supported parameters are include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, top_logprobs, top_p and verbosity. The image controls (aspect ratio, quality, background, image count, input references and output compression) are passed as part of the request alongside those parameters. Because structured_outputs and response_format are available, you can constrain text responses to a schema, and seed allows reproducible sampling when you need consistent results across runs.
The main thing to weigh is that this is the mini variant: if a task demands the strongest possible image generation or the most capable language reasoning, the larger GPT-5 Image model is the more natural fit. GPT-5 Image Mini is aimed at efficiency, so it makes sense when throughput, cost control or latency matter more than maximum quality. It is a reasonable default for high-volume generation, reference-driven editing and mixed text-and-image responses, and it is worth testing against your own prompts before committing to it for anything where output quality is critical.
How to call the OpenAI: GPT-5 Image Mini API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "openai/gpt-5-image-mini".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "openai/gpt-5-image-mini",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
Supported parameters
include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetop_logprobstop_pverbositySpecifications
- Context length
- 400,000
- Max output
- 128,000
- Input
- file, image, text
- Output
- image, text
Requests on api14 · last 7 days
OpenAI: GPT-5 Image Mini: frequently asked questions
- How much does the OpenAI: GPT-5 Image Mini API cost?
- OpenAI: GPT-5 Image Mini costs Input $8.75 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of OpenAI: GPT-5 Image Mini?
- OpenAI: GPT-5 Image Mini reads up to 400,000 tokens per request: prompt, history and documents together. It writes up to 128,000 output tokens per response.
- What can OpenAI: GPT-5 Image Mini do?
- OpenAI: GPT-5 Image Mini accepts file, image, text and returns image, text. It supports structured JSON output, reasoning effort control.
- How do I call OpenAI: GPT-5 Image Mini from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "openai/gpt-5-image-mini". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to OpenAI: GPT-5 Image Mini?
- Comparable Image models at a similar price: Meta: Muse Image, OpenAI: GPT Image 1 Mini, Google: Nano Banana 2 (Gemini 3.1 Flash Image). Each runs through the same API key, so switching is one string.
OpenAI: GPT-5 Image Mini community
New topicThis community has no topics yet. Open the first one about OpenAI: GPT-5 Image Mini.