Skip to content

Cost

CostEstimate dataclass #

CostEstimate(
    estimated_cost: float,
    datapoint_count: int,
    required_responses: int,
)

An approximate estimate of what a job will cost to run to completion.

This is an estimate, not the final bill: it is based on a sample of the job's tasks and scaled to the total number of responses requested, so the amount you are actually charged can differ.

Attributes:

Name Type Description
estimated_cost float

The estimated total cost of running the job to completion.

datapoint_count int

The number of datapoints the job will label.

required_responses int

The total number of responses the job collects to complete.