# Seedream 5.0 Lite, 4.5 and GPT Image 2 API: Billing Guide

> Call Seedream 5.0 Lite, Seedream 4.5 and GPT Image 2 on POST /v1/images/generations, compare per-image vs token billing, and avoid retry waste.

_Published 2026-10-03 · Updated 2026-10-03 · [KeepRouter Editorial](https://keeprouter.com/editorial-policy#editorial-team) · 6 minute read_

![Input-driven video diagram: a still frame on the left, an arrow, then a filmstrip of three output frames with the middle one highlighted](https://keeprouter.com/editorial/blog/image-to-video-api-guide.png)

_Compare per-image and token-metered generation charges across identical prompt fixtures. Conceptual illustration._

Call ByteDance Seedream and OpenAI GPT Image models through KeepRouter on `POST /v1/images/generations` using one API key and USD prepaid balance, while reconciling two distinct billing units: fixed per-image pricing on [seedream-5-0-lite](/models/seedream-5-0-lite) and [seedream-4-5](/models/seedream-4-5), versus input-and-output token pricing on [gpt-image-2](/models/gpt-image-2) and [gpt-image-1.5](/models/gpt-image-1.5). Never assume two models on the same endpoint share the same cost formula.

Teams building marketing asset pipelines, product-mockup generators or localization workflows often combine both families: fast fixed-cost drafts during prompt iteration, followed by targeted runs on models chosen for typography or layout adherence.

## Same endpoint, two different billing units

OpenAI's [image generation guide](https://developers.openai.com/api/docs/guides/image-generation) explains how token-metered image models bill prompt and image output tokens, and the [OpenAI image prompting cookbook](https://developers.openai.com/cookbook/examples/multimodal/image-gen-models-prompting-guide) shows how size and quality settings change output token counts. On KeepRouter, both Seedream and GPT Image models share `POST /v1/images/generations`, yet their catalog pricing shapes differ fundamentally:

| Catalog model ID | Maker | Endpoint | Billing unit on KeepRouter | Best suited for |
| --- | --- | --- | --- | --- |
| [seedream-5-0-lite](/models/seedream-5-0-lite) | ByteDance | `POST /v1/images/generations` | Fixed USD per generated image | Predictable unit economics for batch visual generation |
| [seedream-4-5](/models/seedream-4-5) | ByteDance | `POST /v1/images/generations` | Fixed USD per generated image | Established Seedream 4.5 prompt workflows and A/B baselines |
| [gpt-image-2](/models/gpt-image-2) | OpenAI | `POST /v1/images/generations` | USD per 1M input & output tokens | Instruction-heavy layouts and text-in-image rendering |
| [gpt-image-1.5](/models/gpt-image-1.5) | OpenAI | `POST /v1/images/generations` | USD per 1M input & output tokens | Existing GPT Image 1.5 pipelines needing exact version continuity |

Check each model page before running a batch job so your budget sheet uses the current live rate rather than a guessed flat fee.

## Send one bounded server-side image request

Use the standard OpenAI Python SDK pointed at `https://keeprouter.com/v1` with `max_retries=0`. Disabling automatic SDK retries is especially important on image generation: a slow network timeout after upstream acceptance can otherwise bill two images when you only wanted one.

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://keeprouter.com/v1",
    api_key=os.environ["KEEPROUTER_API_KEY"],
    timeout=90.0,
    max_retries=0,
)

result = client.images.generate(
    model="seedream-5-0-lite",
    prompt="Minimalist ceramic pour-over coffee dripper on warm linen, studio daylight",
    size="1024x1024",
    n=1,
)
print(result.data[0].url or f"b64 length: {len(result.data[0].b64_json or '')}")
```

Store or transcode the returned image into your own object storage right away. Temporary delivery URLs are transport artifacts, not permanent CDN hosting for your production application.

## Compare total cost per accepted asset

When comparing per-image and token-metered models, normalize both to **cost per accepted asset**:

1. **Fixed per-image models (`seedream-5-0-lite`, `seedream-4-5`).** Multiply the published per-image price by `n` and by the number of generation attempts per accepted image. Prompt length changes do not alter a fixed per-image charge.
2. **Token-metered image models (`gpt-image-2`, `gpt-image-1.5`).** Read `usage` on the response and compute `(input_tokens * input_rate) + (output_tokens * output_rate)`. Higher resolutions and higher quality tiers emit more image output tokens, increasing per-asset cost.

Run a 10-prompt fixture covering your real aspect ratios, text labels and style constraints before committing a batch job. Estimate token vs per-image scenarios in the [API cost calculator](/tools/api-cost-calculator), test desktop prompt iteration in the [Cherry Studio setup guide](/blog/cherry-studio-openai-compatible-api), and create a scoped key via the [quickstart](/docs/quickstart) with a hard spend limit so an unattended worker loop cannot exceed your campaign budget.

## Frequently asked questions

### Do Seedream 5.0 Lite and GPT Image 2 use the same endpoint on KeepRouter?

Yes. Both use POST /v1/images/generations, while Seedream models bill per generated image and GPT Image models bill per input and output token.

### Can I call paid image models with the free trial model key?

No. Image generation models require prepaid credit and an API key whose model allowlist includes the target image model ID.

### Why set max_retries=0 on image generation requests?

Image generation takes longer than short text calls. Disabling blind SDK retries avoids billing duplicate renders if a local timeout fires.

## Sources reviewed

_Article last reviewed 2026-10-03_

1. [OpenAI image generation API guide](https://developers.openai.com/api/docs/guides/image-generation)
2. [OpenAI cookbook: image generation prompting guide](https://developers.openai.com/cookbook/examples/multimodal/image-gen-models-prompting-guide)

## Related guides

- [seedream 5 0 lite](https://keeprouter.com/models/seedream-5-0-lite.md)
- [gpt image 2](https://keeprouter.com/models/gpt-image-2.md)
- [Cherry Studio Custom Provider: API Host, Models and Cost](https://keeprouter.com/blog/cherry-studio-openai-compatible-api.md)
- [api cost calculator](https://keeprouter.com/tools/api-cost-calculator)

## Check this model's price and API

See the current customer rate, supported endpoint and setup example for the model discussed here.

[View model and pricing](https://keeprouter.com/models/seedream-5-0-lite)

[Create a key to test the free model](https://keeprouter.com/login?returnTo=%2Fconsole%2Fkeys%3Fmodel%3Dfree)

The free test uses the free model. Other paid models require sufficient prepaid credit.

[All posts](https://keeprouter.com/blog.md) · [Models & pricing](https://keeprouter.com/models.md)
