GPT-5 Image Mini

OpenAIReasoning
openai/gpt-5-image-miniClosed API

Image model for prompt-driven generation, editing, and visual design workflows

Benchmark Pricing$2.50 / 1M in$2.00 / 1M out$0.25 cache read
Context: 400,000 tokens•Max Output: 128,000 tokens•Released: 2025-10-16

TECHNICAL SPECIFICATIONS

Context Window400,000400K tokens
Max Output128,000128K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVisionPDF
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ GPT-5 Image Mini does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 400,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling GPT-5 Image Mini via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openai/gpt-5-image-mini",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

2 providers
Kilo Gatewayopenai/gpt-5-image-mini
$2.50 / $2.00$0.25 cache
OpenRouteropenai/gpt-5-image-mini
$2.50 / $2.00$0.25 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.25 / 1M tokens, saving up to 90% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES