Skip to content

Does a Replicate job canceled by a deadline count as free if it never delivered a video?

Read whether the prediction was aborted before it ran or canceled after execution started. Replicate documents no charge for the first case and usage charges for actual compute before cancellation in the second case.

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

Apply billing rules by provider and state

Preserve the deadline, status and any execution metrics. Separate provider cost from your own customer's refund policy.

Reconcile on a terminal record

Wait for the known prediction status and match invoice or usage data if needed. Avoid deriving payment solely from whether the output array is empty.

Example

Two deadline events can both yield no MP4. A queued prediction and a started prediction can nevertheless have different provider costs.

Pass condition

Your result shows the actual start or nonstart condition and uses it consistently in cost reconciliation.

Sources

One task. A recoverable workflow.

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

Open API documentation