# What does the API cost?

> Test mode free. Live per second of video.

**Status: beta – usable, still in progress.**

Source: https://flow-marketing.org/en/help/api-pricing · Question: How is the API billed?

In test mode everything is free: up to 25 renders per day, with a watermark.

Live is billed per second of the finished video. You find the current price on the pricing page under “API”. Before every render you ask for it with POST /estimates and set a ceiling with max_price_cents. If no price is set for a service yet, the API answers pricing_not_set.

A video that stays red after the automatic fix is billed. In return you get one free rebuild. If that stays red too, you get the amount back.

Coming soon: top up a balance for the API. Until then the API answers top-ups with payments_not_open.

## See also

- [API pricing](https://flow-marketing.org/en/pricing#api)
- [API errors: balance](https://flow-marketing.org/en/help/api-errors-balance)
