Skip to content

Add GPT-Image-2.6 Flare and Sunburst to the model registry - #193

Merged
adambalogh merged 2 commits into
mainfrom
og/compassionate-thompson-vda651
Nov 10, 2026
Merged

adambalogh merged 2 commits into
mainfrom
og/compassionate-thompson-vda651

Conversation

@adambalogh

@adambalogh adambalogh commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Registers OpenAI's gpt-image-2.6-flare and gpt-image-2.6-sunburst (released 2026-11-04), plus a bare gpt-image-2.6 alias → Flare. Same request shaping as 2.5 (/images/generations + /images/edits, b64 output, medium quality).

Pricing: OpenAI's model pages list the same token rates as 2.5 (text $5/$1.25 cached, image in $8/$2 cached, image out $30 per MTok), so the same flat $0.05/image approximation is used. Sources: https://developers.openai.com/api/docs/models/gpt-image-2.6-flare and .../gpt-image-2.6-sunburst.

Parameters: model pages list no unsupported request parameters; image-only endpoints, so no temperature concerns.

2.5 entries stay registered for older clients; the catalog PR hides them.

Companion chat-api PR: https://github.com/OpenGradient/chat-api/pull/486 — land this one first.

Tests: tests/test_pricing.py 177 passed; make lint clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SQvDLywpxRn4h2vDNGowPu

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SQvDLywpxRn4h2vDNGowPu
@adambalogh
adambalogh marked this pull request as ready for review November 10, 2026 13:26
Copilot AI balanced review requested due to automatic review settings November 10, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the model-registry update.

No open issues 🎉

What changed in this PR

Adds GPT-Image-2.6 Flare and Sunburst to the gateway registry, preparing routing support for the companion chat-api catalog update while keeping 2.5 models available to existing clients.

Changes:

  • Registers both models and maps the bare gpt-image-2.6 alias to Flare.
  • Uses the existing OpenAI image-generation/edit request settings and $0.05-per-image pricing approximation.
  • Adds model-resolution and pricing assertions and updates supported-model documentation.
File Description
tests/​test_pricing.py Adds resolution, provider, pricing, and alias assertions for the new models.
tee_gateway/​model_registry.py Registers both models with image request settings, pricing, and lookup aliases.
README.md Adds both models to the image-generation list.
CLAUDE.md Updates the OpenAI image-generation documentation.

Review effort: Balanced

@adambalogh
adambalogh merged commit 80c1b26 into main Nov 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.

3 participants