Using GPT Image 2.5 Sunburst on OpenAI API

Implementation guide · GPT Image · OpenAI

Serverless

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. 1
    Create an account at OpenAI API and generate an API key.
  2. 2
    Use the OpenAI API SDK or REST API to call gpt-image-2.5-sunburst — see the documentation for request format.
  3. 3
    You'll be billed $5.00/1M input, $30.00/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
OPENAI_API_KEY
Model ID
gpt-image-2.5-sunburst

Use 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

TypePrice (per 1M)
Input tokens$5.00
Output tokens$30.00
Image input$8.00
Pricing notes

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

VisionMultimodalReasoningPrompt Caching

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.

Model Specs

Released2026-09-08
ArchitectureAutoregressive Image

Provider

OpenAI API

OpenAI

San Francisco, California, United States