The Economics of Compute in AI Video Generation
This article breaks down why AI video generation is profitable for some teams and a money pit for others, tracing the difference to unit economics rather than market sentiment. It shows how a ten-second clip translates into a compute bill, presents a reusable cost model with its key levers (cache hit rate, retry factor, resolution and duration tiers), and covers architecture-level controls such as priority queues, layered caching, tiered generation with incremental editing, and elastic cloud infrastructure. It closes with output tiering, an observability and capacity planning checklist, and a practical build order for engineering teams.
1. The Core Tension: Same Workload, Different Books
The generative video space has recently split in two. One overseas vendor shut down a high-profile video product, with media reports putting its daily losses in the millions of dollars before the shutdown. Meanwhile, several vendors in China are accelerating investment: one video generation model was reported to be earning over RMB 1 billion in a single month (the company involved publicly said outside estimates were too high), and another platform spun off its video business and raised nearly USD 3 billion at a post-money valuation of roughly USD 18 billion.
Why does one team walk away from the same “burn money” business while another doubles down? The answer is not market sentiment but the structure of the books. Viewed as a single product, video generation is a content tool. Viewed as an inference workload on the cloud, it is a high-power, highly volatile machine with an extremely uneven long-tail distribution. Whether to exit depends on whether three variables hold at the same time:
- Whether unit inference cost falls with scale (whether economies of scale are real);
- Whether peak concurrency can be smoothed (whether the load is schedulable, queueable, and degradable);
- Whether a single generation can be reused (whether results can be cached, incremented, and edited).
If any one of the three fails to hold over the long run, marginal losses scale linearly with user growth. This article does not judge the merits of any specific vendor’s approach. Instead, it abstracts the problem into a computable, optimizable engineering question.
2. Turning “Ten Seconds of Video” Into a Compute Bill
Industry estimates generally hold that the compute cost of a ten-second clip can be equivalent to thousands of ordinary text conversations. That is not an exaggeration; it follows from the difference in orders of magnitude.
The main cost of autoregressive text decoding sits in memory bandwidth and reads and writes to the KV cache, and the compute per step is relatively bounded. Video generation has to unfold across both the temporal and the spatial dimension, and a diffusion-based approach additionally requires multiple denoising iterations. The following is an illustrative order-of-magnitude estimate (it shows proportions only and is not measured data from any product):
# Illustrative: relative compute magnitude of video generation vs. text chat# All parameters are generic assumptions to show scaling, not real product metricsdef text_tokens_cost(seq_len=2048, layers=32, hidden=4096):# roughly 2 * hidden multiply-adds per token per layer, coarse estimatereturn seq_len * layers * 2 * hiddendef video_denoise_cost(frames=120, tokens_per_frame=1024,layers=32, hidden=4096, steps=30):tokens = frames * tokens_per_frameper_step = tokens * layers * 2 * hiddenreturn per_step * stepst = text_tokens_cost()v = video_denoise_cost()print("relative multiple (order-of-magnitude illustration):", v // t)
Three cost amplifiers can be read straight off the formula:
- Spatiotemporal token count: frames multiplied by tokens per frame, growing roughly quadratically with temporal and spatial resolution;
- Denoising steps: step count is strongly tied to quality and is the most direct knob between quality and cost;
- Retry rate: generative workloads have a “rerun if unsatisfied” property, which effectively multiplies cost by a factor greater than one.
On top of that, memory footprint caps batch size, so per-GPU concurrency stays low and unit cost naturally falls more slowly than for text workloads. That is the engineering essence of why ten seconds of video is expensive.
3. Unit Economics Model: Do the Math Before Deciding to Build
It is worth building a recomputable model table at the project approval stage, with fields that at minimum include average steps per generation, average resolution and duration, retry factor, per-GPU throughput, GPU-hour price, cache hit rate, and failure refund rate. The core formulas can be written as:
effective cost per generation = (GPU-hour price / effective output per GPU-second) × retry factor × (1 - cache hit rate)gross margin = price per order - effective cost per generation - storage and bandwidth allocation - failure compensation
Three levers usually have the highest sensitivity:
- Cache hit rate: moving from 0.1 to 0.4 often beats swapping hardware;
- Retry factor: cutting it from 1.8 to 1.2 is equivalent to a cost reduction of more than 30%;
- Resolution and duration tiers: dropping the default tier by one level brings cost back down roughly quadratically.
It should be stressed that external figures such as “monthly revenue” or “daily losses” are hard to verify directly. The only thing an engineering team truly controls is the table above.
4. Cost Control on the Architecture Side: Scheduling, Caching, Layering
4.1 Queuing and Priority Scheduling
Video tasks are typically long-running and must be decoupled from short front-end requests. In practice, a two-level queue works well: an interactive queue guarantees preview tasks that return in seconds, while a batch queue carries high-precision long tasks, with priority and quotas preventing large jobs from starving small ones.
# Illustrative: task tiers and quotas (generic config structure, not a specific platform API)queues:interactive:max_duration_sec: 15concurrency: 40priority: highbatch:max_duration_sec: 300concurrency: 8priority: lowautoscaling:metric: queue_wait_time_p95target_ms: 800
4.2 Result Caching and Semantic Reuse
Inputs to video generation are often highly similar (same template, same character, same camera language). Three cache layers are worth building: exact hash caching, parameter fingerprint caching (resolution, duration, seed, style tier), and semantic caching (matching after normalizing the prompt). An example cache key design:
key = hash(normalize(prompt) | style_tier | resolution | duration | seed_policy)
The key to a higher hit rate lies in normalization and seed policy: fixed seed tiers significantly improve reusability.
4.3 Layered Generation and Incremental Editing
Do not run a full generation every time. Split it into two stages: “low-resolution draft → user confirmation → high-resolution refinement.” The first stage buys directional confirmation at minimal cost, and the second spends only on samples that pass confirmation. Incremental editing works the same way: recompute only the modified time ranges or regions instead of rerunning the whole clip.
4.4 Elastic Compute and Cost Visibility
At the infrastructure layer, the recommendation is to compose general-purpose cloud capabilities: a container platform for elastic scaling, object storage for intermediate artifacts and finished videos, a message queue for task decoupling, and logging plus monitoring and alerting for a unit-cost dashboard. Baidu AI Cloud offers corresponding capabilities in these general categories, and tagging along three dimensions — GPU-hour, task, and tenant — makes cost attributable.
Example tag dimensions:tenant_id / model_tier / resolution / queue / step_budgetcost attribution = Σ(GPU-hours × unit price) group by the dimensions above
5. Balancing Quality and Cost: A Deliverable Tiering Strategy
Make output tiers explicit so the cost decision returns to the user:
| Tier | Duration | Resolution | Denoising steps | Typical use case |
|---|---|---|---|---|
| Draft | 5s | Low | Few | Direction confirmation, storyboard preview |
| Standard | 10s | Medium | Medium | Social media assets |
| Refined | 10s+ | High | Many | Commercial delivery |
Pairing this with policies such as “no charge for failures” and “automatic downgrade to the draft tier on timeout” can substantially lower both the retry factor and compensation costs.
6. Observability and Capacity Planning Checklist
Before launch, prepare at least these metrics: queue wait P95, end-to-end latency P95, average GPU-hours per task, cache hit rate, retry rate, failure rate and compensation amount, and effective unit cost. For capacity planning, work backward from “peak concurrency × GPU-hours per task / target utilization” to derive the GPU count, and reserve 20%–30% headroom for bursts. Also set a circuit breaker: when unit cost stays above a threshold for a sustained period, automatically lower the default tier.
7. Conclusion
Whether generative video reaches its “DeepSeek moment” is not fundamentally a question of model narrative but of whether engineering can push unit cost below the gross margin line. The disagreement between exiting and doubling down comes from differences in book structure, not differences in technical conviction. The practical advice for developers is clear: build the unit economics model first, then add queuing and caching, then roll out layered generation and tiered delivery, and finally keep calibrating with an observability system. Only by treating cost as a first-class citizen in the design can video generation move from demo to a sustainable business.
