Skip to content
Pricing

Reduce AI Video API Costs Without Losing Quality

How to reduce AI video API costs: low-resolution drafts, a model per shot, quotes and caps, safe retries, upscaled keepers and sound only where needed.

Updated 6 min read

To reduce AI video API costs without losing quality, pay the full price only for the takes you keep: find the shot at a low resolution on a model priced for the job, then render or upscale the final once, at the size you deliver. On Frameport, a 5-second draft on Frameport Motion 1 costs $0.10 at 480p against $0.40 at 1080p, and a clip that fails costs nothing.

Where to reduce AI video API costs

Each habit below cuts a different line of the bill. None of them asks you to publish a lesser clip: they move the spending away from the takes you throw away and the features a shot does not use.

Where the money goesThe habit that cuts it
Drafts rendered at the delivery sizeDraft at 480p, finish at the size you need
One premium model for every shotPick the model per shot
A request that costs more than you meantQuote it, then cap it with max_cost_usd
A retry that starts a second clipAn Idempotency-Key on every submit
Every take rendered bigUpscale only the keeper
Sound on clips nobody hears"audio": false where sound is priced apart

Draft at 480p, finish at 1080p

Many of a project's renders are drafts: tries at the prompt, the framing, the camera move and the timing. None of that needs the final size. Here is the gap on models that offer both:

Model5 s draft at 480p5 s at 1080p
Frameport Motion 1$0.10$0.40
Wan 3.0$0.30$1.175
Grok Imagine$0.465$1.45
Seedance 2.0$0.40$2.175

Two rules keep the drafts useful:

  • A draft tests the idea, not the take. A final rendered at 1080p is a new clip: same prompt and framing, different frames. Settle the prompt and the motion on drafts, and expect the final to follow them, not to copy them. To keep the exact take you liked, upscale it (below).
  • Draft on the model you will finish on. Prompts do not carry over perfectly from one model to another. Within the Seedance family, Seedance 2.0 Mini takes the same inputs as the larger tiers (a first frame, references, sound) for $0.041 per second at 480p.

Send the same first frame to the draft and the final: both open on the exact image you chose, which narrows the gap between them.

Pick the model per shot, not per project

One key reaches every model, so nothing ties a project to a single one. A film or an ad mixes shots with different needs, and rates per second vary widely across the catalog, from $0.02. Pay for a feature only on the shots that use it:

The shotWhat it needsA model that has itPer second
B-roll, a background, a loopMotion, nothing exactFrameport Motion 1 at 1080p$0.08
A product kept from its photosReference picturesSeedance 2.5 at 720p, up to 4 pictures$0.27
One continuous actionA long takeWan 3.0 at 720p, up to 30 s$0.12
A clip with its own soundNative soundSeedance 2.0 Mini at 720p$0.088
A big-screen final4KSeedance 2.0 at 4K$0.90

For ads and UGC-style clips, the same logic holds at a smaller scale: the hook shot that carries the product gets the model with references, and the cutaways go to a lower rate. The cheapest AI video generation API guide ranks every model by its rate, and AI video generation API cost has the full grid.

Quote every request and cap it (max_cost_usd)

A slip in a request costs money the moment it succeeds: a 4K tier left on, a duration with an extra zero, a loop that sends each shot twice. Two parts of the API catch it first. POST /v1/generations/quote takes the exact body and answers with the price and whether the balance covers it; it is free and holds nothing. And max_cost_usd, in any request body, refuses a request priced above it with 400 max_cost_exceeded before anything is held (quotes and spending caps).

This helper does both, and adds the retry key from the next section. Run it with your budget in dollars as the argument:

shots.mjs
const API = 'https://frameport.ai/v1'
const headers = {
  'Authorization': `Bearer ${process.env.FRAMEPORT_API_KEY}`,
  'Content-Type': 'application/json',
}
let budget = Number(process.argv[2])
if (!(budget > 0)) throw new Error('Usage: node shots.mjs <budget in USD>')

async function renderShot(shot, version, body) {
  const quote = await fetch(`${API}/generations/quote`, { method: 'POST', headers, body: JSON.stringify(body) }).then(res => res.json())
  if (quote.error) throw new Error(`${shot}: ${quote.error.message}`)
  if (quote.price_usd > budget) throw new Error(`${shot}: ${quote.price_usd} USD, over the ${budget.toFixed(2)} USD left`)

  const res = await fetch(`${API}/videos/generations`, {
    method: 'POST',
    headers: { ...headers, 'Idempotency-Key': `${shot}-v${version}` },
    body: JSON.stringify({ ...body, max_cost_usd: quote.price_usd }),
  })
  const gen = await res.json()
  if (gen.error) throw new Error(`${shot}: ${gen.error.message}`)
  if (res.headers.get('idempotent-replayed') !== 'true') budget -= gen.reserved_usd
  return gen
}

