Best for · AI tools

AI video generation APIs: which to build on and what a second of video costs

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • Runway if you want several models behind one key and plain per-second pricing.
  • the Gemini API if you are already on Google Cloud.
  • Synthesia or HeyGen if your product is presenter or dubbing video, not cinematic clips.

Compared here

  • 01Runway API
  • 02Google Veo 3.1 (Gemini API or via Runway)
  • 03Synthesia API
  • 04HeyGen API
  • 05OpenAI Sora 2 API (shut down)

Short answer

For a general-purpose AI video generation API, Runway's API is the clearest buy on the official pages we read: credits cost $0.01 each, and Runway lists Gen-4 Turbo at 5 credits a second ($0.05), Gen-4.5 at 12 ($0.12), and Google's Veo 3.1 at 20 credits a second without audio ($0.20) or 40 with audio ($0.40), with Veo 3.1 Fast from 10 credits ($0.10). Google also sells Veo directly on the paid tier of the Gemini API, including the low-cost Veo 3.1 Lite (720p and 1080p, 4 to 8 second clips). For talking avatars and dubbing, Synthesia's API prices interactive avatars from $0.10 a minute and dubbing from $0.40 a minute.

One thing to know before you build: OpenAI says its Sora 2 models and Videos API were shut down on 24 September 2026, with no one-to-one replacement. Pick Runway if you want several models behind one key and plain per-second pricing. Pick the Gemini API if you are already on Google Cloud. Pick Synthesia or HeyGen if your product is presenter or dubbing video, not cinematic clips.

Try Runway APITry SynthesiaTry HeyGen

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From Runway's API pricing docs, OpenAI's Sora 2 model page, Google's Veo 3.1 Lite announcement and Synthesia's API pricing page, read 4 December 2026. US dollars as shown. Google's Gemini API pricing page and HeyGen's API pricing did not return Veo or plan figures to our reader.
APIBest forPrice as listedCost of a 10-second clipNotes
Runway Gen-4 TurboCheap, fast clips5 credits a second at $0.01 a credit$0.50Runway's own model
Runway Gen-4.5Higher quality Runway clips12 credits a second$1.20Runway's own model
Veo 3.1 via RunwayGoogle's model, one Runway key20 credits a second (no audio), 40 (with audio)$2.00 or $4.00Fast: 10 or 15 credits a second
Veo 3.1 Lite via Gemini APILowest-cost Google optionUnder 50% of Veo 3.1 Fast, per Google; figures not readable to usNot stated in text720p or 1080p; 4, 6 or 8 seconds; paid tier
Synthesia APIAvatars and dubbingInteractive avatars $0.10 a minute; dubbing $0.40 or $0.80 a minute with lip-syncPer minute, not per clipDraws from subscription credits
HeyGen APIAvatar and spokesperson videoNot stated (pricing page did not load)Not statedAffiliate program exists
OpenAI Sora 2 APINone nowWas $0.10 to $0.70 a secondn/aShut down 24 September 2026

Money talk first. Runway, Synthesia and HeyGen links go through our /go/ links. Synthesia and HeyGen run affiliate programs (category-level, from our affiliate research), so we may earn if you sign up; Runway's we have not confirmed. Google pays us nothing and still gets a full section. The order follows what each vendor publishes about price and access, because for an API, a clear price per second is half the decision. We did not generate test clips. We read the official pages on 4 December 2026.

First, the Sora news

If you planned to build on OpenAI's video API, stop and read this. OpenAI's Sora 2 model page says: "The Sora 2 models and Videos API were shut down on September 24, 2026 and are no longer available." It adds there is "no one-to-one replacement API."

For the record, the page still lists what it cost:

ModelResolutionPer second
Sora 2720x1280 or 1280x720$0.10
Sora 2 Pro720x1280 or 1280x720$0.30
Sora 2 Pro1024x1792 or 1792x1024$0.50
Sora 2 Pro1080x1920 or 1920x1080$0.70

Many blog posts still quote these as live prices. They are not. Build on something that exists.

Runway API: the clearest price list

Runway's developer docs give the cleanest pricing we found. Credits cost $0.01 each, bought per project in the developer portal (sales tax may apply). Video costs credits per second:

ModelCredits a secondDollars a second10-second clip
Gen-4 Turbo5$0.05$0.50
Gen-4.512$0.12$1.20
Veo 3.1 Fast, no audio10$0.10$1.00
Veo 3.1 Fast, with audio15$0.15$1.50
Veo 3.1, no audio20$0.20$2.00
Veo 3.1, with audio40$0.40$4.00

The dollar columns are our arithmetic from Runway's numbers. The page we read did not state a minimum purchase or rate limits.

Why this matters: one key, several models. You can prototype on Gen-4 Turbo at a nickel a second, then switch the hero shots to Veo 3.1 without a second vendor contract. Try the Runway API.

Google Veo through the Gemini API

Google sells Veo directly to developers. From Google's Veo 3.1 Lite announcement (31 March 2026):

  • Veo 3.1 Lite costs "less than 50% of the cost of Veo 3.1 Fast, but with the same speed".
  • It does text-to-video and image-to-video, 16:9 and 9:16, 720p and 1080p, clips of 4, 6 or 8 seconds, with cost scaling by duration.
  • It is on the paid tier of the Gemini API and in Google AI Studio.
  • Google said Veo 3.1 Fast prices were being cut on 7 April 2026.

