OpenAI API exposes GPT Image 2.5 Sunburst through model ID gpt-image-2.5-sunburst. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-10-18. Next refresh: weekly.
Quick Start
- 1
- 2Use the OpenAI API SDK or REST API to call
gpt-image-2.5-sunburst— see the documentation for request format. - 3
Code Examples
pip install openaiOPENAI_API_KEYgpt-image-2.5-sunburstUse the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-image-2.5-sunburst",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on OpenAI API
| Type | Price (per 1M) |
|---|---|
| Input tokens | $5.00 |
| Output tokens | $30.00 |
| Image input | $8.00 |
OpenAI API image-generation token pricing for gpt-image-2.5-sunburst, per 1M tokens USD: text input $5.00; cached text input $1.25; image input $8.00; cached image input $2.00; image output $30.00; batch image input $4.00; batch image output $15.00. Dated snapshot gpt-image-2.5-sunburst-2026-09-08 pins the same SKU. Cached input applies only to images generated with the Responses API.
Capabilities
About GPT Image 2.5 Sunburst
GPT Image 2.5 Sunburst is OpenAI's precision-oriented GPT Image 2.5 model for image generation and editing, released September 8, 2026. It accepts text and image inputs and produces image outputs, optimized for workflows where editing precision matters most, with low through max quality settings. Available via the Image API (model ids gpt-image-2.5-sunburst and dated snapshot gpt-image-2.5-sunburst-2026-09-08) and as the Responses API image generation tool model. OpenAI API multimodal token pricing: text input $5.00 / cached $1.25, image input $8.00 / cached $2.00, image output $30.00 per 1M tokens.