Buy credits
Open Billing in the developer console, pick a credit pack and pay with one of the methods shown there. Credits are added to your balance as soon as the payment is confirmed. Larger packs cost less per credit.What a video costs
The price of a task depends on three things:- the model,
- the resolution,
- the duration (for video extend, the number of seconds added).
credits.estimated as soon as the task is created.
Not every model sells every combination of resolution and duration. A combination the model does not offer answers
400 invalid_parameter and costs nothing.How credits move
In v1 the charge of a completed task always equals its estimate.
Check your balance
402:
Low-balance reminder
On the Billing page you can set a threshold. When your spendable balance falls below it, the account’s owners and admins get an email. You get one email each time the balance falls below the threshold: once the balance is back at or above it, the next drop below it sends a new email.Track usage
GET /v1/account/usagereturns one row per UTC day and model with the number of tasks and the credits charged. See Get daily usage.- The console shows the same usage, every credit movement of the account (purchases, holds, charges and releases), and exports usage as CSV.
Daily credit cap
Some plans carry a daily credit cap: the most credits that may be held in one UTC day. A task that would exceed it answers429 daily_cap_exceeded. GET /v1/account shows the cap of your plan as plan.daily_credit_cap (null means no cap).
FAQ
Am I charged for a failed task?
Am I charged for a failed task?
No. The hold of a failed task is released in full, whatever the reason.
Am I charged when I cancel a task?
Am I charged when I cancel a task?
No. Cancelling a
queued or processing task releases its hold at once, and a result that finishes after the cancel is discarded and never charged.Am I charged when a request is rejected?
Am I charged when a request is rejected?
No. Validation errors, URL policy errors,
402, 429 and 503 happen before anything is held.Who do I contact about a payment or an invoice?
Who do I contact about a payment or an invoice?
Email support@fiveapi.ai with your account id (
acct_...).