The actual per-second numbers sat in an image in that post, and Google's Gemini API pricing page did not return the Veo rows to our reader. So we will not quote Google's direct prices. Check the pricing page in AI Studio and compare it with Runway's Veo rate above; whichever is lower for your resolution and audio needs wins.

Pick Google directly if you are already on Google Cloud billing, want Lite's low cost, or need Google's quotas and data terms.

Synthesia API: avatars and dubbing, not movie clips

Cinematic models make scenes. Avatar platforms make a person talking to camera, which is what most training, sales and support videos need. Synthesia's API pricing page lists:

  • Interactive Avatars API: $0.10 a minute for avatar tech only, with your own voice and LLM. A full-stack option (avatar, voice, LLM and LiveKit) at $0.20 a minute is marked "coming soon".
  • Dubbing API: $0.40 a minute voice only, $0.80 a minute with lip-sync.
  • API usage "draws from the same credit balance as your subscription".
  • Enterprise pricing is custom, with volume discounts, SLAs, concurrency limits, SSO, SCIM and audit logs.

Note these are per minute, not per second. For localising a library of training videos, dubbing at $0.40 a minute is a different universe from generating new footage. Synthesia's regular plans start with a $0 Basic plan, and Starter at $14 a month billed yearly, per its pricing page. See Synthesia.

HeyGen API

HeyGen is the other big avatar platform with an API, and it runs an affiliate program. Its API pricing page did not load for our reader on 4 December 2026, so we have no figures to give you. If avatars are your product, compare it with Synthesia line by line before choosing. See HeyGen.

How to pick

You are buildingStart with
A prototype that needs many cheap clipsRunway Gen-4 Turbo
Hero shots with soundVeo 3.1 with audio (Runway or Gemini API)
Lowest-cost Google videoVeo 3.1 Lite on the Gemini API paid tier
Talking-head training or sales videosSynthesia or HeyGen
Dubbing an existing video librarySynthesia Dubbing API
Anything on SoraNothing; it was shut down

Budgeting: the maths nobody does

Per-second prices look tiny. Real projects are not.

  1. Retries. You rarely keep the first take. Budget two to four generations per kept clip.
  2. Length. A 30-second ad on Veo 3.1 with audio via Runway is 1,200 credits, $12, per attempt. Four attempts: $48.
  3. Audio. On Veo through Runway, audio doubles the per-second cost. Add music and voice in editing if you can.
  4. Draft cheap, finish expensive. Test prompts on Gen-4 Turbo or Veo Fast, then render the final on the better model.
  5. Cap spend in code. Set a per-user or per-day limit before launch. One viral feature can empty a credit balance overnight.

Things to check before you commit

  • Commercial use terms for generated video in your product. Our AI video generator for commercial use page covers the rules on the consumer side.
  • Rate limits and concurrency (not stated on Runway's pricing page).
  • Content policies: every vendor blocks some prompts; your users will find them.
  • Model deprecation risk: Sora's shutdown is the reminder. Abstract the vendor behind your own interface so you can switch.
  • What AI video still gets wrong: hands, text, long continuity. See AI video generation limitations.

Building with images instead? Free AI image generation API covers that side. Comparing consumer apps rather than APIs? Start with best AI video generator.

How we checked

We read Runway's API pricing docs, OpenAI's Sora 2 model page, Google's Veo 3.1 Lite announcement and Synthesia's API pricing on 4 December 2026. Google's Gemini API pricing page and HeyGen's API pricing did not return the figures to our reader. Dollar-per-clip numbers are our arithmetic from vendor rates. We did not generate test clips. Vendor pages win if they change. Method: how we pick.

Questions people ask

What is the cheapest AI video generation API?

On the official pages we read, Runway's Gen-4 Turbo at 5 credits a second, which is $0.05 a second at Runway's $0.01 per credit, so about $0.50 for a 10-second clip. Google says Veo 3.1 Lite costs less than half of Veo 3.1 Fast, but its per-second figures sat in an image we could not read.

Is the Sora API still available?

No. OpenAI's Sora 2 model page says the Sora 2 models and Videos API were shut down on 24 September 2026 and are no longer available, with no one-to-one replacement API. Before the shutdown, it listed Sora 2 at $0.10 a second and Sora 2 Pro at $0.30 to $0.70 a second depending on resolution.

How much does the Veo 3.1 API cost?

Through Runway's API, Veo 3.1 costs 20 credits a second without audio and 40 with audio, which is $0.20 or $0.40 a second at $0.01 per credit. Veo 3.1 Fast is 10 or 15 credits a second. Google's own Gemini API pricing page did not show Veo rows to our reader, so compare there before committing.

Which API should I use for AI avatar videos?

Use an avatar specialist rather than a cinematic model. Synthesia's API pricing lists interactive avatars at $0.10 a minute with your own voice and LLM, and dubbing at $0.40 a minute, or $0.80 with lip-sync, drawing on your subscription credits. HeyGen also offers an API; its pricing page did not load for us.

How do I estimate the cost of an AI video API?

Multiply seconds by the per-second price, then double it for retries. A 30-second product clip on Veo 3.1 with audio through Runway is 1,200 credits, or $12, per attempt. Most usable clips take several attempts, so budget per finished second, not per generated second.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. Runway API docs: Pricing, checked 4 Dec 2026
  2. OpenAI API docs: Sora 2 model page, checked 4 Dec 2026
  3. Google blog: Build with Veo 3.1 Lite, checked 4 Dec 2026
  4. Google AI Studio: Gemini API pricing (Veo rows not returned to our reader), checked 4 Dec 2026
  5. Synthesia API pricing, checked 4 Dec 2026