Computes cost estimates using one of two methods:
1. Historical API Price (historical_api_price):
call_quantity (number of API calls) per endpoint2. Unit Price (unit_price):
unit_quantity (number of billing units like images/videos) per endpointAuthentication: Required. Users must provide a valid API key. Custom pricing or discounts may be applied based on account status.
Common Use Cases:
See fal.ai pricing for more details.
API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY
Historical API price estimate: Calculates cost based on historical pricing per API call. Useful for estimating costs based on actual usage patterns.
Cost estimates calculated successfully
Cost estimation response with total cost
The type of estimate that was performed
historical_api_price, unit_price Total estimated cost across all endpoints
x >= 0Three-letter currency code (ISO 4217, e.g., 'USD')
3