Skip to content

Should I report cost per requested second or cost per delivered second for an API video job?

Label the denominator you use and keep it stable within each comparison. A quoted cost can describe requested work, while delivered runtime is measured from the result.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Record the quote

Save requested output seconds, any separately billable source and the quote's actual units. Keep the job's settled amount independent.

Measure delivery

Read the returned file's real duration and mark usable intervals only if you are calculating cost for accepted footage. A result can be shorter than requested.

Publish two numbers if both matter

Describe their denominators and do not compare unlike measures as one rate.

Pass condition

The cost metric is reproducible from recorded request and result facts.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation