sdk.credit.estimate()

elements.sdk.api.credit

Estimate credits for computation.

Returns an estimate of the credits required to compute results for the specified algorithm computation. Estimates the full cost, including open orders based on the ending date of the specified TOI.

Parameters

  • algorithm_computation_id (str) - The algorithm computation ID to estimate

Returns

float - Estimated credit cost

Example(s)

# Estimate credits for a computation
estimate = await sdk.credit.estimate(
    algorithm_computation_id="computation-uuid"
)

# Output (float)
1250.50