Estimate
POST /estimate takes the same body as POST /jobs and returns what submitting it now would hold. It charges nothing and creates no job.
kind is exact when the price is known from the inputs, or upper_bound when part of it depends on the output; reason then explains the bound. A {url} input is imported first, because the price can depend on its duration.
Holds and charges
- Submit. Blon holds the estimate from your balance. A balance that cannot cover it fails with
402 insufficient_credits. - Finish. A completed job is charged from its measured usage (the job’s
usage). What is left of the hold is released. - Fail or cancel. The hold is released and
chargedis"0".
cost shows this:
A released hold is not a refund and does not appear in
refunded. A job is always charged at the price in effect when it was submitted.
Balance
Over the spend limit, submissions fail with
403 api_key_spend_limit_exceeded.
Usage
Only settled jobs are counted, bucketed by settlement time.
cost is charged net of refunds. Usage is a report, not an invoice.