const gen = await renderShot('opening', 3, {
  model: 'seedance-2-0-mini',
  prompt: 'Slow push-in on a steaming coffee cup on a wooden table, morning light',
  duration: 5,
  resolution: '480p',
})
console.log(gen.id, gen.status, gen.reserved_usd)

Setting the cap to the quoted price also covers a price change between the quote and the submit: the request is refused instead of charged more. A refused request costs nothing and frees its key.

Idempotency: never pay twice for a retry

A request that times out on your side may still have been accepted. Sent again as is, it starts and bills a second clip. With an Idempotency-Key header, the same key and the same body return the first generation instead, for 24 hours, with Idempotent-Replayed: true and nothing more held (idempotency).

  • Name the key after the shot, not the attempt, as the helper does with opening-v3, so every retry of a shot carries the same key.
  • A new version takes a new key. The same key with a different body answers 409 idempotency_conflict.
  • Agents too. The MCP server's tools take the same protection as idempotency_key.

Upscale the keepers instead of rendering big

Rendering every take at the delivery size pays for pixels on clips you throw away. Rendering small and upscaling only the keeper pays the full size once, and keeps the exact take you approved: Frameport Upscale 1 redraws a clip at a size it offers (1080p and 2K) and keeps its motion, frame rate and sound, for $0.03 per second at 1080p.

For a single clip, whether the upscale route also beats rendering at 1080p depends on the model. This script compares the two for a 10-second clip on every video model, from the live prices:

Render at 1080p, or render small and upscale?
import requests

models = {m["id"]: m for m in requests.get("https://frameport.ai/v1/models").json()["data"]}
upscale = models["fp-upscale-1"]["pricing"]["per_second"]["1080p"]
seconds = 10

for m in models.values():
    if m["type"] != "video" or m["mode"] != "generate":
        continue
    rates = m["pricing"].get("per_second_with_audio") or m["pricing"]["per_second"]
    direct = rates.get("1080p")
    for tier, rate in rates.items():
        if tier in ("1080p", "2K", "4K"):
            continue
        route = (rate + upscale) * seconds
        against = f"{direct * seconds:.2f} USD at 1080p" if direct else "no 1080p tier"
        print(f"{m['id']:<20} {tier} + upscale: {route:.2f} USD, against {against}")

Where a model's 1080p rate sits close to its lower tiers, render the final at 1080p directly. Where it stops below 1080p, upscaling is the way there. Either way, the drafts you discard never pay the 1080p rate. The video upscaler API guide has the request, and video upscaling API pricing the floor on short clips.

Sound only where you need it

On the three Veo 3.1 tiers, sound is priced apart. A request gets it by default, and "audio": false bills the silent rate instead. For 8 seconds at 1080p:

ModelWith soundSilent
Veo 3.1$3.72$1.88
Veo 3.1 Fast$1.12$0.96
Veo 3.1 Lite$0.744$0.48

Go silent on B-roll, loops and any clip that will get music or a voice-over in the edit. Elsewhere, read the model's sound line before you switch it off: on Seedance 2.5, it reads "On or off, same price", so silence saves nothing there.

Sound is one of the switches that can move a price: which video models render sound, and on which it costs extra. Producing many ad variants for less is the subject of AI video ads by API. A retry should never pay twice: idempotency keys make a repeated request return the first job.

FAQ

How do I reduce AI video API costs?

Draft at 480p on the model you will finish on, pick a model per shot, quote each request and cap it with max_cost_usd, send an Idempotency-Key with every submit, upscale only the takes you keep, and turn sound off where it is priced apart.

What is the cheapest way to use the Nano Banana Pro API?

Pay per image, with no plan: $0.16 an image on Nano Banana Pro. Ask for one image until the prompt works, then a batch. Rough out layouts on a lower-priced model such as Frameport Image 1 ($0.025), and an image that fails is not charged.

Is upscaling cheaper than rendering at 1080p?

It depends on the model: run the script above for the live comparison. Upscaling saves the most when you make several drafts and keep one, since only the keeper pays for the larger size.

How can I make AI ad or UGC videos for less?

Draft every shot at 480p, give the product shot a model that takes reference pictures, send the cutaways to a lower rate, and upscale the clips of the final cut. Shape rarely moves the price here: a vertical 9:16 clip costs the same per second as a 16:9 one, and pricing lists the few aspect-ratio multipliers.

Does a cheaper draft mean a worse final?

No. Drafts only settle the prompt and the motion; the final is still rendered at the size you deliver, on the model you chose, or upscaled from the take you approved.

Do failed clips count toward the cost?

No. A clip that fails or times out gives its hold back and costs nothing, so retrying a failure only costs the attempt that succeeds.

Pricing5 min read

Free AI Video Generation API: What Is Real?

Is there a free AI video generation API? What free tiers usually include, what costs nothing here, and how to test video models for very little.

Use cases5 min read

AI UGC Video API: Product Ads at Scale

An AI UGC video API workflow for product ads: one presenter, the product in frame, vertical clips with sound, variants to test and the cost per ad.

Start building.

Your API key is free. Top up from $10 when you are ready.