← Build notes

10 speech clips took 11 seconds. The cloud job took almost 5 minutes.

Almost all of the time went to getting ready. After 1 test run, a team can estimate the compute cost per AI voice-over or video for any order size.

Animated light infographic. The headline: 10 speech clips took 11 seconds to generate; the cloud job took almost 5 minutes, start to finish. Almost all of it went to getting ready. Cloud AI works like a print shop: setting up the press costs the same for 10 invitations or 1,000, and each copy then adds a cost of its own. The main chart, titled where the time went, draws each whole job as one bar, orange for getting ready and purple for making copies. My speech run, VoxCPM2 on 1 H100 making 10 clips: starting the machine and pulling my image 171.9 s, weights 43.6 s, then the rest of the model load, for 275.9 s of startup and model load, followed by a thin purple sliver of 10 clips in 11.3 s. A note says caching the weights saves only the 43.6 s part, so for a small model I'd put more work into each job before caching anything. Below it, the course's video benchmark, Wan2.2 on 1 H100 making 20 animated cards: 1,046 s to load, mostly a 126 GB weight download, then 20 purple blocks, a median 76.7 s each. A lower card asks what one AI voice-over or video costs and answers that it depends on how many you make in one go: a log-scale order-size axis from 1 to 1,000 clips per run runs from small orders, where you speed up the setup, to large orders, where you speed up each copy, with self-hosting beating a $0.003-per-call API from 22 clips at the spot price and 215 at the regular price. After 1 test run, a team can estimate the compute cost per asset for any order size. A second card lists what the course's video benchmark projects: caching the weights helps small batches most, and past about 27 cards per run making clips twice as fast wins; every parallel worker pays the setup again, so 200 cards cost $35.94 on 10 workers and $21.31 on 1, drawn as ten bars against one; and a faster GPU didn't guarantee a cheaper card, since the RTX PRO 6000 was 1.6 times slower than the H100 yet each card cost 36% less. The takeaway: I now price AI media by order size first, and by model second. A side note credits Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius, 1 measured run, compute cost only. In the animation, a playhead runs both jobs on the same clock: the speech bar spends almost the whole loop getting ready before its 10 clips appear at the very end. Animated light infographic. The headline: 10 speech clips took 11 seconds to generate; the cloud job took almost 5 minutes, start to finish. Almost all of it went to getting ready. Cloud AI works like a print shop: setting up the press costs the same for 10 invitations or 1,000, and each copy then adds a cost of its own. The main chart, titled where the time went, draws each whole job as one bar, orange for getting ready and purple for making copies. My speech run, VoxCPM2 on 1 H100 making 10 clips: starting the machine and pulling my image 171.9 s, weights 43.6 s, then the rest of the model load, for 275.9 s of startup and model load, followed by a thin purple sliver of 10 clips in 11.3 s. A note says caching the weights saves only the 43.6 s part, so for a small model I'd put more work into each job before caching anything. Below it, the course's video benchmark, Wan2.2 on 1 H100 making 20 animated cards: 1,046 s to load, mostly a 126 GB weight download, then 20 purple blocks, a median 76.7 s each. A lower card asks what one AI voice-over or video costs and answers that it depends on how many you make in one go: a log-scale order-size axis from 1 to 1,000 clips per run runs from small orders, where you speed up the setup, to large orders, where you speed up each copy, with self-hosting beating a $0.003-per-call API from 22 clips at the spot price and 215 at the regular price. After 1 test run, a team can estimate the compute cost per asset for any order size. A second card lists what the course's video benchmark projects: caching the weights helps small batches most, and past about 27 cards per run making clips twice as fast wins; every parallel worker pays the setup again, so 200 cards cost $35.94 on 10 workers and $21.31 on 1, drawn as ten bars against one; and a faster GPU didn't guarantee a cheaper card, since the RTX PRO 6000 was 1.6 times slower than the H100 yet each card cost 36% less. The takeaway: I now price AI media by order size first, and by model second. A side note credits Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius, 1 measured run, compute cost only. In the animation, a playhead runs both jobs on the same clock: the speech bar spends almost the whole loop getting ready before its 10 clips appear at the very end.
The whole post in one graphic. Open the graphic full size ↗

10 speech clips took 11 seconds to generate. The cloud job took almost 5 minutes, start to finish.

That surprised me: almost all of it went to getting ready.

Why it matters

Running AI models on rented cloud computers works like a print shop. Setting up the press costs the same for 10 invitations or 1,000. Each copy then adds a cost of its own.

So “what does one AI voice-over or video cost?” has no single answer. It depends on how many you make in one go.

In Module 1 of the Production AI Agents for Generative Media course by DataTalks.Club and Nebius, I built a voice-over generator in the cloud and measured both parts. It changed what I would fix first.

For a small order, I’d speed up the setup. For a large one, I’d speed up each copy. And a pay-per-use service is cheaper on compute only below an order size I can now calculate.

That means after 1 test run, a team can estimate the compute cost per asset for any order size. The chart puts my speech run next to the course’s video benchmark.

In my earlier deep learning research, I worked out safe training settings before a single training step ran. Here, I work out the bill before the job starts.

I now price AI media by order size first, and by model second.

How it works

The course’s published benchmark made 20 animated cards on 1 H100. Wan2.2 image-to-video took 1,046 s to load, mostly a 126 GB weight download. Each clip then took a median 76.7 s.

Its projections give 2 rules:

  • Caching the weights helps small batches most. Making clips twice as fast beats caching past about 27 cards per run.
  • Every parallel worker pays the fixed cost again: 200 cards cost $35.94 on 10 workers, $21.31 on 1. Caching comes before scaling out.

A faster GPU didn’t guarantee a cheaper card. On the same benchmark, the RTX PRO 6000 was 1.6× slower than the H100, and each card’s generation cost 36% less at regular prices.

Then I built my own speech worker: VoxCPM2 at a pinned model revision, as 1 preemptible H100 Job on Nebius. Startup and model load took 275.9 s, the 10 German voice-overs 11.3 s.

And the course’s first fix only partly applies to my model. Its weights downloaded in 43.6 s, while starting the machine and pulling my image took 171.9 s. For a small model, I’d put more work into each job before caching anything.

My scripts log every price with its source URL and read time. Projected from my times, self-hosting would beat a $0.003-per-call third-party API from 22 clips per run at the spot price, 215 at the regular price (Nov 2026).

Limits: 1 measured run of 10 clips, compute cost only. A 2-clip test run had the same startup within 0.1 s, and Module 2 adds a reviewer check.

If you run GPU batch jobs: what eats your startup time, the machine or the model?