OpenAI: GPT-5 Image
Image model for prompt-driven generation, editing, and visual design workflows
- Model lab
- OpenAI
- Model family
- gpt
Quickstart
Use your Moduck API Key, set the API base URL to https://api.moduck.ai/v1, and set the model parameter to moduck/openai/gpt-5-image.
import os
import requests
base_url = "https://api.moduck.ai/v1"
api_key = os.environ["MODUCK_API_KEY"]
model_id = "moduck/openai/gpt-5-image"
response = requests.post(
f"{base_url}/chat/completions",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": model_id,
"messages": [{"role": "user", "content": "Hello!"}],
"stream": False,
},
timeout=60,
)
response.raise_for_status()
print(response.json())Use the familiar OpenAI-style chat request format to make model integration easier.
GPT-5 Image API Pricing
| Type | Price information |
|---|---|
| Input | USD 8 / 1M tokens |
| Output | USD 8 / 1M tokens |
| Cached input | USD 1 / 1M tokens |
Performance
Performance trends
Availability
GPT-5 Image Compare models
| Model | Input price | Output price | Context window | Capabilities |
|---|---|---|---|---|
| GPT-5 ImageThis page | USD 8 / 1M tokens | USD 8 / 1M tokens | 400,000 | Image output · Reasoning |
| GPT-5.4 Image 2 | USD 6.4 / 1M tokens | USD 12 / 1M tokens | 272,000 | Image output · Reasoning |
| GPT-5 Image Mini | USD 2 / 1M tokens | USD 1.6 / 1M tokens | 400,000 | Image output · Reasoning |
| Nano Banana 2 Preview | USD 0.4 / 1M tokens | USD 2.4 / 1M tokens | 65,536 | Image output · Reasoning |
| GPT-Image-1.5 | USD 4 / 1M tokens | USD 25.6 / 1M tokens | — | Image output |
Model specifications
- Input
- image, text, pdf
- Output
- image, text
- Context window
- 400,000
- Maximum output
- 128,000
- Release date
- 2025-10-14
- Attachments
- Yes
- Reasoning
- Yes
- Tool calling
- No
- Structured output
- Yes
- Temperature setting
- Yes
- Open weights
- No
Frequently asked questions
What is GPT-5 Image for?
Image model for prompt-driven generation, editing, and visual design workflows
What inputs and outputs does GPT-5 Image support?
Recorded inputs: images, text, PDF; outputs: images, text.
How is GPT-5 Image priced?
The pricing table shows the current recorded Moduck price. For example: Input USD 8 / 1M tokens; Output USD 8 / 1M tokens. See the pricing table for all units, variants, and conditions.
What specifications are recorded for GPT-5 Image?
Current model records list Context window 400,000 tokens; Maximum output 128,000 tokens.
What model parameter does the Quickstart use?
The example uses moduck/openai/gpt-5-image. This is a cataloged Moduck public or reserved ID; check your account’s available models before calling it.
Can I call this model through the Moduck API now?
This page has no verified Moduck API call for this model. A Quickstart example or reserved ID does not establish access; check the models available to your account.