Estimate Cost
Task Management
Estimate Cost
Get a cost estimate for a job before submitting it.
POST
Estimate Cost
Authentication
This endpoint requires an API key with thecheck_status scope.
Request Body
The model slug to estimate costs for. Example:
"google/veo-3.1-fast/text-to-video"Optional model version. If omitted, the latest stable version is used.
Optional model-specific input parameters. Some models use input parameters (e.g. resolution, duration) for dynamic pricing calculations.
Response
The base cost of the job in micro-cents before any discounts.
The final estimated cost in micro-cents after applying any applicable discounts.
Detailed cost breakdown by component.
Whether a discount is applied to this estimate.
Discount details when
hasDiscount is true. Contains the discount type and amount.