Skip to content

Add Seedream 5.5 to the model registry - #197

Open
adambalogh wants to merge 1 commit into
mainfrom
og/compassionate-thompson-73ry6s
Open

adambalogh wants to merge 1 commit into
mainfrom
og/compassionate-thompson-73ry6s

Conversation

@adambalogh

@adambalogh adambalogh commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

What

Registers Seedream 5.5 (ByteDance, released 2026-11-09) on the existing ByteDance / ModelArk provider.

  • api_name: dola-seedream-5-5-261028 (ModelArk model id)
  • Aliases: seedream-5.5, seedream-5-5, dola-seedream-5-5-261028
  • Resolution tiers, like Seedream 5.0 pro (seedance-5.0): 1.5K (default, $0.020) and 2K ($0.035), using the existing 1.5K / 2K size tables
  • per_reference_image_price_usd = 0.008: ModelArk bills input images on this model (the earlier Seedreams have free inputs)
  • Request params: Seedream 5.0 pro's set (watermark: false, stream: false, no sequential_image_generation)

Supersedes Seedream 5.0 pro (seedance-5.0) on price at both tiers. The chat-api PR hides that model's picker row. Its registry entry stays so persisted selections keep routing.

Pricing source

BytePlus ModelArk pricing page, dola-seedream-5-5-261028:

  • $0.020 per output image for 921,600 ≤ P ≤ 2,601,123 px
  • $0.035 for 2,601,123 < P ≤ 4,624,220 px
  • $0.008 per input image

Every size in _BYTEDANCE_1_5K_ASPECT_SIZES is under 2.6 MP, and every size in _BYTEDANCE_2K_ASPECT_SIZES is under 4.62 MP, so each tier's sizes stay inside its price band.

Parameters

ModelArk's API docs don't list this model's accepted parameters yet. Only the pricing page and a marketing page are up. I used Seedream 5.0 pro's param set, which omits sequential_image_generation (5.0 pro returns 400 when it's present). Omitting it costs nothing, because the gateway always requests one image.

Before merging, please check

  1. Deployment endpoint vs. model id. The other Seedream models we offer (5.0 Lite, 4.5, 5.0 pro) call ModelArk ep-… deployment endpoints, and those are the ones the catalog marks uncensored. Seedream 4.0, which calls a bare model id, is not marked uncensored. This PR calls the bare model id because I can't create a deployment from here. The model must be activated on the ModelArk account. If the uncensored behaviour depends on the deployment's settings, create an ep-… endpoint for Seedream 5.5 the same way as 5.0 pro, then swap api_name and add the ep-… id to _MODEL_LOOKUP.
  2. Live smoke test. Before the catalog PR merges, one real 1.5K request and one 2K request with a reference image.

Related

Tests

  • make lint: clean
  • pytest tests/test_pricing.py tee_gateway/test/test_image_generation.py: 274 passed. New tests cover resolve/aliases, the tier prices, and tier + reference billing.
  • uv.lock is unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SQvDLzitrTw5UVHKta3QKa

ByteDance released Seedream 5.5 on 2026-11-09. Registered on the existing
ByteDance (ModelArk) provider under its model id dola-seedream-5-5-261028,
with aliases seedream-5.5 / seedream-5-5.

Priced from the BytePlus ModelArk pricing page: $0.020 per image up to
2.6 MP (1.5K tier, default), $0.035 up to 4.62 MP (2K tier), plus $0.008
per input image. Takes Seedream 5.0 pro's param set (no
sequential_image_generation), since ModelArk does not yet document the
model's accepted parameters.

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

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.

🔵 Needs a closer look

ModelArk activation and routing behavior and Seedream 5.5 parameter support remain unverified, requiring a maintainer with account access to confirm behavior and run live 1.5K/2K reference-image smoke tests before catalog rollout.

No open issues 🎉

What changed in this PR

Adds Seedream 5.5 to the gateway’s existing ByteDance/ModelArk image-generation path, preparing routing and billing for the companion catalog update while preserving older models.

Changes:

  • Registers the model ID and aliases with reference-image support and existing request parameters.
  • Configures 1.5K/default ($0.020) and 2K ($0.035) output pricing, plus $0.008 per reference image.
  • Adds resolution, alias, and billing tests and updates supported-model documentation.
File Description
tests/​test_pricing.py Tests model resolution, aliases, pricing, and configuration.
tee_gateway/​test/​test_image_generation.py Tests tier-specific output and reference-image billing.
tee_gateway/​model_registry.py Registers Seedream 5.5, aliases, request settings, and pricing tiers.
README.md Adds Seedream 5.5 to the supported image-model list.
CLAUDE.md Documents model support and tier/reference pricing.

Review effort: Balanced

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