Last refreshed 2026-09-09. Next refresh: weekly.
Why use GPT Image 2.5 Sunburst on OpenAI API?
OpenAI API offers GPT Image 2.5 Sunburst with competitive pricing. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.
Setup recipe
Python + curlpip install openaiexport OPENAI_API_KEY=...import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(gpt-image-2.5-sunburstRequest example
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)Gotchas
- Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
- The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.
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.