Cost engineering · Practical guide

A 23-second LTX video benchmark is not a 23-second cloud bill

Hugging Face generated a 10-second LTX-2.5 clip in 22–23 seconds after loading. To compare self-hosting with a video API, measure what each route actually bills.

Self-hosted EC2 counts running instance time. Hosted LTX text-to-video counts seconds of output video. Compare total spend per accepted clip.
Original billing-mechanism illustration. AWS and LTX documentation checked November 30, 2026. The blocks are labels, not duration bars. AI API Cost · original billing diagram · Source ↗

A fast warm run tells you how long one clip took

On November 27, Hugging Face reported generating a 10-second LTX-2.5 video with sound in 22–23 seconds on Trainium3 after loading the models. For a team deciding whether to rent an instance or use a hosted video API, that number answers a latency question. It does not tell you what producing a usable clip costs.

The reported output was 2048×1024, and the job used 32 of the 64 NeuronCores on a trn3.48xlarge instance supplied through an AWS partnership. The authors also report roughly three minutes to load the models and 80 seconds for the first clip. A worker kept warm can move loading out of the request path. Its running time still belongs in a self-hosted budget.

The two invoices count different seconds

For a dedicated On-Demand EC2 instance, AWS meters compute while the instance is running, with a 60-second minimum. Using half the machine's NeuronCores for one job does not halve the price of renting that machine. The other cores could help if a second concurrent job actually runs acceptably, but the single-clip timing does not measure that.

Lightricks lists text-to-video generation per second of output. At 1920×1080, its pricing tables, checked November 30, show US$0.13 per output second for LTX-2.5 Fast and US$0.17 for Pro. A 10-second generation at that preset therefore has a list-price estimate of US$1.30 or US$1.70, respectively. Both variants list a 10-second 1080p request at 24 fps. The experiment's 2048×1024 dimensions aren't a listed preset, so these examples are not prices for that exact run.

Which clock are you reading?

Scroll sideways to read all columns.

ClockWhat it countsWhat to record
Warm benchmarkElapsed generation time with models loadedClip duration, size, sound and cores used
EC2 On-Demand computeBillable running time for the instanceLoading, generation, idle gaps and billed seconds
LTX hosted text-to-videoSeconds of generated videoEndpoint, model, resolution and output duration
The first row describes the November 27 experiment. The billing rows use provider documentation checked November 30, 2026. Timing is wall-clock seconds; the billing units are not interchangeable.Source 1 ↗Source 2 ↗Source 3 ↗

Use accepted clips, not completed jobs, as the denominator

Set the same acceptance criteria on both routes before comparing them: duration, delivered size, frame rate, audio and visual continuity. Count the takes you reject and the time or charges they consume. A successful generation can still produce a shot you won't use, and the Hugging Face report describes selecting from several takes for its film. That editing choice is not a measured acceptance rate for a new project.

For self-hosting, multiply the eligible regional instance rate by the time actually billed across the production window, then add applicable storage and transfer costs. If the quote is in dollars per hour and billing uses seconds, divide billed seconds by 3,600 before applying the rate. For a hosted API comparison, total the actual generation charges across all takes rather than multiplying the desired final length by the tariff once. Divide each total by the number of clips you accept.

A solo creator producing occasional shots and a team keeping a queue full should use different workload traces. Record the time to the first usable clip and the number of usable clips produced across the full running window. Include time between jobs and only credit concurrent work if you can see it complete. Until those counts are available, the warm timing is useful for planning response time, not for declaring either route cheaper.

Sources & verification

Provider documentation supports the facts referenced below. Our explanations and recommendations are editorial interpretation.

  1. Hugging Face: Taking Trainium3 to the Track ↗Checked Nov 30, 2026
  2. AWS: Purchasing On-Demand Instances for Amazon EC2 ↗Checked Nov 30, 2026
  3. LTX API: Pricing ↗Checked Nov 30, 2026
  4. LTX API: LTX-2.5 model support ↗Checked Nov 30, 2026

Corrections: hello@aiapicost.com

Keep reading