ClipSDKDOCS
Reference

Pricing, Quotas & Error Codes

Transparent per-second usage pricing with zero monthly subscriptions, automatic volume discounts past 2,000 source minutes per UTC month, a $0 free first video up to 60 minutes, and $0 billing on failed jobs.

Standard Rate
$0.03 / min
First 2,000 source min / UTC month
Volume Rate
$0.02 / min
Automatic past 2,000 source min / UTC month
Concurrency
3 Running Jobs
200 jobs & 20 GB uploads / UTC day
Failed Jobs
$0.00 Billed
Failed jobs & failed clip renders cost $0

Exact Per-Second Billing Formula

A succeeded job bills the higher of its source duration ($0.03 or $0.02/min) or its delivered clip floor ($0.03/min standard, $0.08/min heavy sources), multiplied by 1.5x for quality high.

Billing ComponentRateExact Trigger & Notes
Standard source rate$0.03 / source minFirst 2,000 billed source minutes in a UTC calendar month, billed per second
Volume source rate$0.02 / source minAutomatically applies past 2,000 billed source minutes in a UTC calendar month
Volume delivered-clip floor$0.03 / delivered clip minApplies when total rendered clip duration at $0.03/min exceeds source-minute charge (pricing.reason: "volume_floor")
Heavy source floor$0.08 / delivered clip minSources >1080p, >60fps, >55 Mb/s H.264, or >20 Mb/s other codecs (above_1080p, above_60fps, high_bitrate); HDR alone never triggers heavy pricing
High quality multiplier1.5xApplied when quality: "high" is requested (pricing.quality_multiplier: 1.5)
Free first video$0.00Account's first clips job up to 60 minutes bills $0 (pricing.basis: "free_video")
Failed jobs & renders$0.00Failed jobs and individual clips that fail to render are never charged

Every succeeded job response returns exact usage (source_minutes, clips, output_seconds) and pricing (basis, reason, quality_multiplier) fields so you can audit per-tenant COGS programmatically. Check interactive pricing estimates at clipsdk.com/pricing.

Worked Billing Math Examples

Compare how source-minute pricing, the $0.03 volume clip floor, the $0.08 heavy-source floor, and 1.5x high quality combine across real production workloads.

ScenarioSource ChargeClip FloorFinal Bill (`pricing.basis`)
60-min 1080p podcast -> 5 clips (4m total), standard tier60 x $0.03 = $1.804 x $0.03 = $0.12$1.80 (source_minutes)
60-min 1080p podcast -> 10 clips (8m total), >2,000m/mo tier60 x $0.02 = $1.208 x $0.03 = $0.24$1.20 (source_minutes)
5-min 1080p video -> 10 overlapping clips (8m total)5 x $0.03 = $0.158 x $0.03 = $0.24$0.24 (clip_minutes, volume_floor)
20-min 4K 30fps video -> 5 clips (4m total), heavy source20 x $0.03 = $0.604 x $0.08 = $0.32$0.60 (source_minutes)
10-min 4K 60fps video -> 6 clips (5m total), heavy source10 x $0.03 = $0.305 x $0.08 = $0.40$0.40 (clip_minutes, above_1080p)
30-min 1080p video -> 5 clips (4m total) with quality: "high"30 x $0.03 = $0.904 x $0.03 = $0.12$1.35 ($0.90 x 1.5)
45-min first video on a brand-new account$0.00$0.00$0.00 (free_video)

Account Quotas, File Limits & Retention

ClipSDK enforces 3 concurrent running jobs, 200 jobs per UTC day, and 20 GB of direct uploads per UTC day shared across all API keys on an account.

ResourceLimitNotes
Concurrent running jobs3 per accountShared across all account API keys; exceeding returns 429 RATE_LIMITED + Retry-After
Daily jobs200 per UTC dayApplies across all keys on the account
Daily direct uploads20 GB per UTC dayFor POST /v1/uploads; max 5 GB (5,000,000,000 bytes) per single file
Source duration & clip windowUp to 48h source, first 3h clippedUse first_seconds (60-10800) to scope and bill a shorter prefix
Clips per job1-20 (1-50 paid accounts)Default 5; 402 PAYMENT_REQUIRED if free account requests >20
Clip duration10-90s (10-180s paid accounts)max_seconds must be at least min_seconds + 5
Post-render clip edits20 / clip, 100 / UTC day (paid)Available until 1 hour before files expire (410 CLIP_EXPIRED)
File retention7 daysRendered MP4/JPG/SRT/VTT and uploads at /f/{key}; delete earlier via DELETE /v1/jobs/{id}
Failure circuit protection30 counted failures/hr or max($0.50, 25% of 24h spend)INTERNAL never counts; returns 429 RATE_LIMITED with exact Retry-After seconds

HTTP Status & Error Code Matrix

Every ClipSDK error returns { error: { code, message, request_id } } plus a matching Request-Id header, with Retry-After on 429, 409, and 503 responses.

HTTPError Code(s)Cause & Recovery
400INVALID_REQUEST, INVALID_JSONInvalid schema or malformed JSON; inspect error.issues[{ path, message }]
401UNAUTHORIZEDMissing, malformed, or revoked csdk_live_... Bearer token
402PAYMENT_REQUIREDClip count, clip duration, or /edit requires a paid account; top up at error.billing_url
404NOT_FOUNDUnknown, deleted, expired, or another account's job or file
409IDEMPOTENCY_CONFLICT, JOB_NOT_SUCCEEDED, JOB_NOT_FINISHED, EDIT_IN_PROGRESS, CLIP_LOCKEDSame Idempotency-Key reused with a different body, or target job/edit is still running
410CLIP_EXPIREDJob files expire within the next hour, so clips can no longer be edited
413PAYLOAD_TOO_LARGEJSON body exceeds 2 MB (256 KB on /edit)
429RATE_LIMITEDConcurrency, daily job/upload/edit cap, or failure allowance reached; sleep Retry-After seconds
500INTERNALTransient server error; safe to retry with the same Idempotency-Key
503DB_UNAVAILABLE, UNAVAILABLEBrief state outage; retry after Retry-After seconds

Async Job Failure Codes (job.error.code)

Finished failed jobs return HTTP 200 with status failed, $0 billing, and one of 12 structured job.error.code values distinguishing source issues from retryable faults.

`job.error.code`Retryable?Meaning
INPUT_FETCH_FAILEDCheck URLDirect video URL returned non-2xx, timed out, or was unreachable
LINK_FETCH_FAILEDYes / UploadPlatform video link could not be fetched; retry or upload the file via /v1/uploads
INPUT_UNSUPPORTEDNoFile format or codec is unsupported (use MP4, MOV, WebM, or MKV with audio)
INPUT_TOO_LONG / INPUT_TOO_SHORTNoSource exceeds 48h or is shorter than requested min_seconds
INPUT_TOO_LARGEAdjust paramsExceeds 5 GB or heavy render envelope; message names fitting max_seconds
INPUT_CHANGEDRe-submitSource bytes at video_url changed after initial read
NO_SPEECHNoNo transcribable spoken audio found in the video
INSUFFICIENT_CREDITTop upMax possible job cost exceeds account balance; message names exact estimate
TIMEOUTAdjust windowProcessing exceeded time cap; use first_seconds or fewer clips
JOB_EXPIRED / INTERNALYesExceeded 12h server runtime or internal error (INTERNAL never counts against failure limits)