Skip to main content
POST
Estimate Cost

Authentication

This endpoint requires an API key with the check_status scope.

Request Body

model
string
required
The model slug to estimate costs for. Example: "google/veo-3.1-fast/text-to-video"
version
string
Optional model version. If omitted, the latest stable version is used.
input
object
Optional model-specific input parameters. Some models use input parameters (e.g. resolution, duration) for dynamic pricing calculations.

Response

baseCostMicroCents
number
The base cost of the job in micro-cents before any discounts.
estimatedCostMicroCents
number
The final estimated cost in micro-cents after applying any applicable discounts.
breakdown
array
Detailed cost breakdown by component.
hasDiscount
boolean
Whether a discount is applied to this estimate.
discounted
object
Discount details when hasDiscount is true. Contains the discount type and amount.

Examples

Example Response