---
title: OpenAI: GPT 5 Image Mini API | Text Generation | ModelsLab
description: Build with OpenAI: GPT 5 Image Mini API by Openai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/modelslab/openai-gpt-5-image-mini.md
canonical: https://modelslab.com/models/modelslab/openai-gpt-5-image-mini.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-24T13:02:13.109042Z
---

OpenAI: GPT-5 Image Mini
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-gpt-5-image-mini/llms.txt) [.md](https://modelslab.com/models/openai/openai-gpt-5-image-mini.md)

OpenAI: GPT-5 Image Mini
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: GPT-5 Image Mini

openai openai-gpt-5-image-mini

Copy model ID

PricingInput $2.50 / 1M tokens

Output $2.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### open\_router/DeepSeek: DeepSeek V3.1 Terminus

deepseek-deepseek-v3.1-terminus

From $0.61/M tokens](https://modelslab.com/models/open_router/deepseek-deepseek-v3.1-terminus)

[#### open\_router/Qwen: Qwen3.6 35B A3B

qwen-qwen3.6-35b-a3b

From $0.57/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.6-35b-a3b)

[#### open\_router/Qwen: Qwen3 VL 235B A22B Instruct

qwen-qwen3-vl-235b-a22b-instruct

From $0.54/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-vl-235b-a22b-instruct)

[#### open\_router/Qwen: Qwen3.7 Plus

qwen-qwen3.7-plus

From $0.80/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.7-plus)

[#### open\_router/Qwen: Qwen3.5-Flash

qwen-qwen3.5-flash-02-23

From $0.16/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.5-flash-02-23)

[#### open\_router/MoonshotAI: Kimi K2.7 Code

moonshotai-kimi-k2.7-code

From $2.12/M tokens](https://modelslab.com/models/open_router/moonshotai-kimi-k2.7-code)

[#### google/Gemini 3 Pro Preview

gemini-3-pro-preview

From $7.00/M tokens](https://modelslab.com/models/google/gemini-3-pro-preview)

[#### open\_router/Qwen: Qwen2.5 VL 72B Instruct

qwen-qwen2.5-vl-72b-instruct

From $0.90/M tokens](https://modelslab.com/models/open_router/qwen-qwen2.5-vl-72b-instruct)

[#### open\_router/xAI: Grok 4.3

x-ai-grok-4.3

From $1.88/M tokens](https://modelslab.com/models/open_router/x-ai-grok-4.3)

[#### open\_router/Qwen: Qwen3 32B

qwen-qwen3-32b

From $0.18/M tokens](https://modelslab.com/models/open_router/qwen-qwen3-32b)

[#### open\_router/MoonshotAI: Kimi K2 Thinking

moonshotai-kimi-k2-thinking

From $1.55/M tokens](https://modelslab.com/models/open_router/moonshotai-kimi-k2-thinking)

[#### open\_router/Sakana: Fugu Ultra

sakana-fugu-ultra

From $17.50/M tokens](https://modelslab.com/models/open_router/sakana-fugu-ultra)

[#### open\_router/Anthropic: Claude Haiku 4.5

anthropic-claude-haiku-4.5

From $3.00/M tokens](https://modelslab.com/models/open_router/anthropic-claude-haiku-4.5)

[#### open\_router/Meta Llama 3 8B Instruct Reference

meta-llama-Llama-3-8b-chat-hf

From $0.04/M tokens](https://modelslab.com/models/open_router/meta-llama-Llama-3-8b-chat-hf)

[#### open\_router/Arcee AI: Trinity Mini

arcee-ai-trinity-mini

From $0.10/M tokens](https://modelslab.com/models/open_router/arcee-ai-trinity-mini)

[#### open\_router/Meta: Llama 3.3 70B Instruct

meta-llama-llama-3.3-70b-instruct

From $0.21/M tokens](https://modelslab.com/models/open_router/meta-llama-llama-3.3-70b-instruct)

[#### openai/GPT 5.1

gpt5.1

From $5.63/M tokens](https://modelslab.com/models/openai/gpt5.1)

[#### open\_router/ByteDance Seed: Seed-2.0-Lite

bytedance-seed-seed-2.0-lite

From $1.13/M tokens](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About OpenAI: GPT-5 Image Mini
---

GPT-5 Image Mini combines OpenAI's advanced language capabilities, powered by \[GPT-5 Mini\](https://openrouter.ai/openai/gpt-5-mini), with GPT Image 1 Mini for efficient image generation. This natively multimodal model features superior instruction following, text...

### Technical Specifications

Model IDopenai-gpt-5-image-mini

CategoryLLM Models

TaskText Generation

Price$2.25 per million tokens

AddedMay 24, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: GPT-5 Image Mini into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-gpt-5-image-mini",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

OpenAI: GPT-5 Image Mini API costs $2.250000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: GPT-5 Image Mini FAQ
---

### What is OpenAI: GPT-5 Image Mini?

GPT-5 Image Mini combines OpenAI's advanced language capabilities, powered by \[GPT-5 Mini\](https://openrouter.ai/openai/gpt-5-mini), with GPT Image 1 Mini for efficient image generation. This natively multimodal model features superior instruction following, text...

### How do I use the OpenAI: GPT-5 Image Mini API?

You can integrate OpenAI: GPT-5 Image Mini into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-gpt-5-image-mini" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: GPT-5 Image Mini cost?

OpenAI: GPT-5 Image Mini costs $2.250000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: GPT-5 Image Mini model ID?

The model ID for OpenAI: GPT-5 Image Mini is "openai-gpt-5-image-mini". Use this ID in your API requests to specify this model.

### Does OpenAI: GPT-5 Image Mini have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: GPT-5 Image Mini and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-24*