✨ Get cost estimate for running a prompt version on a particular project/subset
Authentication
AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:
curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”Path parameters
prompt_id
version_id
Response
Cost estimate response
completion_cost_usd
Cost of the completion (in USD)
error_message
Error message details
error_type
Type of error (e.g. “Timeout”, “Rate Limit”, etc)
is_error
Whether an error occurred or not
prompt_cost_usd
Cost of the prompt (in USD)
total_cost_usd
Total cost of the inference (in USD)