# OpenAI: GPT-5 Image Mini — Use via Hanzo AI API

> GPT-5 Image Mini combines OpenAI&#x27;s advanced language capabilities, powered by GPT-5 Mini, with GPT Image 1 Mini for efficient image generati... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 400K. Get started free.

[Models](https://hanzo.ai/models)/[OpenAI](https://hanzo.ai/models/openai)/gpt-5-image-mini

# OpenAI: GPT-5 Image Mini

[OpenAI](https://hanzo.ai/models/openai)

GPT-5 Image Mini combines OpenAI&#x27;s advanced language capabilities, powered by GPT-5 Mini, with GPT Image 1 Mini for efficient image generation. This natively multimodal model features superior instruction following, text...

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

400K

Modalities

text

Input

$3.00 / M tokens

Output

$2.40 / M tokens

Status

available

Category

third-party

Model ID

openai/gpt-5-image-mini

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;openai/gpt-5-image-mini&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="openai/gpt-5-image-mini", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "openai/gpt-5-image-mini", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "openai/gpt-5-image-mini", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from OpenAI

[OpenAI: GPT-3.5 Turbo16KGPT-3.5 Turbo is OpenAI&#x27;s fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo)[OpenAI: GPT-3.5 Turbo (older v0613)4KGPT-3.5 Turbo is OpenAI&#x27;s fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo-0613)[OpenAI: GPT-3.5 Turbo 16k16KThis model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up...](https://hanzo.ai/models/openai/gpt-3.5-turbo-16k)[OpenAI: GPT-3.5 Turbo Instruct4KThis model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo-instruct)[OpenAI: GPT-3.5 Turbo (batch)16KGPT-3.5 Turbo is OpenAI&#x27;s fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo:batch)[OpenAI: GPT-48KOpenAI&#x27;s flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...](https://hanzo.ai/models/openai/gpt-4)

[View all OpenAI models →](https://hanzo.ai/models/openai)

## Use OpenAI: GPT-5 Image Mini via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
