Skip to content

Add OpenAI GPT-Image-2.5 (Flare, Sunburst) to the model registry - #162

Merged
adambalogh merged 1 commit into
mainfrom
og/compassionate-thompson-ccdbaa
Sep 10, 2026
Merged

adambalogh merged 1 commit into
mainfrom
og/compassionate-thompson-ccdbaa

Conversation

@adambalogh

@adambalogh adambalogh commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

OpenAI shipped GPT-Image-2.5 on 2026-09-08 (two days before this run) as
two GA API models:

  • gpt-image-2.5-flare — "our fastest model for high-quality, everyday
    image generation": 50% lower latency than gpt-image-2, better
    reference-photo fidelity and precise edits. Positioned as the general-purpose
    successor to gpt-image-2. Registered with a bare gpt-image-2.5 alias
    since it's the default/general-purpose variant.
  • gpt-image-2.5-sunburst — "our most capable model for image generation
    and editing": precision editing for premium/production visual workflows.

Both route through the same /images/generations + /images/edits endpoints
as gpt-image-2 (not chat/Responses/Batch), and per OpenAI's own model pages,
"token rates align with GPT Image 2" ($5/$1.25(cached) per MTok text,
$8/$2(cached) per MTok image input, $30 per MTok image output — text output
unbilled) — so both reuse the same flat $0.05/image approximation
gpt-image-2 already uses.

Pricing / parameter citations

  • Pricing: OpenAI's own model reference pages —
    gpt-image-2.5-flare,
    gpt-image-2.5-sunburst.
  • Parameters: same page — only /v1/images/generations and /v1/images/edits
    are supported endpoints for both variants (confirmed explicitly for
    Sunburst: "Cannot be used via Chat Completions, Responses, or Batch
    endpoints"), matching gpt-image-2's existing request shaping
    (image_response_format=None, image_supports_reference=True,
    image_edit_endpoint="/images/edits"), so no new flags were needed.

Found during

Routine check for new releases from providers already integrated in the
gateway. Also checked the two other open PRs touching model_registry.py
from previous runs of this task — #160 ("Add Tencent Hy4 Preview") and #156
("Add Z.ai GLM-5.3 and GLM-5.3-Flash") — both are unrelated (different
provider sections, no line overlap) and still open drafts, so no changes were
bundled into them.

Also checked Claude Mythos 5.1 and Gemini 3.8 Flash Cyber, both released
around the same time — neither was added: both are vetted-access-only
cybersecurity/biology models (Anthropic's Project Glasswing, Google's
Fairwind Program) with no public self-serve API, so there's nothing a
standard provider API key here could route to.

Test plan

  • uv run pytest tests/test_pricing.py — 147 passed (added
    test_gpt_image_2_5_flare_resolves,
    test_gpt_image_2_5_bare_alias_resolves_to_flare,
    test_gpt_image_2_5_sunburst_resolves)
  • make lint (ruff format + check, mypy) — clean

Companion PR

opengradient/chat-api#299 — adds the corresponding catalog entries so clients
can select the model.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DoBWfeNKzcQ2ZscrGeUQsA

Registers both variants of OpenAI's GPT-Image-2.5 family, GA
2026-09-08: gpt-image-2.5-flare (fast, general-purpose, default alias)
and gpt-image-2.5-sunburst (highest-precision editing). Both route
through /images/generations and /images/edits exactly like gpt-image-2,
and per OpenAI's model pages "token rates align with GPT Image 2", so
they reuse the same flat $0.05/image approximation.

Companion PR: opengradient/chat-api adds the catalog entries.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DoBWfeNKzcQ2ZscrGeUQsA
@adambalogh
adambalogh marked this pull request as ready for review September 10, 2026 12:36
@adambalogh
adambalogh merged commit 64fa989 into main Sep 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants