Tokenify

Seedream 5.0 Pro API

Image generation and precise image editing. Reads text and images, writes images.

$0.036 per image up to 2.61 megapixels, and $0.072 above it. Billed per image, not per token. 20% below the model vendor's published rate.

Generate one image

The OpenAI Images shape, on our base URL. The reply is base64 in b64_json — there is no URL to fetch and nothing to expire.

import base64
from openai import OpenAI

client = OpenAI(
base_url="https://api.tokenify.dev/v1",
api_key=os.environ["TOKENIFY_API_KEY"],
)

res = client.images.generate(
model="bytedance/seedream-5.0-pro",
prompt="A still life of three pears, soft window light",
size="1024x1024",
)
open("out.jpg", "wb").write(base64.b64decode(res.data[0].b64_json))

What it costs

A hundred images cost $3.60 at the smaller sizes. There is no subscription, no minimum and no per-request fee; a request that produces nothing is not charged.

Image to 2.61 megapixels
$0.045$0.036
2.61 megapixels and up
$0.090$0.072
Image you send
$0.0024
first one free

20% offoff the model vendor’s published price per image. The discount is the same at every size we accept.

The size you ask for decides which price applies: at or above 2.61 megapixels it is the dearer one. Every size we accept sits clear of that boundary rather than on it, so the price of a size is never ambiguous.

Sizes it accepts

The complete list, not a selection: size is checked against it and anything else is a 400 naming the accepted set. Omit size and you get 1024 × 1024.

1024x10241024x15361536x10241920x19202048x2048

The image models, side by side

ModelPer imageLarger imagesImage you sendSizes
Seedream 5.0 Pro20% off
bytedance/seedream-5.0-pro
$0.045$0.036$0.090$0.072
from 2.61 megapixels
$0.0024
first one free
1024 × 1024, 1024 × 1536, 1536 × 1024, 1920 × 1920, 2048 × 2048
Seedream 5.0 Lite20% off
bytedance/seedream-5.0-lite
$0.035$0.028same pricefree1920 × 1920, 2048 × 2048
Seedream 5.0 Flash
bytedance/seedream-5.0-flash
$0.018same pricefree1024 × 1024, 1024 × 1536, 1536 × 1024, 1920 × 1920, 2048 × 2048

From the live catalogue. All models · the full rate card · the endpoint.

Questions about this model

How is Seedream 5.0 Pro billed?

Per image. Seedream 5.0 Pro costs $0.036 an image, and $0.072 at 2.61 megapixels and above. There is no per-token price and no context window: the token counts the model vendor reports are metering, not the basis of the charge. Credit is reserved at the price of the image you asked for before the request is sent, so the charge is known in advance.

Which sizes can I ask for?

1024 × 1024, 1024 × 1536, 1536 × 1024, 1920 × 1920, 2048 × 2048. That is the complete list — the size parameter is checked against it and anything else is refused with a 400 that names the accepted set, rather than being silently rounded to something you did not ask for.

Can I generate several images in one request?

No. Each request produces one image, and a parameter asking for several — n above 1, or any form of batched or sequential generation — is refused rather than accepted and billed as several. Make the requests in parallel instead, up to your key's 60 images a minute.

Can it edit an image I already have?

Yes. Send the image alongside the prompt, as base64 or a data URL, and it edits that rather than starting from nothing. The first image of each request is free and the rest cost $0.0024, and usage.input_images on the reply says how many were counted.

How much cheaper is this than the vendor’s own price?

20% below their published price per image, at every size. The list price is in the table on this page beside ours, so the comparison is a subtraction rather than a claim.

Where does the image come back?

Base64, in data[0].b64_json. There is no URL: we rebuild the reply rather than passing through a storage link, so there is nothing to expire, nothing that leaks where the request was served, and nothing to fetch in a second round trip. Decode it and write the bytes.

Do I need a subscription?

No. Billing is per image from prepaid credit, with no subscription, no seats and no minimum. Credit does not expire.

Last updated 2026-10-09. Prices come from the live catalogue at the time this page was built.