A video hosting API lets your application upload videos, encode them for every device, store them and deliver them to viewers through a player or a streaming (HLS) URL, all by API calls. In October 2026 the main options are Mux, api.video, Cloudflare Stream, Bunny Stream and Cloudinary. Mux, api.video and Cloudflare Stream charge per minute of video stored and per minute watched, with encoding included, so a small library with few viewers can cost less than $2 a month.

This guide explains what a hosting API does, compares the providers (prices checked on each vendor's page on 18 October 2026), works through a small cost example and shows how to choose. It is one of the six kinds of video API.


What a video hosting API does

You send a video (a file or a URL). The service then does the work you would otherwise build yourself:

It is the right tool when videos already exist: a course platform, a user-generated video feature, a product catalogue with video. It does not make videos (see video editing APIs) and it is not for live events (see live streaming APIs).


Video hosting APIs compared

Provider Pricing (1080p) Free tier
Mux VideoEncoding free; storage $0.003 per minute a month; delivery $0.001 per minute watched. Plans: Launch $20 a month (includes $100 of usage), Scale $500 a month100,000 delivered minutes a month; $20 monthly usage credit on pay as you go
api.videoEncoding free; storage from $0.00285 per minute a month; delivery from $0.0017 per minute watched; custom domain from $60 a monthSandbox: 30-second clips, watermarked, deleted after 24 hours
Cloudflare Stream$5 per 1,000 minutes of storage (prepaid); $1 per 1,000 minutes delivered. Encoding and ingress includedNone listed
Bunny StreamStorage from $0.01 per GB; delivery from $0.005 per GB; $1 monthly minimum14-day trial, no card
CloudinaryCredits shared across images and video: Plus $99 a month (225 credits), Advanced $249 a month (600). 1 credit = 1,000 transformations, 1 GB of storage or 2 GB of video bandwidth (paid plans)Free plan: 25 credits a month

Checked on 18 October 2026. Sources: Mux pricing, api.video pricing, Cloudflare Stream pricing, Bunny Stream pricing, Cloudinary pricing.

Other platforms. JW Player, Brightcove and Wistia also host video. They are player- and marketing-oriented platforms (customisable players, advertising, publisher tools) rather than pure developer APIs, and we have not priced them here. If you need an advanced branded player or ad support, check them directly.

AI agents. Mux (https://mcp.mux.com, npm @mux/mcp) and Cloudinary publish official MCP servers that act on your account. We found no official MCP server for api.video, Bunny or Cloudflare Stream (Cloudflare has only its general MCP server). Checked 18 October 2026.


What the prices mean: a worked example

Take a small library: 100 videos of 5 minutes (500 minutes stored) and 1,000 viewers who each watch 10 minutes in the month (10,000 minutes delivered), all at 1080p.

Provider Storage (500 min) Delivery (10,000 min) Total a month
Mux500 × $0.003 = $1.5010,000 is under the 100,000 free minutes = $0$1.50
api.video500 × $0.00285 = $1.4310,000 × $0.0017 = $17.00$18.43
Cloudflare Stream500 ÷ 1,000 × $5 = $2.50 pro rata ($5 if you buy one whole 1,000-minute block)10,000 ÷ 1,000 × $1 = $10.00$12.50 to $15.00

Delivery decides the bill. Mux's 100,000 free delivered minutes cover this audience ten times over; at 10 times the viewers (100,000 minutes) api.video would charge $170 for delivery, Cloudflare $100 and Mux still $0 before storage.

Bunny Stream and Cloudinary bill in gigabytes, so the total depends on your bitrate. As a rule of thumb, multiply the real size of your files by $0.01 for storage and the data viewers download by $0.005 for Bunny; for Cloudinary, check how many credits that uses against the 25 free or 225 you pay for. Bunny's $1 monthly minimum gives it the lowest entry price for very small projects.


How to choose

Hosting alone is rarely the whole job. If the files you upload are in the wrong format or size, a video processing API converts them first; if you need to broadcast live, see live streaming APIs. And if you need to produce the videos before hosting them (personalised clips, narrated videos, social formats), a video editing API renders them from data; none of the hosting providers above offers editing.


Frequently asked questions

What is a video hosting API?

A video hosting API is a web service that lets an application upload, encode, store and deliver videos by API calls. You send a file, and the provider creates versions for every device and gives you a player or an HLS streaming URL. Mux, api.video, Cloudflare Stream, Bunny Stream and Cloudinary are the main options in 2026.

How much does video hosting cost?

On the per-minute services, storage costs $0.003 per minute a month on Mux, $0.00285 on api.video and $0.005 on Cloudflare Stream, and delivery costs $0.001 to $0.0017 per minute watched. Storing 100 five-minute videos and serving them to 1,000 viewers who watch 10 minutes each costs about $1.50 on Mux, $18.43 on api.video and $12.50 to $15 on Cloudflare Stream. Prices checked on 18 October 2026.

Is there a free video hosting API?

Several have free allowances. Mux includes 100,000 delivered minutes a month and a $20 monthly usage credit on pay as you go, Cloudinary has a free plan with 25 credits a month, api.video has a free sandbox for testing (30-second watermarked clips deleted after 24 hours) and Bunny Stream has a 14-day trial. Checked on 18 October 2026.

What is the cheapest video hosting API?

It depends on how much you store and how much people watch. For small audiences Mux is the cheapest in our example because its 100,000 free delivered minutes cover the delivery; for large libraries with many viewers, Bunny Stream and Cloudflare Stream charge low flat rates. Estimate with your own minutes and gigabytes before choosing.

Which video hosting APIs work with AI agents?

Mux and Cloudinary publish official MCP servers that let an AI agent upload and manage assets in your account. We found none for api.video, Bunny Stream or Cloudflare Stream (checked 18 October 2026).

Do I need a hosting API to share generated or edited videos?

Not always. A video editing API such as JSON2Video returns a link to the rendered MP4, which is enough for downloads and simple embeds. You add a hosting API when you need adaptive streaming, a player, analytics or lots of viewers.

More in this section: video APIs: the six types and how to choose, live streaming API, video conferencing API and video processing API.

Published on October 18th, 2026

Author
Joaquim Cardona
Joaquim Cardona Senior Internet business executive with more than 20 years of broad experience in Internet business, media sector, digital marketing, online video and mobile technologies.