Seedance 2.5 cost calculator in Python: tokens to dollars

A short Python function prices a Seedance 2.5 clip on Sume from width, height and seconds. It gives $1.612063 for 6 s at 480p and $8.667 for 15 s at 720p.

6 min readSume
All posts

This Python function prices a Seedance 2.5 clip the way Sume bills it: tokens from the frame size, the list rate per 1,000 tokens, then the 1.25 multiplier. It returns $1.612063 for a 6-second 9:16 clip at 480p and $8.667 for 15 seconds at 720p.

Run it before you submit a batch so the wallet needs are known. The reserve at submit is the same estimate, as described in the errors and credits docs.

The calculator

The script has no dependencies. Frame sizes are the ones Sume uses for each resolution tier and ratio, taken from the pricing package. List rates are $0.0214 per 1,000 tokens at 480p and 720p and $0.0234 at 1080p. Integer micros avoid float drift.

import math

FRAMES = {
    ("480p", "9:16"): (496, 864), ("480p", "16:9"): (864, 496),
    ("720p", "9:16"): (720, 1280), ("720p", "16:9"): (1280, 720),
    ("1080p", "9:16"): (1080, 1920), ("1080p", "16:9"): (1920, 1080),
}
LIST_MICROS_PER_1K = {"480p": 21_400, "720p": 21_400, "1080p": 23_400}

def seedance_25_micros(res, ratio, seconds):
    w, h = FRAMES[(res, ratio)]
    tokens = math.ceil(w * h * seconds * 24 / 1024)
    list_micros = math.ceil(tokens * LIST_MICROS_PER_1K[res] / 1000)
    return tokens, math.ceil(list_micros * 125 / 100)

plan = [("480p", "9:16", 6, 40), ("720p", "9:16", 15, 10)]
total = 0
for res, ratio, secs, count in plan:
    tokens, micros = seedance_25_micros(res, ratio, secs)
    total += micros * count
    print(res, ratio, secs, "s", tokens, "tokens", micros / 1e6, "USD each")
print("batch total USD", total / 1e6)

Reading the output

For the plan in the script, 40 drafts and 10 finals, the batch total is $151.15252. That matches the hand arithmetic in the $1,000 test budget post.

The two rounding steps matter. Tokens are rounded up per clip, and the final price is rounded up in USD micros after the multiplier.

What it leaves out

This function covers Seedance 2.5 only. Other models use other rules: Wan 3.0 is a flat per-second rate by resolution, and flat tools like background removal have a fixed price. The pricing SKU post lists those.

Reference videos and other inputs can change an estimate, so treat the result as the text-to-video or image-to-video base price and check the job estimate in the response.

Extending it

  • Add the other ratios from the table in the aspect ratio post.
  • Add a clip count column and a retake percentage.
  • Compare the result with your wallet balance before calling the API.

Sources

Related posts

More in Pricing

All Pricing posts

Written by Sume