Skip to main content
POST
Estimate Cost

Authentication

This endpoint requires an API key with the check_status scope.

Request Body

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

Response

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

Examples

Example Response